{
  "name": "get-stdin",
  "version": "5.0.0",
  "description": "Get stdin as a string or buffer",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git://github.com/sindresorhus/get-stdin"
  },
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "sindresorhus.com"
  },
  "engines": {
    "node": ">=0.12.0"
  },
  "scripts": {
    "test": "xo && ava test.js test-buffer.js && echo unicorns | ava test-real.js"
  },
  "files": [
    "index.js"
  ],
  "keywords": [
    "std",
    "stdin",
    "stdio",
    "concat",
    "buffer",
    "stream",
    "process",
    "read"
  ],
  "devDependencies": {
    "ava": "*",
    "buffer-equals": "^1.0.3",
    "xo": "*"
  },
  "readme": "# get-stdin [![Build Status](https://travis-ci.org/sindresorhus/get-stdin.svg?branch=master)](https://travis-ci.org/sindresorhus/get-stdin)\n\n> Get stdin as a string or buffer\n\n\n## Install\n\n```\n$ npm install --save get-stdin\n```\n\n\n## Usage\n\n```js\n// example.js\nconst stdin = require('get-stdin');\n\nstdin.then(x => {\n\tconsole.log(x);\n\t//=> 'unicorns'\n});\n```\n\n```\n$ echo unicorns | node example.js\nunicorns\n```\n\n\n## API\n\n### stdin()\n\nGet `stdin` as a string.\n\nReturns a promise.\n\n### stdin.buffer()\n\nGet `stdin` as a buffer.\n\nReturns a promise.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "bugs": {
    "url": "https://github.com/sindresorhus/get-stdin/issues"
  },
  "homepage": "https://github.com/sindresorhus/get-stdin",
  "_id": "get-stdin@5.0.0",
  "dist": {
    "shasum": "d79355b0e99f9944cce924c9ea57fdce514ebdac"
  },
  "_from": "get-stdin@*",
  "_resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.0.tgz"
}
