Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nswbmw/repl2
Load third-party modules into REPL from `.noderc`.
https://github.com/nswbmw/repl2
Last synced: 3 months ago
JSON representation
Load third-party modules into REPL from `.noderc`.
- Host: GitHub
- URL: https://github.com/nswbmw/repl2
- Owner: nswbmw
- Created: 2015-10-29T08:59:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-12-28T12:17:56.000Z (almost 3 years ago)
- Last Synced: 2024-07-03T20:38:30.551Z (4 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - repl2 - party modules into REPL from `.noderc`. | nswbmw | 11 | (JavaScript)
README
## repl2
Load third-party modules into REPL from `~/.noderc`.
### Install
```sh
$ npm i repl2 -g
```### Usage
Step 1:
```sh
$ vim ~/.noderc
``````json
{
"lodash": "__",
"moment": "moment",
"validator": "validator"
}
```Step 2:
```sh
$ npm i lodash moment validator -g
```Step 3:
```sh
$ noder
> moment()
> validator.isEmail('xxx')
```### License
MIT