fast-snippet

1.0.7 • 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.

The new version will be updated....

Package Sidebar

Install

npm i fast-snippet

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

3.54 kB

Total Files

4

Last publish

Collaborators

  • ngocnguyen1s