generator-try-nodejs
v1.0.4
Published
Yeoman generator to scaffold an ephemeral playground for quickly experimenting Node.js
Maintainers
Readme
Requirements
This generator assumes you have these already setup:
How to Use
Note: The idea behind this generator is to simply open a terminal in any directory, and run
yo try-nodejs. It immediately opens a playground in your favorite editor.
Can't see your favorite editor? Open the configuration file located at
~/.yo-rc.try-nodejs.jsonand edit the editors field.
Install the generator:
npm install -g generator-try-nodejsRun below and answer questions one by one:
yo try-nodejsOr answer everything at once:
yo try-nodejs --projectParentPath ~/try \
--projectName try_nodejs \
--selectedEditorId vscodeHow to Develop
Note: You can reset the config file by running
yo try-nodejs:reset.
Clone and link the project:
git clone https://github.com/webvv/generator-try-nodejs.git
cd generator-try-nodejs
npm install
npm linkYou are now ready to scaffold from your local try-nodejs generator:
yo try-nodejsSupport ♥️
If you like this project and it helped you, please consider supporting me on Patreon.
License
MIT
Credits
Author Sahand Javid · GitHub @webvv · Youtube webvv
