trymodule
trymodule copied to clipboard
➰ It's never been easier to try nodejs modules!
I get this error when I try to run anything e.g. `trymodule lodash`: ``` Gonna start a REPL with packages installed and loaded for you Couldn't find 'lodash' locally, gonna...
Currently ```trymodule``` contains 41 vulnerabilities (35 moderate, 6 high) due to not updated packages. @victorb please update packages. List of outdated packages with vulnerabilities: **Severity:** Moderate **Type:** _ReDoS_ **Package** brace-expansion...
Trying to install a specific version of a package, I get an error: ``` ❯ try [email protected] Gonna start a REPL with packages installed and loaded for you Couldn't find...
This [prevents](https://github.com/tmpvar/repl.history/pull/11) the following warning: > (node:1234) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
Functions are objects and are valid thenables: > "promise" is an object or function with a then method > whose behavior conforms to this specification. [1] This PR uses [is-promise](https://github.com/then/is-promise)...
This uses the [same approach](https://github.com/borisdiakur/n_/blob/v1.4.4/lib/n_.js#L34-L45) as [n_](https://github.com/borisdiakur/n_) (@borisdiakur++) to ensure that _ can safely be assigned and reassigned without: * a [warning](https://github.com/VictorBjelkholm/trymodule/pull/23): `Expression assignment to _ now disabled.` * resulting...
[email protected] on node 4.2.1. ``` → trymodule lodash=_ Gonna start a REPL with packages installed and loaded for you 'lodash' was already installed since before! Package 'lodash' was loaded and...
Example: ``` → trymodule js-yaml= Gonna start a REPL with packages installed and loaded for you Couldn't find 'js-yaml' locally, gonna download it now [email protected] .trymodule/node_modules/js-yaml ├── [email protected] └── [email protected]...
Hey @VictorBjelkholm. I love this module! It would be cool to be able to run `trymodule .` or `trymodule some/dir` to load a REPL for a given directory, using the...
Currently, this tool always uses `@latest`, but it'd be nice to be able to specify a specific version to try out. It helps when you are trying to identify problems...