
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
generate-snapdragon
Advanced tools
Scaffold out a new snapdragon plugin project.
Install with npm:
$ npm install --save generate-snapdragon
Once both generate and generate-snapdragon are installed globally, run the following command to run this generator's default task:
$ gen snapdragon
All tasks beside the default task are run by appending the task name to snapdragon:.
Run the generator's default task to scaffold out a new snapdragon plugin project.
Example
$ gen snapdragon
Generate only the index.js file for a snapdragon plugin. Use --stem to change the file name.
Example
$ gen snapdragon:plugin-only
$ gen snapdragon:plugin-only --stem foo.js
Scaffold out a complete project for a snapdragon compiler plugin.
Example
$ gen snapdragon:compiler
Generate only the index.js file for a compiler plugin. Use --stem to change the file name.
Example
$ gen snapdragon:compiler-only
$ gen snapdragon:compiler-only --stem foo.js
Scaffold out a complete project for a snapdragon parser plugin.
Example
$ gen snapdragon:parser
Generate only the index.js file for a snapdragon parser plugin. Use --stem to change the file name.
Example
$ gen snapdragon:parser-only
$ gen snapdragon:parser-only --stem foo.js
To extend your own generator with the tasks and functionality of generate-snapdragon, inside your generator add the following line of code:
app.use(require('generate-snapdragon'));
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
$ npm install -g verb verb-generate-readme && verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.4.1, on January 20, 2017.
FAQs
Scaffold out a new snapdragon plugin project.
We found that generate-snapdragon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.