{"_id":"glob-expand","_rev":"57218","name":"glob-expand","description":"A sync glob / minimatch / RegExp function with a gruntjs -like `expand` of patterns, with minimum depepndencies. Derived from gruntjs's v0.4.1 `file.expand`","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"anodynos","email":"agelos.pikoulas@gmail.com"}],"time":{"modified":"2021-06-03T10:17:26.000Z","created":"2013-05-20T19:54:44.971Z","0.2.1":"2016-09-02T00:37:01.427Z","0.2.0":"2016-05-24T22:50:53.363Z","0.1.0":"2015-03-17T22:15:38.337Z","0.0.2":"2013-05-28T21:22:00.050Z","0.0.1":"2013-05-20T19:54:44.971Z"},"users":{"wenbing":true},"author":{"name":"Angelos Pikoulas","email":"agelos.pikoulas@gmail.com"},"repository":{"type":"git","url":"git://github.com/anodynos/node-glob-expand.git"},"versions":{"0.2.1":{"name":"glob-expand","description":"A sync glob / minimatch / RegExp function with a gruntjs -like `expand` of patterns, with minimum depepndencies. Derived from gruntjs's v0.4.1 `file.expand`","version":"0.2.1","homepage":"https://github.com/anodynos/node-glob-expand","author":{"name":"Angelos Pikoulas","email":"agelos.pikoulas@gmail.com"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"keywords":["minimatch","glob","node-glob","gruntjs","grunt","expand","filematch","wildcards","patterns"],"repository":{"type":"git","url":"git://github.com/anodynos/node-glob-expand.git"},"bugs":{"url":"https://github.com/anodynos/node-glob-expand/issues"},"main":"./build/code/expand.js","directories":{"doc":"./doc","dist":"./build"},"engines":{"node":">0.10"},"dependencies":{"glob":"~4.5.x","lodash":"~4.13.x"},"devDependencies":{"grunt":"0.4.5","grunt-contrib-watch":"0.5.x","grunt-urequire":"^0.7.3","load-grunt-tasks":"^3.5.0","urequire":"^0.7.0-beta.29","urequire-rc-inject-version":"^0.1.6"},"gitHead":"7dcb3e86a3787e54c27c38b3bffb978eef03f688","_id":"glob-expand@0.2.1","scripts":{},"_shasum":"1b088ac272b57158870b76816111da4618a66a0f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"anodynos","email":"agelos.pikoulas@gmail.com"},"maintainers":[{"name":"anodynos","email":"agelos.pikoulas@gmail.com"}],"dist":{"shasum":"1b088ac272b57158870b76816111da4618a66a0f","size":3096,"noattachment":false,"key":"/glob-expand/-/glob-expand-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-expand/download/glob-expand-0.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/glob-expand-0.2.1.tgz_1472776619642_0.9703377296682447"},"publish_time":1472776621427,"_cnpm_publish_time":1472776621427,"_hasShrinkwrap":false},"0.2.0":{"name":"glob-expand","description":"A sync glob / minimatch / RegExp function with a gruntjs -like `expand` of patterns, with minimum depepndencies. Derived from gruntjs's v0.4.1 `file.expand`","version":"0.2.0","homepage":"https://github.com/anodynos/node-glob-expand","author":{"name":"Agelos Pikoulas","email":"agelos.pikoulas@gmail.com"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"keywords":["minimatch","glob","node-glob","gruntjs","grunt","expand","filematch","wildcards","patterns"],"repository":{"type":"git","url":"git://github.com/anodynos/node-glob-expand.git"},"main":"./build/code/expand.js","directories":{"doc":"./doc","dist":"./build"},"engines":{"node":">0.10 <=5"},"dependencies":{"glob":"~4.5.x","lodash":"~4.13.x"},"devDependencies":{"grunt":"0.4.5","grunt-contrib-watch":"0.5.x","grunt-urequire":"^0.7.3","load-grunt-tasks":"^3.5.0","urequire":"^0.7.0-beta.29","urequire-rc-inject-version":"^0.1.6"},"gitHead":"2bc6342480757663b9939abf90b47851f6852da6","_id":"glob-expand@0.2.0","scripts":{},"_shasum":"f246f827143d2a2d71d4ee2f65c7416d53395c51","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"anodynos","email":"agelos.pikoulas@gmail.com"},"maintainers":[{"name":"anodynos","email":"agelos.pikoulas@gmail.com"}],"dist":{"shasum":"f246f827143d2a2d71d4ee2f65c7416d53395c51","size":2363,"noattachment":false,"key":"/glob-expand/-/glob-expand-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-expand/download/glob-expand-0.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/glob-expand-0.2.0.tgz_1464130252062_0.9700537368189543"},"publish_time":1464130253363,"_cnpm_publish_time":1464130253363,"_hasShrinkwrap":false},"0.1.0":{"name":"glob-expand","description":"A sync glob / minimatch / RegExp call with a gruntjs -like `expand` of patterns, with minimum depepndencies. Derived from gruntjs's v0.4.1 `file.expand`","version":"0.1.0","homepage":"https://github.com/anodynos/node-glob-expand","author":{"name":"Agelos Pikoulas","email":"agelos.pikoulas@gmail.com"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"keywords":["minimatch","glob","node-glob","gruntjs","grunt","expand","filematch","wildcards","patterns"],"repository":{"type":"git","url":"git://github.com/anodynos/node-glob-expand"},"main":"./build/code/expand.js","test":"mocha build/spec --recursive --bail --reporter spec","directories":{"doc":"./doc","dist":"./build"},"engines":{"node":"*"},"dependencies":{"glob":"~4.4.2","lodash":"1.2.x"},"devDependencies":{"chai":"*","grunt":"0.4.1","grunt-contrib-concat":"0.3.0","grunt-contrib-clean":"0.4.1","grunt-shell":"0.2.2"},"gitHead":"edab68171b5611716ec7cd21148ffb0fd6bb0f81","_id":"glob-expand@0.1.0","scripts":{},"_shasum":"fab35606391ec181703c1f0aa27a87cd05bf9a30","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.33","_npmUser":{"name":"anodynos","email":"agelos.pikoulas@gmail.com"},"maintainers":[{"name":"anodynos","email":"agelos.pikoulas@gmail.com"}],"dist":{"shasum":"fab35606391ec181703c1f0aa27a87cd05bf9a30","size":3324,"noattachment":false,"key":"/glob-expand/-/glob-expand-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-expand/download/glob-expand-0.1.0.tgz"},"publish_time":1426630538337,"_cnpm_publish_time":1426630538337,"_hasShrinkwrap":false},"0.0.2":{"name":"glob-expand","description":"A sync glob / minimatch / RegExp call with a gruntjs -like `expand` of patterns, with minimum depepndencies. Derived from gruntjs's v0.4.1 `file.expand`","version":"0.0.2","homepage":"https://github.com/anodynos/node-glob-expand","author":{"name":"Agelos Pikoulas","email":"agelos.pikoulas@gmail.com"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"keywords":["minimatch","glob","node-glob","gruntjs","grunt","expand","filematch","wildcards","patterns"],"repository":{"type":"git","url":"git://github.com/anodynos/node-glob-expand"},"bugs":{"url":""},"main":"./build/code/expand.js","test":"mocha build/spec --recursive --bail --reporter spec","directories":{"doc":"./doc","dist":"./build"},"engines":{"node":"*"},"dependencies":{"glob":"~3.1.21","lodash":"1.2.x"},"devDependencies":{"chai":"*","grunt":"0.4.1","grunt-contrib-concat":"0.3.0","grunt-contrib-clean":"0.4.1","grunt-shell":"0.2.2"},"_id":"glob-expand@0.0.2","dist":{"shasum":"00b11cb522f808c4d0364a5617e1b9f80488e5e8","size":3306,"noattachment":false,"key":"/glob-expand/-/glob-expand-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-expand/download/glob-expand-0.0.2.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"anodynos","email":"agelos.pikoulas@gmail.com"},"maintainers":[{"name":"anodynos","email":"agelos.pikoulas@gmail.com"}],"publish_time":1369776120050,"_cnpm_publish_time":1369776120050,"_hasShrinkwrap":false},"0.0.1":{"name":"glob-expand","description":"A sync glob / minimatch call with a gruntjs -like `expand` of patterns, with minimum depepndencies. Derived from gruntjs's v0.4.1 `file.expand`","version":"0.0.1","homepage":"https://github.com/anodynos/node-glob-expand","author":{"name":"Agelos Pikoulas","email":"agelos.pikoulas@gmail.com"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"keywords":["minimatch","glob","node-glob","gruntjs","grunt","expand","filematch","wildcards","patterns"],"repository":{"type":"git","url":"git://github.com/anodynos/node-glob-expand"},"bugs":{"url":""},"main":"./build/code/expand.js","test":"mocha build/spec --recursive --bail --reporter spec","directories":{"doc":"./doc","dist":"./build"},"engines":{"node":"*"},"dependencies":{"glob":"~3.1.21","lodash":"1.2.x"},"devDependencies":{"chai":"*","grunt":"0.4.1","grunt-contrib-concat":"0.3.0","grunt-contrib-copy":"0.4.1","grunt-shell":"0.2.2"},"_id":"glob-expand@0.0.1","dist":{"shasum":"7cff26f34865ee8eda99f175737e681027d3ddef","size":3014,"noattachment":false,"key":"/glob-expand/-/glob-expand-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glob-expand/download/glob-expand-0.0.1.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"anodynos","email":"agelos.pikoulas@gmail.com"},"maintainers":[{"name":"anodynos","email":"agelos.pikoulas@gmail.com"}],"publish_time":1369079684971,"_cnpm_publish_time":1369079684971,"_hasShrinkwrap":false}},"readme":"# glob-expand v0.2.1\n\nA (sync) glob / minimatch / RegExp call using [gruntjs](https://github.com/gruntjs/grunt)'s `file.expand`.\n\nIt has only a minimum of dependencies: `glob` (version 4.x that has negation patterns) & `lodash`.\n\nIts almost a copy/paste of 2 functions from Gruntjs's v0.4.1 [grunt/file.js](https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js)\n\nAdditionally you can use [minimatch](http://github.com/isaacs/minimatch/) `String`s or `RegExp`s, either as an Array or as arguments.\n*\n\n## Install:\n\n`npm install glob-expand`\n\n## Examples:\n```coffeescript\n\texpand = require 'glob-expand'\n\n\t# may the original node-glob be with you (should you need it):\n\tglob = expand.glob\n\n\texpand {filter: 'isFile', cwd: '../'}, ['**/*.*', '!exclude/these/**/*.*']\n\t# returns all files in cwd ['file1', 'file2',...] but excluding\n\t# those under directory 'exclude/these'\n\n\t# These are the same\n\texpand {cwd: '../..'}, ['**/*.*', '!node_modules/**/*.*']\n\texpand {cwd: '../..'}, '**/*.*', '!node_modules/**/*.*'\n\n\t# These are the same too:\n\texpand {}, ['**/*.*', '!**/*.js']\n\texpand {}, '**/*.*', '!**/*.js'\n\texpand ['**/*.*', '!**/*.js']\n\texpand '**/*.*', '!**/*.js'\n\n\t# Using Regular Expressions:\n\texpand '**/*.js', /.*\\.(coffee\\.md|litcoffee|coffee)$/i, '!DRAFT*.*'\n\t# -> returns all `.js`, `.coffee`, `.coffee.md` & `.litcoffee` files,\n\t#    excluding those starting with 'DRAFT'\n\n```\n\nSee [gruntjs files configuration](http://gruntjs.com/configuring-tasks#files)\nand [node-glob](https://github.com/isaacs/node-glob) for more options.\n\nSorry no tests, I assumed gruntjs's tests are sufficient ;-)\n\n# License\n\nThe MIT License\n\nCopyright (c) 2013-2016 Angelos Pikoulas (agelos.pikoulas@gmail.com)\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n","_attachments":{},"homepage":"https://github.com/anodynos/node-glob-expand","bugs":{"url":"https://github.com/anodynos/node-glob-expand/issues"}}