package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "author": {
  3. "name": "Isaac Z. Schlueter",
  4. "email": "i@izs.me",
  5. "url": "http://blog.izs.me/"
  6. },
  7. "name": "fstream-ignore",
  8. "description": "A thing for ignoring files based on globs",
  9. "version": "1.0.2",
  10. "repository": {
  11. "type": "git",
  12. "url": "git://github.com/isaacs/fstream-ignore.git"
  13. },
  14. "main": "ignore.js",
  15. "scripts": {
  16. "test": "tap test/*.js"
  17. },
  18. "dependencies": {
  19. "fstream": "^1.0.0",
  20. "inherits": "2",
  21. "minimatch": "^2.0.1"
  22. },
  23. "devDependencies": {
  24. "tap": "",
  25. "rimraf": "",
  26. "mkdirp": ""
  27. },
  28. "license": "ISC",
  29. "readme": "# fstream-ignore\n\nA fstream DirReader that filters out files that match globs in `.ignore`\nfiles throughout the tree, like how git ignores files based on a\n`.gitignore` file.\n\nHere's an example:\n\n```javascript\nvar Ignore = require(\"fstream-ignore\")\nIgnore({ path: __dirname\n , ignoreFiles: [\".ignore\", \".gitignore\"]\n })\n .on(\"child\", function (c) {\n console.error(c.path.substr(c.root.path.length + 1))\n })\n .pipe(tar.Pack())\n .pipe(fs.createWriteStream(\"foo.tar\"))\n```\n\nThis will tar up the files in __dirname into `foo.tar`, ignoring\nanything matched by the globs in any .iginore or .gitignore file.\n",
  30. "readmeFilename": "README.md",
  31. "bugs": {
  32. "url": "https://github.com/isaacs/fstream-ignore/issues"
  33. },
  34. "homepage": "https://github.com/isaacs/fstream-ignore",
  35. "_id": "fstream-ignore@1.0.2",
  36. "_shasum": "18c891db01b782a74a7bff936a0f24997741c7ab",
  37. "_from": "fstream-ignore@~1.0.1",
  38. "_resolved": "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.2.tgz"
  39. }