Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 726 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 726 Bytes

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.