motion
Version:
motion - moving development forward
91 lines (90 loc) • 3.39 kB
JSON
{
"_args": [
[
"graceful-fs@https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.2.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "graceful-fs@>=4.1.2 <5.0.0",
"_id": "graceful-fs@4.1.2",
"_inCache": true,
"_location": "/graceful-fs",
"_phantomChildren": {},
"_requested": {
"name": "graceful-fs",
"raw": "graceful-fs@https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.2.tgz",
"rawSpec": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.2.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.2.tgz",
"type": "remote"
},
"_requiredBy": [
"/enhanced-resolve",
"/fs-extra",
"/fstream",
"/gulp-sourcemaps",
"/load-json-file",
"/path-type",
"/readdirp",
"/vinyl-file",
"/watchpack"
],
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.2.tgz",
"_shasum": "fe2239b7574972e67e41f808823f9bfa4a991e37",
"_shrinkwrap": null,
"_spec": "graceful-fs@https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.2.tgz",
"_where": "/Users/nw/flint/packages/flint",
"bugs": {
"url": "https://github.com/isaacs/node-graceful-fs/issues"
},
"dependencies": {},
"description": "A drop-in replacement for fs, making various improvements.",
"devDependencies": {
"mkdirp": "^0.5.0",
"rimraf": "^2.2.8",
"tap": "^1.2.0"
},
"directories": {
"test": "test"
},
"engines": {
"node": ">=0.4.0"
},
"files": [
"fs.js",
"graceful-fs.js",
"legacy-streams.js",
"polyfills.js"
],
"homepage": "https://github.com/isaacs/node-graceful-fs#readme",
"keywords": [
"EACCESS",
"EAGAIN",
"EINVAL",
"EMFILE",
"EPERM",
"error",
"errors",
"fs",
"handling",
"module",
"queue",
"reading",
"retries",
"retry"
],
"license": "ISC",
"main": "graceful-fs.js",
"name": "graceful-fs",
"optionalDependencies": {},
"readme": "# graceful-fs\n\ngraceful-fs functions as a drop-in replacement for the fs module,\nmaking various improvements.\n\nThe improvements are meant to normalize behavior across different\nplatforms and environments, and to make filesystem access more\nresilient to errors.\n\n## Improvements over [fs module](http://api.nodejs.org/fs.html)\n\ngraceful-fs:\n\n* Queues up `open` and `readdir` calls, and retries them once\n something closes if there is an EMFILE error from too many file\n descriptors.\n* fixes `lchmod` for Node versions prior to 0.6.2.\n* implements `fs.lutimes` if possible. Otherwise it becomes a noop.\n* ignores `EINVAL` and `EPERM` errors in `chown`, `fchown` or\n `lchown` if the user isn't root.\n* makes `lchmod` and `lchown` become noops, if not available.\n* retries reading a file if `read` results in EAGAIN error.\n\nOn Windows, it retries renaming a file for up to one second if `EACCESS`\nor `EPERM` error occurs, likely because antivirus software has locked\nthe directory.\n\n## USAGE\n\n```javascript\n// use just like fs\nvar fs = require('graceful-fs')\n\n// now go and do stuff with it...\nfs.readFileSync('some-file-or-whatever')\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/isaacs/node-graceful-fs.git"
},
"scripts": {
"test": "node test.js | tap -"
},
"version": "4.1.2"
}