nrsession

0.0.1 • Public • Published

nrsession

Fetch npm modules and jump into a repl

install

$ [sudo] npm install -g nrsession

usage

$ nrsession [...modules]

example

Start a session with batch and superagent as a NPM dependency.

$ nrsession batch superagent

After bootstrapping you will be put into a session where those modules are available to be loaded.

nr> const Batch = require('batch');
nr> const agent = require('superagent');
nr> const tasks = new Batch();
nr> const resources = [RESOURCE_A, RESOURCE_B, RESOURCE_C];
nr> resources.forEach(resource => task.push(done => agent.get(resource).end(done)));
nr> tasks.end((err, res) => console.log(err, res));

license

MIT

Readme

Keywords

Package Sidebar

Install

npm i nrsession

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • werle