Snippet is a croud-sourced library of code examples (snippets) for anyone to use.
It also wraps an API for easy access to the library via NodeJS.
let snippet = require("snippetjs");
console.log(snippet.getSnippets());
Install Snippet via NPM or Yarn:
npm install @revelmind/snippet
yarn add @revelmind/snippet