{
  "_args": [
    [
      {
        "raw": "stream-events@https://registry.npmjs.org/stream-events/-/stream-events-1.0.2.tgz",
        "scope": null,
        "escapedName": "stream-events",
        "name": "stream-events",
        "rawSpec": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.2.tgz",
        "spec": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.2.tgz",
        "type": "remote"
      },
      "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin"
    ]
  ],
  "_from": "stream-events@>=1.0.1 <2.0.0",
  "_id": "stream-events@1.0.2",
  "_inCache": true,
  "_location": "/firebase-admin/stream-events",
  "_phantomChildren": {},
  "_requested": {
    "raw": "stream-events@https://registry.npmjs.org/stream-events/-/stream-events-1.0.2.tgz",
    "scope": null,
    "escapedName": "stream-events",
    "name": "stream-events",
    "rawSpec": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.2.tgz",
    "spec": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.2.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/firebase-admin",
    "/firebase-admin/@google-cloud/common",
    "/firebase-admin/@google-cloud/storage",
    "/firebase-admin/gcs-resumable-upload"
  ],
  "_resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.2.tgz",
  "_shasum": "abf39f66c0890a4eb795bc8d5e859b2615b590b2",
  "_shrinkwrap": null,
  "_spec": "stream-events@https://registry.npmjs.org/stream-events/-/stream-events-1.0.2.tgz",
  "_where": "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin",
  "author": {
    "name": "Stephen Sawchuk"
  },
  "bugs": {
    "url": "https://github.com/stephenplusplus/stream-events/issues"
  },
  "dependencies": {
    "stubs": "^3.0.0"
  },
  "description": "Get an event when you're being sent data or asked for it.",
  "devDependencies": {
    "duplexify": "^3.2.0"
  },
  "homepage": "https://github.com/stephenplusplus/stream-events",
  "keywords": [
    "stream",
    "events",
    "read",
    "write",
    "duplexify",
    "lazy-stream"
  ],
  "license": "MIT",
  "main": "index.js",
  "name": "stream-events",
  "optionalDependencies": {},
  "readme": "# stream-events\n\n> Get an event when you're being sent data or asked for it.\n\n## About\n\nThis is just a simple thing that tells you when `_read` and `_write` have been called, saving you the trouble of writing this yourself. You receive two events `reading` and `writing`-- no magic is performed.\n\nThis works well with [duplexify](https://github.com/mafintosh/duplexify) or lazy streams, so you can wait until you know you're being used as a stream to do something asynchronous, such as fetching an API token.\n\n\n## Use\n```sh\n$ npm install --save stream-events\n```\n```js\nvar stream = require('stream')\nvar streamEvents = require('stream-events')\nvar util = require('util')\n\nfunction MyStream() {\n  stream.Duplex.call(this)\n  streamEvents.call(this)\n}\nutil.inherits(MyStream, stream.Duplex)\n\nMyStream.prototype._read = function(chunk) {\n  console.log('_read called as usual')\n  this.push(new Buffer(chunk))\n  this.push(null)\n}\n\nMyStream.prototype._write = function() {\n  console.log('_write called as usual')\n}\n\nvar stream = new MyStream\n\nstream.on('reading', function() {\n  console.log('stream is being asked for data')\n})\n\nstream.on('writing', function() {\n  console.log('stream is being sent data')\n})\n\nstream.pipe(stream)\n```\n\n### Using with Duplexify\n```js\nvar duplexify = require('duplexify')\nvar streamEvents = require('stream-events')\nvar fs = require('fs')\n\nvar dup = streamEvents(duplexify())\n\ndup.on('writing', function() {\n  // do something async\n  dup.setWritable(/*writable stream*/)\n})\n\nfs.createReadStream('file').pipe(dup)\n```",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/stephenplusplus/stream-events.git"
  },
  "scripts": {
    "test": "node ./test"
  },
  "version": "1.0.2"
}
