nodrogelo-snippet

1.3.0 • Public • Published

code-snippet-manager

npm version

A simple command-line Code Snippet Manager in JavaScript using fs-extra and inquirer.

Installation

Install the required packages using npm:

npm install fs-extra inquirer --save

Usage

const snippetManager = require('code-snippet-manager');

// Uncomment and run one of the functions below
// snippetManager.createSnippet();
// snippetManager.listSnippets();

Creating a Snippet

Run the createSnippet function to interactively create a new code snippet. You will be prompted to enter the snippet name and code.

Listing Snippets

Run the listSnippets function to display a list of available code snippets.

Package Sidebar

Install

npm i nodrogelo-snippet

Weekly Downloads

1

Version

1.3.0

License

MIT

Unpacked Size

3.38 kB

Total Files

4

Last publish

Collaborators

  • nodrogelo