motion
Version:
motion - moving development forward
74 lines (73 loc) • 3.76 kB
JSON
{
"_args": [
[
"findup-sync@https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "findup-sync@>=0.3.0 <0.4.0",
"_id": "findup-sync@0.3.0",
"_inCache": true,
"_location": "/findup-sync",
"_phantomChildren": {},
"_requested": {
"name": "findup-sync",
"raw": "findup-sync@https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz",
"rawSpec": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/liftoff"
],
"_resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz",
"_shasum": "37930aa5d816b777c03445e1966cc6790a4c0b16",
"_shrinkwrap": null,
"_spec": "findup-sync@https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"name": "\"Cowboy\" Ben Alman",
"url": "http://benalman.com/"
},
"bugs": {
"url": "https://github.com/cowboy/node-findup-sync/issues"
},
"dependencies": {
"glob": "~5.0.0"
},
"description": "Find the first file matching a given pattern in the current directory or the nearest ancestor directory.",
"devDependencies": {
"grunt": "~0.4.4",
"grunt-contrib-jshint": "~0.9.2",
"grunt-contrib-nodeunit": "~0.3.3"
},
"engines": {
"node": ">= 0.6.0"
},
"homepage": "https://github.com/cowboy/node-findup-sync",
"keywords": [
"file",
"find",
"glob"
],
"licenses": [
{
"type": "MIT",
"url": "https://github.com/cowboy/node-findup-sync/blob/master/LICENSE-MIT"
}
],
"main": "lib/findup-sync",
"name": "findup-sync",
"optionalDependencies": {},
"readme": "# findup-sync [](http://travis-ci.org/cowboy/node-findup-sync)\n\nFind the first file matching a given pattern in the current directory or the nearest ancestor directory.\n\n## Getting Started\nInstall the module with: `npm install findup-sync`\n\n```js\nvar findup = require('findup-sync');\n\n// Start looking in the CWD.\nvar filepath1 = findup('{a,b}*.txt');\n\n// Start looking somewhere else, and ignore case (probably a good idea).\nvar filepath2 = findup('{a,b}*.txt', {cwd: '/some/path', nocase: true});\n```\n\n## Usage\n\n```js\nfindup(patternOrPatterns [, minimatchOptions])\n```\n\n### patternOrPatterns\nType: `String` or `Array` \nDefault: none\n\nOne or more wildcard glob patterns. Or just filenames.\n\n### minimatchOptions\nType: `Object` \nDefault: `{}`\n\nOptions to be passed to [minimatch](https://github.com/isaacs/minimatch).\n\nNote that if you want to start in a different directory than the current working directory, specify a `cwd` property here.\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n2015-09-14 0 v0.3.0 - updated glob to ~5.0.\n2014-12-17 - v0.2.1 - updated to glob ~4.3. \n2014-12-16 - v0.2.0 - Removed lodash, updated to glob 4.x. \n2014-03-14 - v0.1.3 - Updated dependencies. \n2013-03-08 - v0.1.2 - Updated dependencies. Fixed a Node 0.9.x bug. Updated unit tests to work cross-platform. \n2012-11-15 - v0.1.1 - Now works without an options object. \n2012-11-01 - v0.1.0 - Initial release.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/cowboy/node-findup-sync.git"
},
"scripts": {
"test": "grunt nodeunit"
},
"version": "0.3.0"
}