summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json
blob: fe8b93d33cad525aa4dd5ee797236872fa7327a0 (plain)
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
{
  "author": {
    "name": "Isaac Z. Schlueter",
    "email": "i@izs.me",
    "url": "http://blog.izs.me/"
  },
  "name": "fstream-ignore",
  "description": "A thing for ignoring files based on globs",
  "version": "0.0.6",
  "repository": {
    "type": "git",
    "url": "git://github.com/isaacs/fstream-ignore.git"
  },
  "main": "ignore.js",
  "scripts": {
    "test": "tap test/*.js"
  },
  "dependencies": {
    "minimatch": "~0.2.0",
    "fstream": "~0.1.17",
    "inherits": "~1.0.0"
  },
  "devDependencies": {
    "tap": "",
    "rimraf": "",
    "mkdirp": ""
  },
  "license": "BSD",
  "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",
  "readmeFilename": "README.md",
  "_id": "fstream-ignore@0.0.6",
  "_from": "fstream-ignore@~0.0.5"
}