UNPKG

motion

Version:

motion - moving development forward

63 lines (62 loc) 2.76 kB
{ "_args": [ [ "tar@https://registry.npmjs.org/tar/-/tar-1.0.0.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "tar@1.0.0", "_id": "tar@1.0.0", "_inCache": true, "_location": "/tar", "_phantomChildren": {}, "_requested": { "name": "tar", "raw": "tar@https://registry.npmjs.org/tar/-/tar-1.0.0.tgz", "rawSpec": "https://registry.npmjs.org/tar/-/tar-1.0.0.tgz", "scope": null, "spec": "https://registry.npmjs.org/tar/-/tar-1.0.0.tgz", "type": "remote" }, "_requiredBy": [ "/surge" ], "_resolved": "https://registry.npmjs.org/tar/-/tar-1.0.0.tgz", "_shasum": "36636d76e8ae12b4bc11a940ac606b5ca8a5fe1f", "_shrinkwrap": null, "_spec": "tar@https://registry.npmjs.org/tar/-/tar-1.0.0.tgz", "_where": "/Users/nw/flint/packages/flint", "author": { "email": "i@izs.me", "name": "Isaac Z. Schlueter", "url": "http://blog.izs.me/" }, "bugs": { "url": "https://github.com/isaacs/node-tar/issues" }, "dependencies": { "block-stream": "*", "fstream": "^1.0.0", "inherits": "2" }, "description": "tar for node", "devDependencies": { "rimraf": "1.x", "tap": "0.x" }, "homepage": "https://github.com/isaacs/node-tar#readme", "license": "BSD", "main": "tar.js", "name": "tar", "optionalDependencies": {}, "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", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/isaacs/node-tar.git" }, "scripts": { "test": "tap test/*.js" }, "version": "1.0.0" }