-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 3.56 KB
/
package.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "glob-stream",
"description": "File system globs as a stream",
"version": "3.1.18",
"homepage": "http://github.com/wearefractal/glob-stream",
"repository": {
"type": "git",
"url": "git://github.com/wearefractal/glob-stream.git"
},
"author": {
"name": "Fractal",
"email": "contact@wearefractal.com",
"url": "http://wearefractal.com/"
},
"main": "./index.js",
"files": [
"index.js"
],
"dependencies": {
"glob": "^4.3.1",
"minimatch": "^2.0.1",
"ordered-read-streams": "^0.1.0",
"glob2base": "^0.0.12",
"unique-stream": "^1.0.0",
"through2": "^0.6.1"
},
"devDependencies": {
"coveralls": "^2.11.2",
"istanbul": "^0.3.0",
"istanbul-coveralls": "^1.0.1",
"jshint": "^2.5.10",
"mocha": "^2.0.0",
"mocha-lcov-reporter": "0.0.1",
"rimraf": "^2.2.5",
"should": "^4.3.0"
},
"scripts": {
"test": "mocha --reporter spec && jshint",
"coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && istanbul-coveralls"
},
"engines": {
"node": ">= 0.9"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/wearefractal/glob-stream/raw/master/LICENSE"
}
],
"readme": "# glob-stream [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][david-image]][david-url]\n\n\n## Information\n\n<table>\n<tr> \n<td>Package</td><td>glob-stream</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>File system globs as a stream</td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.9</td>\n</tr>\n</table>\n\nThis is a simple wrapper around node-glob to make it streamy.\n\n## Usage\n\n```javascript\nvar gs = require('glob-stream');\n\nvar stream = gs.create(\"./files/**/*.coffee\", {options});\n\nstream.on('data', function(file){\n // file has path, base, and cwd attrs\n});\n```\n\nYou can pass any combination of globs. One caveat is that you can not only pass a glob negation, you must give it at least one positive glob so it knows where to start. All given must match for the file to be returned.\n\n### Options\n\n- cwd\n - Default is `process.cwd()`\n- base\n - Default is everything before a glob starts (see [glob2base](https://github.com/wearefractal/glob2base))\n- cwdbase\n - Default is `false`\n - When true it is the same as saying opt.base = opt.cwd\n\nThis argument is passed directly to [node-glob](https://github.com/isaacs/node-glob) so check there for more options\n\n#### Glob\n\n```javascript\nvar stream = gs.create([\"./**/*.js\", \"!./node_modules/**/*.*\"]);\n```\n\n[npm-url]: https://npmjs.org/package/glob-stream\n[npm-image]: https://badge.fury.io/js/glob-stream.png\n\n[travis-url]: https://travis-ci.org/wearefractal/glob-stream\n[travis-image]: https://travis-ci.org/wearefractal/glob-stream.png?branch=master\n\n[coveralls-url]: https://coveralls.io/r/wearefractal/glob-stream\n[coveralls-image]: https://coveralls.io/repos/wearefractal/glob-stream/badge.png\n\n[depstat-url]: https://david-dm.org/wearefractal/glob-stream\n[depstat-image]: https://david-dm.org/wearefractal/glob-stream.png\n\n[david-url]: https://david-dm.org/wearefractal/glob-stream\n[david-image]: https://david-dm.org/wearefractal/glob-stream.png?theme=shields.io\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/wearefractal/glob-stream/issues"
},
"_id": "glob-stream@3.1.18",
"_shasum": "9170a5f12b790306fdfe598f313f8f7954fd143b",
"_from": "glob-stream@>=3.1.5 <4.0.0",
"_resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz"
}