package.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "fstream@^1.0.0",
  6. "scope": null,
  7. "escapedName": "fstream",
  8. "name": "fstream",
  9. "rawSpec": "^1.0.0",
  10. "spec": ">=1.0.0 <2.0.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/node-gyp"
  14. ]
  15. ],
  16. "_from": "fstream@>=1.0.0 <2.0.0",
  17. "_id": "fstream@1.0.11",
  18. "_inCache": true,
  19. "_location": "/fstream",
  20. "_nodeVersion": "7.7.1",
  21. "_npmOperationalInternal": {
  22. "host": "packages-18-east.internal.npmjs.com",
  23. "tmp": "tmp/fstream-1.0.11.tgz_1488923219641_0.18055859790183604"
  24. },
  25. "_npmUser": {
  26. "name": "zkat",
  27. "email": "kat@sykosomatic.org"
  28. },
  29. "_npmVersion": "4.1.2",
  30. "_phantomChildren": {},
  31. "_requested": {
  32. "raw": "fstream@^1.0.0",
  33. "scope": null,
  34. "escapedName": "fstream",
  35. "name": "fstream",
  36. "rawSpec": "^1.0.0",
  37. "spec": ">=1.0.0 <2.0.0",
  38. "type": "range"
  39. },
  40. "_requiredBy": [
  41. "/node-gyp",
  42. "/tar"
  43. ],
  44. "_resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz",
  45. "_shasum": "5c1fb1f117477114f0632a0eb4b71b3cb0fd3171",
  46. "_shrinkwrap": null,
  47. "_spec": "fstream@^1.0.0",
  48. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/node-gyp",
  49. "author": {
  50. "name": "Isaac Z. Schlueter",
  51. "email": "i@izs.me",
  52. "url": "http://blog.izs.me/"
  53. },
  54. "bugs": {
  55. "url": "https://github.com/npm/fstream/issues"
  56. },
  57. "dependencies": {
  58. "graceful-fs": "^4.1.2",
  59. "inherits": "~2.0.0",
  60. "mkdirp": ">=0.5 0",
  61. "rimraf": "2"
  62. },
  63. "description": "Advanced file system stream things",
  64. "devDependencies": {
  65. "standard": "^4.0.0",
  66. "tap": "^1.2.0"
  67. },
  68. "directories": {},
  69. "dist": {
  70. "shasum": "5c1fb1f117477114f0632a0eb4b71b3cb0fd3171",
  71. "tarball": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz"
  72. },
  73. "engines": {
  74. "node": ">=0.6"
  75. },
  76. "gitHead": "1e4527ffe8688d4f5325283d7cf2cf2d61f14c6b",
  77. "homepage": "https://github.com/npm/fstream#readme",
  78. "license": "ISC",
  79. "main": "fstream.js",
  80. "maintainers": [
  81. {
  82. "name": "iarna",
  83. "email": "me@re-becca.org"
  84. },
  85. {
  86. "name": "isaacs",
  87. "email": "isaacs@npmjs.com"
  88. },
  89. {
  90. "name": "othiym23",
  91. "email": "ogd@aoaioxxysz.net"
  92. },
  93. {
  94. "name": "zkat",
  95. "email": "kat@sykosomatic.org"
  96. }
  97. ],
  98. "name": "fstream",
  99. "optionalDependencies": {},
  100. "readme": "Like FS streams, but with stat on them, and supporting directories and\nsymbolic links, as well as normal files. Also, you can use this to set\nthe stats on a file, even if you don't change its contents, or to create\na symlink, etc.\n\nSo, for example, you can \"write\" a directory, and it'll call `mkdir`. You\ncan specify a uid and gid, and it'll call `chown`. You can specify a\n`mtime` and `atime`, and it'll call `utimes`. You can call it a symlink\nand provide a `linkpath` and it'll call `symlink`.\n\nNote that it won't automatically resolve symbolic links. So, if you\ncall `fstream.Reader('/some/symlink')` then you'll get an object\nthat stats and then ends immediately (since it has no data). To follow\nsymbolic links, do this: `fstream.Reader({path:'/some/symlink', follow:\ntrue })`.\n\nThere are various checks to make sure that the bytes emitted are the\nsame as the intended size, if the size is set.\n\n## Examples\n\n```javascript\nfstream\n .Writer({ path: \"path/to/file\"\n , mode: 0755\n , size: 6\n })\n .write(\"hello\\n\")\n .end()\n```\n\nThis will create the directories if they're missing, and then write\n`hello\\n` into the file, chmod it to 0755, and assert that 6 bytes have\nbeen written when it's done.\n\n```javascript\nfstream\n .Writer({ path: \"path/to/file\"\n , mode: 0755\n , size: 6\n , flags: \"a\"\n })\n .write(\"hello\\n\")\n .end()\n```\n\nYou can pass flags in, if you want to append to a file.\n\n```javascript\nfstream\n .Writer({ path: \"path/to/symlink\"\n , linkpath: \"./file\"\n , SymbolicLink: true\n , mode: \"0755\" // octal strings supported\n })\n .end()\n```\n\nIf isSymbolicLink is a function, it'll be called, and if it returns\ntrue, then it'll treat it as a symlink. If it's not a function, then\nany truish value will make a symlink, or you can set `type:\n'SymbolicLink'`, which does the same thing.\n\nNote that the linkpath is relative to the symbolic link location, not\nthe parent dir or cwd.\n\n```javascript\nfstream\n .Reader(\"path/to/dir\")\n .pipe(fstream.Writer(\"path/to/other/dir\"))\n```\n\nThis will do like `cp -Rp path/to/dir path/to/other/dir`. If the other\ndir exists and isn't a directory, then it'll emit an error. It'll also\nset the uid, gid, mode, etc. to be identical. In this way, it's more\nlike `rsync -a` than simply a copy.\n",
  101. "readmeFilename": "README.md",
  102. "repository": {
  103. "type": "git",
  104. "url": "git+https://github.com/npm/fstream.git"
  105. },
  106. "scripts": {
  107. "test": "standard && tap examples/*.js"
  108. },
  109. "version": "1.0.11"
  110. }