repl but you require modules before entering repl
Primarily made this because I'm too lazy to create a new file just to test out a package
Also, not to be confused with ReQL
reql [-h] || [--<variable_name> || -<variable_name>]=<package_name> || <package_name> [--install]
Displays the content of this file and exits
Makes the package available in the repl with variable name as it's own name.
Package name with containing -
on their name is converted to _
since -
is not a proper identifier in JavaScript variables.
Same as <package_name>
but you get to specify your own variable name.
One exception: _
variable name is unavailable and if done the package will be available with it's original name
By default this tool expects the package to already be installed but if you specify this flag then it'll install it for you locally, meaning it follows the same installation path as npm when you install packages locally.
npm install reql -g // can only be installed globally
reql -h
reql -base=base64-url -min=minimist --install lodash