{"id":21536142,"url":"https://github.com/littlstar/nrsession","last_synced_at":"2025-03-17T20:25:42.798Z","repository":{"id":69107744,"uuid":"44062503","full_name":"littlstar/nrsession","owner":"littlstar","description":"Fetch npm modules and jump into a repl","archived":false,"fork":false,"pushed_at":"2015-10-11T18:06:26.000Z","size":105,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-24T07:28:56.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/littlstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-11T17:39:36.000Z","updated_at":"2015-10-11T18:08:32.000Z","dependencies_parsed_at":"2023-03-11T05:09:27.732Z","dependency_job_id":null,"html_url":"https://github.com/littlstar/nrsession","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlstar%2Fnrsession","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlstar%2Fnrsession/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlstar%2Fnrsession/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlstar%2Fnrsession/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/littlstar","download_url":"https://codeload.github.com/littlstar/nrsession/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244104287,"owners_count":20398648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T03:18:14.152Z","updated_at":"2025-03-17T20:25:42.773Z","avatar_url":"https://github.com/littlstar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nrsession\n\nFetch npm modules and jump into a repl\n\n## install\n\n```sh\n$ [sudo] npm install -g nrsession\n```\n\n## usage\n\n```sh\n$ nrsession [...modules]\n```\n\n## example\n\nStart a session with `batch` and `superagent` as a NPM dependency.\n\n```sh\n$ nrsession batch superagent\n```\n\nAfter bootstrapping you will be put into a session where those modules\nare available to be loaded.\n\n```js\nnr\u003e const Batch = require('batch');\nnr\u003e const agent = require('superagent');\nnr\u003e const tasks = new Batch();\nnr\u003e const resources = [RESOURCE_A, RESOURCE_B, RESOURCE_C];\nnr\u003e resources.forEach(resource =\u003e task.push(done =\u003e agent.get(resource).end(done)));\nnr\u003e tasks.end((err, res) =\u003e console.log(err, res));\n```\n\n## license\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittlstar%2Fnrsession","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flittlstar%2Fnrsession","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittlstar%2Fnrsession/lists"}