{
  "_args": [
    [
      "node-pty@https://registry.npmjs.org/node-pty/-/node-pty-0.6.4.tgz",
      "D:\\work\\3\\s"
    ]
  ],
  "_from": "node-pty@0.6.4",
  "_id": "node-pty@0.6.4",
  "_inCache": true,
  "_location": "/node-pty",
  "_phantomChildren": {},
  "_requested": {
    "name": "node-pty",
    "raw": "node-pty@https://registry.npmjs.org/node-pty/-/node-pty-0.6.4.tgz",
    "rawSpec": "https://registry.npmjs.org/node-pty/-/node-pty-0.6.4.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/node-pty/-/node-pty-0.6.4.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/node-pty/-/node-pty-0.6.4.tgz",
  "_shasum": "8d90c8bfa18514a3d600e528c87bdd932f10bc57",
  "_shrinkwrap": null,
  "_spec": "node-pty@https://registry.npmjs.org/node-pty/-/node-pty-0.6.4.tgz",
  "_where": "D:\\work\\3\\s",
  "author": {
    "name": "Daniel Imms"
  },
  "bugs": {
    "url": "https://github.com/Tyriar/node-pty/issues"
  },
  "dependencies": {
    "nan": "2.5.0"
  },
  "description": "Fork pseudoterminals in Node.JS",
  "devDependencies": {
    "@types/node": "^6.0.58",
    "cross-env": "^3.1.3",
    "mocha": "^3.1.2",
    "tslint": "^4.3.1",
    "typescript": "^2.1.4"
  },
  "files": [
    "binding.gyp",
    "lib/",
    "scripts/",
    "src/",
    "deps/"
  ],
  "homepage": "https://github.com/Tyriar/node-pty",
  "keywords": [
    "pty",
    "tty",
    "terminal",
    "pseudoterminal",
    "forkpty",
    "openpty"
  ],
  "license": "MIT",
  "main": "./lib/index.js",
  "name": "node-pty",
  "optionalDependencies": {},
  "readme": "# node-pty\n\n[![Build Status](https://travis-ci.org/Tyriar/node-pty.svg?branch=master)](https://travis-ci.org/Tyriar/node-pty)\n\n`forkpty(3)` bindings for node.js. This allows you to fork processes with pseudoterminal file descriptors. It returns a terminal object which allows reads and writes.\n\nThis is useful for:\n\n- Writing a terminal emulator (eg. via [xterm.js](https://github.com/sourcelair/xterm.js)).\n- Getting certain programs to *think* you're a terminal, such as when you need a program to send you control sequences.\n\n`node-pty` supports Linux, macOS and Windows. Windows support is possible by utilizing the [winpty](https://github.com/rprichard/winpty) library.\n\n## Example Usage\n\n```js\nvar os = require('os');\nvar pty = require('node-pty');\n\nvar shell = os.platform() === 'win32' ? 'powershell.exe' : 'bash';\n\nvar ptyProcess = pty.spawn(shell, [], {\n  name: 'xterm-color',\n  cols: 80,\n  rows: 30,\n  cwd: process.env.HOME,\n  env: process.env\n});\n\nptyProcess.on('data', function(data) {\n  console.log(data);\n});\n\nptyProcess.write('ls\\r');\nptyProcess.resize(100, 40);\nptyProcess.write('ls\\r');\n```\n\n## Building\n\n```bash\n# Install dependencies and build C++\nnpm install\n# Compile TypeScript -> JavaScript\nnpm run tsc\n```\n\n## Debugging\n\nOn Windows, you can show the winpty agent console window by adding the environment variable `WINPTY_SHOW_CONSOLE=1` to the pty's environment. See https://github.com/rprichard/winpty#debugging-winpty for more information.\n\n## Troubleshooting\n\n**Powershell gives error 8009001d**\n\n> Internal Windows PowerShell error.  Loading managed Windows PowerShell failed with error 8009001d.\n\nThis happens when PowerShell is launched with no `SystemRoot` environment variable present.\n\n## pty.js\n\nThis project is forked from [chjj/pty.js](https://github.com/chjj/pty.js) with the primary goals being to provide better support for later Node.JS versions and Windows.\n\n## License\n\nCopyright (c) 2012-2015, Christopher Jeffrey (MIT License).<br>\nCopyright (c) 2016, Daniel Imms (MIT License).\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/Tyriar/node-pty.git"
  },
  "scripts": {
    "install": "node scripts/install.js",
    "postinstall": "node scripts/post-install.js",
    "test": "cross-env NODE_ENV=test mocha -R spec test",
    "tsc": "tsc",
    "tslint": "tslint src/**/*.ts"
  },
  "version": "0.6.4"
}
