package.json 3.54 KB
{
  "_args": [
    [
      {
        "raw": "resumer@~0.0.0",
        "scope": null,
        "escapedName": "resumer",
        "name": "resumer",
        "rawSpec": "~0.0.0",
        "spec": ">=0.0.0 <0.1.0",
        "type": "range"
      },
      "/root/junhukang/node_modules/tape"
    ]
  ],
  "_from": "resumer@>=0.0.0 <0.1.0",
  "_id": "resumer@0.0.0",
  "_inCache": true,
  "_installable": true,
  "_location": "/resumer",
  "_npmUser": {
    "name": "substack",
    "email": "mail@substack.net"
  },
  "_npmVersion": "1.2.2",
  "_phantomChildren": {},
  "_requested": {
    "raw": "resumer@~0.0.0",
    "scope": null,
    "escapedName": "resumer",
    "name": "resumer",
    "rawSpec": "~0.0.0",
    "spec": ">=0.0.0 <0.1.0",
    "type": "range"
  },
  "_requiredBy": [
    "/tape"
  ],
  "_resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
  "_shasum": "f1e8f461e4064ba39e82af3cdc2a8c893d076759",
  "_shrinkwrap": null,
  "_spec": "resumer@~0.0.0",
  "_where": "/root/junhukang/node_modules/tape",
  "author": {
    "name": "James Halliday",
    "email": "mail@substack.net",
    "url": "http://substack.net"
  },
  "bugs": {
    "url": "https://github.com/substack/resumer/issues"
  },
  "dependencies": {
    "through": "~2.3.4"
  },
  "description": "a through stream that starts paused and resumes on the next tick",
  "devDependencies": {
    "concat-stream": "~0.1.1",
    "tap": "~0.4.0",
    "tape": "~1.0.2"
  },
  "directories": {},
  "dist": {
    "shasum": "f1e8f461e4064ba39e82af3cdc2a8c893d076759",
    "tarball": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz"
  },
  "homepage": "https://github.com/substack/resumer",
  "keywords": [
    "through",
    "stream",
    "pause",
    "resume"
  ],
  "license": "MIT",
  "main": "index.js",
  "maintainers": [
    {
      "name": "substack",
      "email": "mail@substack.net"
    }
  ],
  "name": "resumer",
  "optionalDependencies": {},
  "readme": "# resumer\n\nReturn a through stream that starts out paused and resumes on the next tick,\nunless somebody called `.pause()`.\n\nThis module has the same signature as\n[through](https://npmjs.com/package/through).\n\n[![browser support](https://ci.testling.com/substack/resumer.png)](http://ci.testling.com/substack/resumer)\n\n[![build status](https://secure.travis-ci.org/substack/resumer.png)](http://travis-ci.org/substack/resumer)\n\n# example\n\n``` js\nvar resumer = require('resumer');\nvar s = createStream();\ns.pipe(process.stdout);\n\nfunction createStream () {\n    var stream = resumer();\n    stream.queue('beep boop\\n');\n    return stream;\n}\n```\n\n```\n$ node example/resume.js\nbeep boop\n```\n\n# methods\n\n``` js\nvar resumer = require('resumer')\n```\n\n## resumer(write, end)\n\nReturn a new through stream from `write` and `end`, which default to\npass-through `.queue()` functions if not specified.\n\nThe stream starts out paused and will be resumed on the next tick unless you\ncall `.pause()` first.\n\n`write` and `end` get passed directly through to\n[through](https://npmjs.com/package/through).\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install resumer\n```\n\n# license\n\nMIT\n",
  "readmeFilename": "readme.markdown",
  "repository": {
    "type": "git",
    "url": "git://github.com/substack/resumer.git"
  },
  "scripts": {
    "test": "tap test/*.js"
  },
  "testling": {
    "files": "test/*.js",
    "browsers": [
      "ie/6..latest",
      "chrome/20..latest",
      "firefox/10..latest",
      "safari/latest",
      "opera/11.0..latest",
      "iphone/6",
      "ipad/6"
    ]
  },
  "version": "0.0.0"
}