node/deps/npm/node_modules/tar/package.json

39 lines
2.0 KiB
JSON
Raw Normal View History

{
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"name": "tar",
"description": "tar for node",
2014-08-19 23:17:36 +08:00
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-tar.git"
},
"main": "tar.js",
"scripts": {
2012-01-17 07:06:16 +08:00
"test": "tap test/*.js"
},
"dependencies": {
"block-stream": "*",
2014-08-19 23:17:36 +08:00
"fstream": "^1.0.0",
2014-08-01 00:05:30 +08:00
"inherits": "2"
},
"devDependencies": {
"tap": "0.x",
"rimraf": "1.x"
},
2012-12-13 06:41:28 +08:00
"license": "BSD",
2014-08-01 00:05:30 +08:00
"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\nThis only works with directories, it does not work with individual files.\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",
2012-12-13 06:41:28 +08:00
"readmeFilename": "README.md",
2014-08-19 23:17:36 +08:00
"gitHead": "49979621a55c73c3f668d8e01830eba1ea9df862",
2013-07-25 04:23:44 +08:00
"bugs": {
"url": "https://github.com/isaacs/node-tar/issues"
2013-03-29 02:35:12 +08:00
},
2013-12-12 02:20:26 +08:00
"homepage": "https://github.com/isaacs/node-tar",
2014-08-19 23:17:36 +08:00
"_id": "tar@1.0.0",
"_shasum": "36636d76e8ae12b4bc11a940ac606b5ca8a5fe1f",
"_from": "tar@latest"
}