{"name":"glob2base","description":"Extracts a base path from a node-glob instance","version":"0.0.12","homepage":"http://github.com/wearefractal/glob2base","repository":{"type":"git","url":"git://github.com/wearefractal/glob2base.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","files":["index.js","lib"],"dependencies":{"find-index":"^0.1.1"},"devDependencies":{"coveralls":"^2.6.1","istanbul":"^0.3.2","jshint":"^2.4.1","jshint-stylish":"^1.0.0","mocha":"^2.0.0","mocha-lcov-reporter":"^0.0.1","glob":"^4.0.0","should":"^4.0.0"},"scripts":{"lint":"jshint index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules","test":"npm run-script lint && mocha --reporter spec","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"engines":{"node":">= 0.10"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/glob2base/raw/master/LICENSE"}],"gitHead":"d3fadacea415f4676fd431c90cd2205a2f1e6b26","bugs":{"url":"https://github.com/wearefractal/glob2base/issues"},"_id":"glob2base@0.0.12","_shasum":"9d419b3e28f12e83a362164a277055922c9c0d56","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"dist":{"shasum":"9d419b3e28f12e83a362164a277055922c9c0d56","tarball":"http://registry-npm.ywwl.com/glob2base/download/glob2base-0.0.12.tgz","npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2sZ4CRA9TVsSAnZWagAAyoQQAJlfzit1qrs4ZkI1ldgt\nfGe5l/+avpvYaifBKqjTmaytilc1LLuImzUIPMDIWbUi6s+OrZdy8ib0FtJ8\nfuV8S1v+3HBi9+XMlOXSDWiYUM95WrtlwszUcNAxvKgh6FLmz66caQ+CuZIH\n/XlFrMZbXoUtfKPg2orH3RVkDu1b30hVAkFoI91uUWtE/CB2s/8FXdaZP7KV\nbkfaczabJGofVueo1BqizldDXsUhNBOOa+ZKAWvDnFigtl7j26XI5o7CrghK\nrrpHc109B7dUJtLfdHuXKvUkEhiVllh51hXbE2BK7zbTOiy+0FyOe4/hZLiw\ng7r+oK6iy3nmzvHCOhSF2cYITtfPyeHzHznvuhEeA9YzLfCzPXAn60zgdRHS\nX8GEjTvWexVjzzXa/U4NqMcWkJ2FCEeYiP9yyL6WFDlyG7g5vHJwhf/AG5W0\nNuN2RPaoBEvTO+Efc9knH0bO07YBtjTqTH9nozF5M/Uq+lC6N+RTBeF9YEzg\nd3ZU947hInluLLqLUQQwzjgd1n6WvRaSFZwPOapn4hcwY00CYiN5430TDki5\nZyBlL9oz0phRJYtdgAgFEA3xB8sXWxpZ+RRaRzrc9iDFWziZfchlJobRMs+k\nPOVyVna3IHeLeNFw48DcB+nEoQ1TwIsdp3GUht5ZZuwSaRimGdHBtW2ZZY9s\nTArW\r\n=cheU\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-ZyqlgowMbfj2NPjxaZZ/EtsXlOch28FRXgMd64vqZWk1bT9+wvSRLYD1om9M7QfQru51zJPAT17qXm4/zd+9QA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGammWkiXGbxPPZF2lxeNb94hevOlrQ7i1dzp1DLRgw0AiBPDrgm3iLAtf4tyRv9ukHpoTHpS6YkPnx/Z4ZN5eOMgQ=="}],"size":2366,"noattachment":false,"key":"/glob2base/-/glob2base-0.0.12.tgz"},"directories":{},"readme":"# glob2base [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Support us][gittip-image]][gittip-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\n\n## Information\n\n<table>\n<tr>\n<td>Package</td><td>glob2base</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>Extracts a base path from a node-glob instance</td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.10</td>\n</tr>\n</table>\n\n## Usage\n\nThe module is a function that takes in a node-glob instance and returns a string. Basically it just gives you everything before any globbing/matching happens.\n\n```javascript\nvar glob2base = require('glob2base');\nvar glob = require('glob');\n\n// js/\nglob2base(new glob.Glob('js/**/*.js'));\n\n// css/test/\nglob2base(new glob.Glob('css/test/{a,b}/*.css'));\n\n// pages/whatever/\nglob2base(new glob.Glob('pages/whatever/index.html'));\n```\n\n## Like what we do?\n\n[gittip-url]: https://www.gittip.com/WeAreFractal/\n[gittip-image]: http://img.shields.io/gittip/WeAreFractal.svg\n\n[downloads-image]: http://img.shields.io/npm/dm/glob2base.svg\n[npm-url]: https://npmjs.org/package/glob2base\n[npm-image]: http://img.shields.io/npm/v/glob2base.svg\n\n[travis-url]: https://travis-ci.org/wearefractal/glob2base\n[travis-image]: http://img.shields.io/travis/wearefractal/glob2base.svg\n\n[coveralls-url]: https://coveralls.io/r/wearefractal/glob2base\n[coveralls-image]: http://img.shields.io/coveralls/wearefractal/glob2base/master.svg\n","publish_time":1415921512604,"_cnpm_publish_time":1415921512604,"dist-tags":{"latest":"0.0.12"}}