| 1 |
{ |
| 2 |
"_id": "glob-base", |
| 3 |
"_rev": "12-6d78b6fe6946e3ab5eac0c9a23e6fedf", |
| 4 |
"name": "glob-base", |
| 5 |
"description": "Returns an object with the (non-glob) base path and the actual pattern.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "0.3.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "glob-base", |
| 12 |
"description": "Split a glob into a base path and a pattern.", |
| 13 |
"version": "0.1.0", |
| 14 |
"homepage": "https://github.com/jonschlinkert/glob-base", |
| 15 |
"author": { |
| 16 |
"name": "Jon Schlinkert", |
| 17 |
"url": "https://github.com/jonschlinkert" |
| 18 |
}, |
| 19 |
"repository": { |
| 20 |
"type": "git", |
| 21 |
"url": "git://github.com/jonschlinkert/glob-base.git" |
| 22 |
}, |
| 23 |
"bugs": { |
| 24 |
"url": "https://github.com/jonschlinkert/glob-base/issues" |
| 25 |
}, |
| 26 |
"license": { |
| 27 |
"type": "MIT", |
| 28 |
"url": "https://github.com/jonschlinkert/glob-base/blob/master/LICENSE" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"main": "index.js", |
| 34 |
"engines": { |
| 35 |
"node": ">=0.10.0" |
| 36 |
}, |
| 37 |
"scripts": { |
| 38 |
"test": "mocha" |
| 39 |
}, |
| 40 |
"dependencies": { |
| 41 |
"glob-parent": "^1.2.0", |
| 42 |
"is-glob": "^1.1.1" |
| 43 |
}, |
| 44 |
"devDependencies": { |
| 45 |
"mocha": "*" |
| 46 |
}, |
| 47 |
"keywords": [ |
| 48 |
"base", |
| 49 |
"directory", |
| 50 |
"dirname", |
| 51 |
"expression", |
| 52 |
"glob", |
| 53 |
"parent", |
| 54 |
"path", |
| 55 |
"pattern", |
| 56 |
"regex", |
| 57 |
"regular", |
| 58 |
"root" |
| 59 |
], |
| 60 |
"_id": "[email protected]", |
| 61 |
"_shasum": "8dd7d9786d2943e32c9dcc57d4184e12382e0668", |
| 62 |
"_from": ".", |
| 63 |
"_npmVersion": "2.5.1", |
| 64 |
"_nodeVersion": "0.12.0", |
| 65 |
"_npmUser": { |
| 66 |
"name": "jonschlinkert", |
| 67 |
"email": "[email protected]" |
| 68 |
}, |
| 69 |
"maintainers": [ |
| 70 |
{ |
| 71 |
"name": "jonschlinkert", |
| 72 |
"email": "[email protected]" |
| 73 |
} |
| 74 |
], |
| 75 |
"dist": { |
| 76 |
"shasum": "8dd7d9786d2943e32c9dcc57d4184e12382e0668", |
| 77 |
"tarball": "https://registry.npmjs.org/glob-base/-/glob-base-0.1.0.tgz" |
| 78 |
}, |
| 79 |
"directories": {} |
| 80 |
}, |
| 81 |
"0.1.1": { |
| 82 |
"name": "glob-base", |
| 83 |
"description": "Returns an object with the base path and the actual pattern from a glob.", |
| 84 |
"version": "0.1.1", |
| 85 |
"homepage": "https://github.com/jonschlinkert/glob-base", |
| 86 |
"author": { |
| 87 |
"name": "Jon Schlinkert", |
| 88 |
"url": "https://github.com/jonschlinkert" |
| 89 |
}, |
| 90 |
"repository": { |
| 91 |
"type": "git", |
| 92 |
"url": "git://github.com/jonschlinkert/glob-base.git" |
| 93 |
}, |
| 94 |
"bugs": { |
| 95 |
"url": "https://github.com/jonschlinkert/glob-base/issues" |
| 96 |
}, |
| 97 |
"license": { |
| 98 |
"type": "MIT", |
| 99 |
"url": "https://github.com/jonschlinkert/glob-base/blob/master/LICENSE" |
| 100 |
}, |
| 101 |
"files": [ |
| 102 |
"index.js" |
| 103 |
], |
| 104 |
"main": "index.js", |
| 105 |
"engines": { |
| 106 |
"node": ">=0.10.0" |
| 107 |
}, |
| 108 |
"scripts": { |
| 109 |
"test": "mocha" |
| 110 |
}, |
| 111 |
"dependencies": { |
| 112 |
"glob-parent": "^1.2.0", |
| 113 |
"is-glob": "^1.1.1" |
| 114 |
}, |
| 115 |
"devDependencies": { |
| 116 |
"mocha": "*" |
| 117 |
}, |
| 118 |
"keywords": [ |
| 119 |
"base", |
| 120 |
"directory", |
| 121 |
"dirname", |
| 122 |
"expression", |
| 123 |
"glob", |
| 124 |
"parent", |
| 125 |
"path", |
| 126 |
"pattern", |
| 127 |
"regex", |
| 128 |
"regular", |
| 129 |
"root" |
| 130 |
], |
| 131 |
"gitHead": "a7c3be5073640dd567ed8b7bef2f5e19334917ab", |
| 132 |
"_id": "[email protected]", |
| 133 |
"_shasum": "f3b2dc406467ced2567f19657450fb8e036f8c6d", |
| 134 |
"_from": ".", |
| 135 |
"_npmVersion": "2.5.1", |
| 136 |
"_nodeVersion": "0.12.0", |
| 137 |
"_npmUser": { |
| 138 |
"name": "jonschlinkert", |
| 139 |
"email": "[email protected]" |
| 140 |
}, |
| 141 |
"maintainers": [ |
| 142 |
{ |
| 143 |
"name": "jonschlinkert", |
| 144 |
"email": "[email protected]" |
| 145 |
} |
| 146 |
], |
| 147 |
"dist": { |
| 148 |
"shasum": "f3b2dc406467ced2567f19657450fb8e036f8c6d", |
| 149 |
"tarball": "https://registry.npmjs.org/glob-base/-/glob-base-0.1.1.tgz" |
| 150 |
}, |
| 151 |
"directories": {} |
| 152 |
}, |
| 153 |
"0.2.0": { |
| 154 |
"name": "glob-base", |
| 155 |
"description": "Returns an object with the (non-glob) base path and the actual pattern.", |
| 156 |
"version": "0.2.0", |
| 157 |
"homepage": "https://github.com/jonschlinkert/glob-base", |
| 158 |
"author": { |
| 159 |
"name": "Jon Schlinkert", |
| 160 |
"url": "https://github.com/jonschlinkert" |
| 161 |
}, |
| 162 |
"repository": { |
| 163 |
"type": "git", |
| 164 |
"url": "git://github.com/jonschlinkert/glob-base.git" |
| 165 |
}, |
| 166 |
"bugs": { |
| 167 |
"url": "https://github.com/jonschlinkert/glob-base/issues" |
| 168 |
}, |
| 169 |
"license": { |
| 170 |
"type": "MIT", |
| 171 |
"url": "https://github.com/jonschlinkert/glob-base/blob/master/LICENSE" |
| 172 |
}, |
| 173 |
"files": [ |
| 174 |
"index.js" |
| 175 |
], |
| 176 |
"main": "index.js", |
| 177 |
"engines": { |
| 178 |
"node": ">=0.10.0" |
| 179 |
}, |
| 180 |
"scripts": { |
| 181 |
"test": "mocha" |
| 182 |
}, |
| 183 |
"dependencies": { |
| 184 |
"glob-parent": "^1.2.0" |
| 185 |
}, |
| 186 |
"devDependencies": { |
| 187 |
"mocha": "*", |
| 188 |
"should": "^5.1.0" |
| 189 |
}, |
| 190 |
"keywords": [ |
| 191 |
"base", |
| 192 |
"directory", |
| 193 |
"dirname", |
| 194 |
"expression", |
| 195 |
"glob", |
| 196 |
"parent", |
| 197 |
"path", |
| 198 |
"pattern", |
| 199 |
"regex", |
| 200 |
"regular", |
| 201 |
"root" |
| 202 |
], |
| 203 |
"gitHead": "7d8c1b557a424983cf6bab7ad03149d2f55257a0", |
| 204 |
"_id": "[email protected]", |
| 205 |
"_shasum": "59d2f38c3ba2860af149b6b174512a169e9f1b3d", |
| 206 |
"_from": ".", |
| 207 |
"_npmVersion": "2.5.1", |
| 208 |
"_nodeVersion": "0.12.0", |
| 209 |
"_npmUser": { |
| 210 |
"name": "jonschlinkert", |
| 211 |
"email": "[email protected]" |
| 212 |
}, |
| 213 |
"maintainers": [ |
| 214 |
{ |
| 215 |
"name": "jonschlinkert", |
| 216 |
"email": "[email protected]" |
| 217 |
} |
| 218 |
], |
| 219 |
"dist": { |
| 220 |
"shasum": "59d2f38c3ba2860af149b6b174512a169e9f1b3d", |
| 221 |
"tarball": "https://registry.npmjs.org/glob-base/-/glob-base-0.2.0.tgz" |
| 222 |
}, |
| 223 |
"directories": {} |
| 224 |
}, |
| 225 |
"0.3.0": { |
| 226 |
"name": "glob-base", |
| 227 |
"description": "Returns an object with the (non-glob) base path and the actual pattern.", |
| 228 |
"version": "0.3.0", |
| 229 |
"homepage": "https://github.com/jonschlinkert/glob-base", |
| 230 |
"author": { |
| 231 |
"name": "Jon Schlinkert", |
| 232 |
"url": "https://github.com/jonschlinkert" |
| 233 |
}, |
| 234 |
"repository": { |
| 235 |
"type": "git", |
| 236 |
"url": "git://github.com/jonschlinkert/glob-base.git" |
| 237 |
}, |
| 238 |
"bugs": { |
| 239 |
"url": "https://github.com/jonschlinkert/glob-base/issues" |
| 240 |
}, |
| 241 |
"license": { |
| 242 |
"type": "MIT", |
| 243 |
"url": "https://github.com/jonschlinkert/glob-base/blob/master/LICENSE" |
| 244 |
}, |
| 245 |
"files": [ |
| 246 |
"index.js" |
| 247 |
], |
| 248 |
"main": "index.js", |
| 249 |
"engines": { |
| 250 |
"node": ">=0.10.0" |
| 251 |
}, |
| 252 |
"scripts": { |
| 253 |
"test": "mocha" |
| 254 |
}, |
| 255 |
"dependencies": { |
| 256 |
"glob-parent": "^2.0.0", |
| 257 |
"is-glob": "^2.0.0" |
| 258 |
}, |
| 259 |
"devDependencies": { |
| 260 |
"mocha": "*", |
| 261 |
"should": "^5.1.0" |
| 262 |
}, |
| 263 |
"keywords": [ |
| 264 |
"base", |
| 265 |
"directory", |
| 266 |
"dirname", |
| 267 |
"expression", |
| 268 |
"glob", |
| 269 |
"parent", |
| 270 |
"path", |
| 271 |
"pattern", |
| 272 |
"regex", |
| 273 |
"regular", |
| 274 |
"root" |
| 275 |
], |
| 276 |
"gitHead": "adbc0ab07ec8a85f76ffd1b54dd41cdb9d1d0b83", |
| 277 |
"_id": "[email protected]", |
| 278 |
"_shasum": "dbb164f6221b1c0b1ccf82aea328b497df0ea3c4", |
| 279 |
"_from": ".", |
| 280 |
"_npmVersion": "2.11.3", |
| 281 |
"_nodeVersion": "0.12.7", |
| 282 |
"_npmUser": { |
| 283 |
"name": "es128", |
| 284 |
"email": "[email protected]" |
| 285 |
}, |
| 286 |
"dist": { |
| 287 |
"shasum": "dbb164f6221b1c0b1ccf82aea328b497df0ea3c4", |
| 288 |
"tarball": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz" |
| 289 |
}, |
| 290 |
"maintainers": [ |
| 291 |
{ |
| 292 |
"name": "doowb", |
| 293 |
"email": "[email protected]" |
| 294 |
}, |
| 295 |
{ |
| 296 |
"name": "es128", |
| 297 |
"email": "[email protected]" |
| 298 |
}, |
| 299 |
{ |
| 300 |
"name": "jonschlinkert", |
| 301 |
"email": "[email protected]" |
| 302 |
} |
| 303 |
], |
| 304 |
"directories": {} |
| 305 |
} |
| 306 |
}, |
| 307 |
"readme": "# glob-base [](http://badge.fury.io/js/glob-base) [](https://travis-ci.org/jonschlinkert/glob-base) \n\n> Returns an object with the (non-glob) base path and the actual pattern.\n\nUse [glob-parent](https://github.com/es128/glob-parent) if you just want the base path.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i glob-base --save\n```\n\n## Related projects\n* [glob-parent](https://github.com/es128/glob-parent): Strips glob magic from a string to provide the parent path\n* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A faster alternative to minimatch (10-45x faster on avg), with all the features you're used to using in your Grunt and gulp tasks.\n* [parse-glob](https://github.com/jonschlinkert/parse-glob): Parse a glob pattern into an object of tokens.\n* [is-glob](https://github.com/jonschlinkert/is-glob): Returns `true` if the given string looks like a glob pattern.\n* [braces](https://github.com/jonschlinkert/braces): Fastest brace expansion for node.js, with the most complete support for the Bash 4.3 braces specification.\n* [fill-range](https://github.com/jonschlinkert/fill-range): Fill in a range of numbers or letters, optionally passing an increment or multiplier to use.\n* [expand-range](https://github.com/jonschlinkert/expand-range): Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.\n\n## Usage\n\n```js\nvar globBase = require('glob-base');\n\nglobBase('a/b/.git/');\n//=> { base: 'a/b/.git/', isGlob: false, glob: '' })\n\nglobBase('a/b/**/e');\n//=> { base: 'a/b', isGlob: true, glob: '**/e' }\n\nglobBase('a/b/*.{foo,bar}');\n//=> { base: 'a/b', isGlob: true, glob: '*.{foo,bar}' }\n\nglobBase('a/b/.git/**');\n//=> { base: 'a/b/.git', isGlob: true, glob: '**' }\n\nglobBase('a/b/c/*.md');\n//=> { base: 'a/b/c', isGlob: true, glob: '*.md' }\n\nglobBase('a/b/c/.*.md');\n//=> { base: 'a/b/c', isGlob: true, glob: '.*.md' }\n\nglobBase('a/b/{c,d}');\n//=> { base: 'a/b', isGlob: true, glob: '{c,d}' }\n\nglobBase('!*.min.js');\n//=> { base: '.', isGlob: true, glob: '!*.min.js' }\n\nglobBase('!foo');\n//=> { base: '.', isGlob: true, glob: '!foo' }\n\nglobBase('!foo/(a|b).min.js');\n//=> { base: '.', isGlob: true, glob: '!foo/(a|b).min.js' }\n\nglobBase('');\n//=> { base: '.', isGlob: false, glob: '' }\n\nglobBase('**/*.md');\n//=> { base: '.', isGlob: true, glob: '**/*.md' }\n\nglobBase('**/*.min.js');\n//=> { base: '.', isGlob: true, glob: '**/*.min.js' }\n\nglobBase('**/.*');\n//=> { base: '.', isGlob: true, glob: '**/.*' }\n\nglobBase('**/d');\n//=> { base: '.', isGlob: true, glob: '**/d' }\n\nglobBase('*.*');\n//=> { base: '.', isGlob: true, glob: '*.*' }\n\nglobBase('*.min.js');\n//=> { base: '.', isGlob: true, glob: '*.min.js' }\n\nglobBase('*/*');\n//=> { base: '.', isGlob: true, glob: '*/*' }\n\nglobBase('*b');\n//=> { base: '.', isGlob: true, glob: '*b' }\n\nglobBase('.');\n//=> { base: '.', isGlob: false, glob: '.' }\n\nglobBase('.*');\n//=> { base: '.', isGlob: true, glob: '.*' }\n\nglobBase('./*');\n//=> { base: '.', isGlob: true, glob: '*' }\n\nglobBase('/a');\n//=> { base: '/', isGlob: false, glob: 'a' }\n\nglobBase('@(a|b)/e.f.g/');\n//=> { base: '.', isGlob: true, glob: '@(a|b)/e.f.g/' }\n\nglobBase('[a-c]b*');\n//=> { base: '.', isGlob: true, glob: '[a-c]b*' }\n\nglobBase('a');\n//=> { base: '.', isGlob: false, glob: 'a' }\n\nglobBase('a.min.js');\n//=> { base: '.', isGlob: false, glob: 'a.min.js' }\n\nglobBase('a/');\n//=> { base: 'a/', isGlob: false, glob: '' }\n\nglobBase('a/**/j/**/z/*.md');\n//=> { base: 'a', isGlob: true, glob: '**/j/**/z/*.md' }\n\nglobBase('a/*/c/*.md');\n//=> { base: 'a', isGlob: true, glob: '*/c/*.md' }\n\nglobBase('a/?/c.md');\n//=> { base: 'a', isGlob: true, glob: '?/c.md' }\n\nglobBase('a/??/c.js');\n//=> { base: 'a', isGlob: true, glob: '??/c.js' }\n\nglobBase('a?b');\n//=> { base: '.', isGlob: true, glob: 'a?b' }\n\nglobBase('bb');\n//=> { base: '.', isGlob: false, glob: 'bb' }\n\nglobBase('c.md');\n//=> { base: '.', isGlob: false, glob: 'c.md' }\n```\n\n## Running tests\nInstall dev dependencies.\n\n```bash\nnpm i -d && npm test\n```\n\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/glob-base/issues)\n\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2015 Jon Schlinkert \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 08, 2015._\n", |
| 308 |
"maintainers": [ |
| 309 |
{ |
| 310 |
"email": "[email protected]", |
| 311 |
"name": "es128" |
| 312 |
}, |
| 313 |
{ |
| 314 |
"email": "[email protected]", |
| 315 |
"name": "doowb" |
| 316 |
}, |
| 317 |
{ |
| 318 |
"email": "[email protected]", |
| 319 |
"name": "jonschlinkert" |
| 320 |
} |
| 321 |
], |
| 322 |
"time": { |
| 323 |
"modified": "2018-02-17T05:46:08.119Z", |
| 324 |
"created": "2015-03-04T20:18:43.946Z", |
| 325 |
"0.1.0": "2015-03-04T20:18:43.946Z", |
| 326 |
"0.1.1": "2015-03-07T03:31:58.763Z", |
| 327 |
"0.2.0": "2015-03-08T14:30:40.640Z", |
| 328 |
"0.3.0": "2015-09-22T13:58:17.830Z" |
| 329 |
}, |
| 330 |
"homepage": "https://github.com/jonschlinkert/glob-base", |
| 331 |
"keywords": [ |
| 332 |
"base", |
| 333 |
"directory", |
| 334 |
"dirname", |
| 335 |
"expression", |
| 336 |
"glob", |
| 337 |
"parent", |
| 338 |
"path", |
| 339 |
"pattern", |
| 340 |
"regex", |
| 341 |
"regular", |
| 342 |
"root" |
| 343 |
], |
| 344 |
"repository": { |
| 345 |
"type": "git", |
| 346 |
"url": "git://github.com/jonschlinkert/glob-base.git" |
| 347 |
}, |
| 348 |
"author": { |
| 349 |
"name": "Jon Schlinkert", |
| 350 |
"url": "https://github.com/jonschlinkert" |
| 351 |
}, |
| 352 |
"bugs": { |
| 353 |
"url": "https://github.com/jonschlinkert/glob-base/issues" |
| 354 |
}, |
| 355 |
"license": { |
| 356 |
"type": "MIT", |
| 357 |
"url": "https://github.com/jonschlinkert/glob-base/blob/master/LICENSE" |
| 358 |
}, |
| 359 |
"readmeFilename": "README.md", |
| 360 |
"users": { |
| 361 |
"jonschlinkert": true, |
| 362 |
"soenkekluth": true |
| 363 |
}, |
| 364 |
"_attachments": {} |
| 365 |
} |