whalepiz-snippet-kd

2.0.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.

The new version will be updated....

Package Sidebar

Install

npm i whalepiz-snippet-kd

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

3.28 kB

Total Files

3

Last publish

Collaborators

  • whalepiz