Skip to content

Javascipt/n0de

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

n0de

A simple and easy way to run node with already required modules, usually used for manual testing.

How to installed ?

$ [sudo] npm install -g n0de

How does it work ?

$ n0de lo:lodash
> typeof lo
'function'
>

The module need to be installed otherwise you need to run the cmd with -i option

$ n0de -i :lodash

You can load multiple modules

$ n0de lo:lodash req:request chalk:chalk

You can use module name as the variable name

$ n0de :lodash
> typeof lodash
'function'
>

You can run a file with already required modules

$ n0de :lodash file.js

PS : The underscore for lodash doesn't work, feel free to contribute if you can fix it.

About

Run node with pre-required modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published