npm: Upgrade to 1.3.17
[platform/upstream/nodejs.git] / deps / npm / node_modules / tar / package.json
1 {
2   "author": {
3     "name": "Isaac Z. Schlueter",
4     "email": "i@izs.me",
5     "url": "http://blog.izs.me/"
6   },
7   "name": "tar",
8   "description": "tar for node",
9   "version": "0.1.19",
10   "repository": {
11     "type": "git",
12     "url": "git://github.com/isaacs/node-tar.git"
13   },
14   "main": "tar.js",
15   "scripts": {
16     "test": "tap test/*.js"
17   },
18   "dependencies": {
19     "inherits": "2",
20     "block-stream": "*",
21     "fstream": "~0.1.8"
22   },
23   "devDependencies": {
24     "tap": "0.x",
25     "rimraf": "1.x"
26   },
27   "license": "BSD",
28   "readme": "# node-tar\n\nTar for Node.js.\n\n[![NPM](https://nodei.co/npm/tar.png)](https://nodei.co/npm/tar/)\n\n## API\n\nSee `examples/` for usage examples.\n\n### var tar = require('tar')\n\nReturns an object with `.Pack`, `.Extract` and `.Parse` methods.\n\n### tar.Pack([properties])\n\nReturns a through stream. Use\n[fstream](https://npmjs.org/package/fstream) to write files into the\npack stream and you will receive tar archive data from the pack\nstream.\n\nThe optional `properties` object are used to set properties in the tar\n'Global Extended Header'.\n\n### tar.Extract([options])\n\nReturns a through stream. Write tar data to the stream and the files\nin the tarball will be extracted onto the filesystem.\n\n`options` can be:\n\n```js\n{\n  path: '/path/to/extract/tar/into',\n  strip: 0, // how many path segments to strip from the root when extracting\n}\n```\n\n`options` also get passed to the `fstream.Writer` instance that `tar`\nuses internally.\n\n### tar.Parse()\n\nReturns a writable stream. Write tar data to it and it will emit\n`entry` events for each entry parsed from the tarball. This is used by\n`tar.Extract`.\n",
29   "readmeFilename": "README.md",
30   "bugs": {
31     "url": "https://github.com/isaacs/node-tar/issues"
32   },
33   "homepage": "https://github.com/isaacs/node-tar",
34   "_id": "tar@0.1.19",
35   "dist": {
36     "shasum": "fe45941799e660ce1ea52d875d37481b4bf13eac"
37   },
38   "_from": "tar@0.1.19",
39   "_resolved": "https://registry.npmjs.org/tar/-/tar-0.1.19.tgz"
40 }