Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nswbmw/repl2

Load third-party modules into REPL from `.noderc`.
https://github.com/nswbmw/repl2

Last synced: about 2 months ago
JSON representation

Load third-party modules into REPL from `.noderc`.

Awesome Lists containing this project

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