UNPKG

motion

Version:

motion - moving development forward

93 lines (92 loc) 4.66 kB
{ "_args": [ [ "glob-stream@https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "glob-stream@>=3.1.5 <4.0.0", "_id": "glob-stream@3.1.18", "_inCache": true, "_location": "/glob-stream", "_phantomChildren": { "core-util-is": "1.0.2", "inflight": "1.0.4", "inherits": "2.0.1", "isarray": "0.0.1", "minimatch": "2.0.10", "once": "1.3.3", "string_decoder": "0.10.31", "xtend": "4.0.1" }, "_requested": { "name": "glob-stream", "raw": "glob-stream@https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz", "rawSpec": "https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz", "scope": null, "spec": "https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz", "type": "remote" }, "_requiredBy": [ "/vinyl-fs" ], "_resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz", "_shasum": "9170a5f12b790306fdfe598f313f8f7954fd143b", "_shrinkwrap": null, "_spec": "glob-stream@https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz", "_where": "/Users/nw/flint/packages/flint", "author": { "email": "contact@wearefractal.com", "name": "Fractal", "url": "http://wearefractal.com/" }, "bugs": { "url": "https://github.com/wearefractal/glob-stream/issues" }, "dependencies": { "glob": "^4.3.1", "glob2base": "^0.0.12", "minimatch": "^2.0.1", "ordered-read-streams": "^0.1.0", "through2": "^0.6.1", "unique-stream": "^1.0.0" }, "description": "File system globs as a stream", "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" }, "engines": { "node": ">= 0.9" }, "files": [ "index.js" ], "homepage": "http://github.com/wearefractal/glob-stream", "licenses": [ { "type": "MIT", "url": "http://github.com/wearefractal/glob-stream/raw/master/LICENSE" } ], "main": "./index.js", "name": "glob-stream", "optionalDependencies": {}, "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", "repository": { "type": "git", "url": "git://github.com/wearefractal/glob-stream.git" }, "scripts": { "coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && istanbul-coveralls", "test": "mocha --reporter spec && jshint" }, "version": "3.1.18" }