package.json
3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"_args": [
[
{
"raw": "tar@^2.0.0",
"scope": null,
"escapedName": "tar",
"name": "tar",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/Users/fzy/project/koa2_Sequelize_project/node_modules/node-gyp"
]
],
"_from": "tar@>=2.0.0 <3.0.0",
"_id": "tar@2.2.1",
"_inCache": true,
"_location": "/tar",
"_nodeVersion": "2.2.2",
"_npmUser": {
"name": "zkat",
"email": "kat@sykosomatic.org"
},
"_npmVersion": "2.14.3",
"_phantomChildren": {},
"_requested": {
"raw": "tar@^2.0.0",
"scope": null,
"escapedName": "tar",
"name": "tar",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/node-gyp"
],
"_resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
"_shasum": "8e4d2a256c0e2185c6b18ad694aec968b83cb1d1",
"_shrinkwrap": null,
"_spec": "tar@^2.0.0",
"_where": "/Users/fzy/project/koa2_Sequelize_project/node_modules/node-gyp",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"bugs": {
"url": "https://github.com/isaacs/node-tar/issues"
},
"dependencies": {
"block-stream": "*",
"fstream": "^1.0.2",
"inherits": "2"
},
"description": "tar for node",
"devDependencies": {
"graceful-fs": "^4.1.2",
"mkdirp": "^0.5.0",
"rimraf": "1.x",
"tap": "0.x"
},
"directories": {},
"dist": {
"shasum": "8e4d2a256c0e2185c6b18ad694aec968b83cb1d1",
"tarball": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz"
},
"gitHead": "52237e39d2eb68d22a32d9a98f1d762189fe6a3d",
"homepage": "https://github.com/isaacs/node-tar#readme",
"license": "ISC",
"main": "tar.js",
"maintainers": [
{
"name": "isaacs",
"email": "isaacs@npmjs.com"
},
{
"name": "othiym23",
"email": "ogd@aoaioxxysz.net"
},
{
"name": "soldair",
"email": "soldair@gmail.com"
},
{
"name": "zkat",
"email": "kat@sykosomatic.org"
}
],
"name": "tar",
"optionalDependencies": {},
"readme": "# node-tar\n\nTar for Node.js.\n\n[](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'. If the `fromBase` property is set to true,\nthe tar will contain files relative to the path passed, and not with\nthe path included.\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",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-tar.git"
},
"scripts": {
"test": "tap test/*.js"
},
"version": "2.2.1"
}