{ "_args": [ [ { "raw": "glob-parent@^2.0.0", "scope": null, "escapedName": "glob-parent", "name": "glob-parent", "rawSpec": "^2.0.0", "spec": ">=2.0.0 <3.0.0", "type": "range" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/glob-base" ] ], "_from": "glob-parent@>=2.0.0 <3.0.0", "_id": "glob-parent@2.0.0", "_inCache": true, "_location": "/glob-parent", "_nodeVersion": "3.0.0", "_npmUser": { "name": "es128", "email": "elan.shanker+npm@gmail.com" }, "_npmVersion": "2.13.3", "_phantomChildren": {}, "_requested": { "raw": "glob-parent@^2.0.0", "scope": null, "escapedName": "glob-parent", "name": "glob-parent", "rawSpec": "^2.0.0", "spec": ">=2.0.0 <3.0.0", "type": "range" }, "_requiredBy": [ "/glob-base" ], "_resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", "_shasum": "81383d72db054fcccf5336daa902f182f6edbb28", "_shrinkwrap": null, "_spec": "glob-parent@^2.0.0", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/glob-base", "author": { "name": "Elan Shanker" }, "bugs": { "url": "https://github.com/es128/glob-parent/issues" }, "dependencies": { "is-glob": "^2.0.0" }, "description": "Strips glob magic from a string to provide the parent path", "devDependencies": { "coveralls": "^2.11.2", "istanbul": "^0.3.5", "mocha": "^2.1.0" }, "directories": {}, "dist": { "shasum": "81383d72db054fcccf5336daa902f182f6edbb28", "tarball": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz" }, "gitHead": "a956910c7ccb5eafd1b3fe900ceb6335cc5b6d3d", "homepage": "https://github.com/es128/glob-parent", "keywords": [ "glob", "parent", "strip", "path", "directory", "base" ], "license": "ISC", "main": "index.js", "maintainers": [ { "name": "es128", "email": "elan.shanker+npm@gmail.com" } ], "name": "glob-parent", "optionalDependencies": {}, "readme": "glob-parent [![Build Status](https://travis-ci.org/es128/glob-parent.svg)](https://travis-ci.org/es128/glob-parent) [![Coverage Status](https://img.shields.io/coveralls/es128/glob-parent.svg)](https://coveralls.io/r/es128/glob-parent?branch=master)\n======\nJavascript module to extract the non-magic parent path from a glob string.\n\n[![NPM](https://nodei.co/npm/glob-parent.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/glob-parent/)\n[![NPM](https://nodei.co/npm-dl/glob-parent.png?height=3&months=9)](https://nodei.co/npm-dl/glob-parent/)\n\nUsage\n-----\n```sh\nnpm install glob-parent --save\n```\n\n```js\nvar globParent = require('glob-parent');\n\nglobParent('path/to/*.js'); // 'path/to'\nglobParent('/root/path/to/*.js'); // '/root/path/to'\nglobParent('/*.js'); // '/'\nglobParent('*.js'); // '.'\nglobParent('**/*.js'); // '.'\nglobParent('path/{to,from}'); // 'path'\nglobParent('path/!(to|from)'); // 'path'\nglobParent('path/?(to|from)'); // 'path'\nglobParent('path/+(to|from)'); // 'path'\nglobParent('path/*(to|from)'); // 'path'\nglobParent('path/@(to|from)'); // 'path'\nglobParent('path/**/*'); // 'path'\n\n// if provided a non-glob path, returns the nearest dir\nglobParent('path/foo/bar.js'); // 'path/foo'\nglobParent('path/foo/'); // 'path/foo'\nglobParent('path/foo'); // 'path' (see issue #3 for details)\n\n```\n\nChange Log\n----------\n[See release notes page on GitHub](https://github.com/es128/glob-parent/releases)\n\nLicense\n-------\n[ISC](https://raw.github.com/es128/glob-parent/master/LICENSE)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/es128/glob-parent.git" }, "scripts": { "test": "istanbul cover _mocha && cat ./coverage/lcov.info | coveralls" }, "version": "2.0.0" }