{"_id":"simple-glob","_rev":"12-dad9841914845db2c39172836f012f21","name":"simple-glob","description":"Simplified globbing, same as Grunt","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.1":{"name":"simple-glob","description":"Simplified globbing, same as Grunt","version":"0.1.1","author":{"name":"\"Cowboy\" Ben Alman","url":"http://benalman.com/"},"homepage":"https://github.com/jedmao/simple-glob","repository":{"type":"git","url":"https://github.com/jedmao/simple-glob.git"},"bugs":{"url":"https://github.com/jedmao/simple-glob/issues"},"licenses":[{"type":"MIT","url":"http://github.com/jedmao/simple-glob/blob/master/LICENSE-MIT"}],"main":"lib/api.js","scripts":{"test":"grunt test"},"engines":{"node":">= 0.8.0"},"keywords":["glob","tool","grunt"],"dependencies":{"glob":"~3.2.8","lodash":"~2.4.1","minimatch":"~0.2.14"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-nodeunit":"~0.2.2","grunt-contrib-watch":"~0.5.3"},"_id":"simple-glob@0.1.1","dist":{"shasum":"282bfa012d7206643df61d34c6bb9e4ce3fd7714","tarball":"https://registry.npmjs.org/simple-glob/-/simple-glob-0.1.1.tgz","integrity":"sha512-E4hLtOlO0Nprnp4EEmXwrQb82cTEjcrnr409qVo4Hr3CzHF1sTrYVqz6/D3bvBLwcEW6461wipAKTZSch/5Suw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxaYPEMu3/74fsX20fjQ6JSCvka5Nz2vHeSFUvzfrJtAIhAKL73ZK6zRV+Ujib2rW1Gw14kWl3yIAeALyt6QgcEkCt"}]},"_from":"https://github.com/jedmao/simple-glob/archive/v0.1.0.tar.gz","_resolved":"https://github.com/jedmao/simple-glob/archive/v0.1.0.tar.gz","_npmVersion":"1.3.21","_npmUser":{"name":"jedhunsaker","email":"jed.hunsaker@gmail.com"},"maintainers":[{"name":"jedhunsaker","email":"jed.hunsaker@gmail.com"}],"directories":{}},"0.1.0":{"name":"simple-glob","description":"Simplified globbing, same as Grunt","version":"0.1.0","author":{"name":"\"Cowboy\" Ben Alman","url":"http://benalman.com/"},"homepage":"https://github.com/jedmao/simple-glob","repository":{"type":"git","url":"https://github.com/jedmao/simple-glob.git"},"bugs":{"url":"https://github.com/jedmao/simple-glob/issues"},"licenses":[{"type":"MIT","url":"http://github.com/jedmao/simple-glob/blob/master/LICENSE-MIT"}],"main":"lib/api.js","scripts":{"test":"grunt test"},"engines":{"node":">= 0.8.0"},"keywords":["glob","tool","grunt"],"dependencies":{"glob":"~3.2.8","lodash":"~2.4.1","minimatch":"~0.2.14"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-nodeunit":"~0.2.2","grunt-contrib-watch":"~0.5.3"},"_id":"simple-glob@0.1.0","dist":{"shasum":"f5e84fb8692db730ea8654d4da42d1b5ef8c1456","tarball":"https://registry.npmjs.org/simple-glob/-/simple-glob-0.1.0.tgz","integrity":"sha512-k7/78wTfCHHjzJiss6ohdrLo34Uf1BhV4aqUlLghOiv2PUehMyqKD0IK6zlMmIXOiQc9rWkyj+JUlr3gL5tlgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDF+xmLWLUEglp3Rt5B54buKrbZhoe259rwi8sOlhpRkQIgJ6WGw6Ik+DkpBW3emfzmQN4ElcW46YJOW3fXqhrWc5U="}]},"_from":"https://github.com/jedmao/simple-glob/archive/v0.1.0.tar.gz","_resolved":"https://github.com/jedmao/simple-glob/archive/v0.1.0.tar.gz","_npmVersion":"1.3.21","_npmUser":{"name":"jedhunsaker","email":"jed.hunsaker@gmail.com"},"maintainers":[{"name":"jedhunsaker","email":"jed.hunsaker@gmail.com"}],"directories":{}},"0.2.0":{"name":"simple-glob","description":"Simplified globbing, same as Grunt","version":"0.2.0","author":{"name":"\"Cowboy\" Ben Alman","url":"http://benalman.com/"},"homepage":"https://github.com/jedmao/simple-glob","repository":{"type":"git","url":"git+https://github.com/jedmao/simple-glob.git"},"bugs":{"url":"https://github.com/jedmao/simple-glob/issues"},"licenses":[{"type":"MIT","url":"http://github.com/jedmao/simple-glob/blob/master/LICENSE-MIT"}],"main":"lib/api.js","scripts":{"test":"grunt test"},"engines":{"node":">= 6"},"keywords":["glob","tool","grunt"],"dependencies":{"glob":"^7.1.2","lodash.difference":"^4.5.0","lodash.flatten":"^4.4.0","lodash.union":"^4.6.0"},"devDependencies":{"grunt":"^1.0.2","grunt-contrib-jshint":"^1.1.0","grunt-contrib-nodeunit":"^2.0.0","grunt-contrib-watch":"^1.1.0"},"contributors":[{"name":"\"Cowboy\" Ben Alman","url":"http://benalman.com/"},{"name":"Kyle Robinson Young","url":"http://dontkry.com/"},{"name":"Tyler Kellen","url":"http://goingslowly.com"},{"name":"Sindre Sorhus","url":"http://sindresorhus.com"},{"name":"Vlad Filippov","url":"http://vladfilippov.com/"}],"gitHead":"686ccd1118ebc7919c9cbe8db1402b3b4a7df99b","_id":"simple-glob@0.2.0","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jedhunsaker","email":"jedmao@outlook.com"},"dist":{"integrity":"sha512-CnCJ+SEDIWYviwBUp7pGxdq4QZgaR5xVzoxL/gujEwn2/vOJ4PVQrmd8Z0spH1cPsLxgF83cNjNcy4zYvSWiZA==","shasum":"95cf6a5fb5d84843a52a58529cba31b0f5c3478c","tarball":"https://registry.npmjs.org/simple-glob/-/simple-glob-0.2.0.tgz","fileCount":6,"unpackedSize":9505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCiizCRA9TVsSAnZWagAA69QP/AgdmBOyhS8pszy1eJAv\nwdz6dF6CqD2EIJjRzebQTEWEqCZvJFDa86I6HzAmM62CgAKLniIX9VaL2QNR\nBQreePUEBnBTo31TEvPEVPDuAXz1cq6NZ2TGVqGe0aZV6W3hvnns/7+0qSpu\namIAecV8SdrrP3VR/CPLTKMESRLtcJcPTejsvMrMVeiqW7uSfIZGo/VVGQvR\nc9tVr6gkIGQziUaHXiEeThN+lKdCV/zzL7u4CrHDvuepzZIToQA1C0bjKAfi\nZvLULQp8VQz8Ey2a/wEh9fdiohvTIGI0eFSS9kCL3XGT0D5tNHzWhbhy1BUR\nfID7G3iASGr1jKYXITr9d4m0AYufLV5XSQ1ZKFj/KH0OJSYQRcQaf0kjGKo5\nRjvacwoD8w2dD5Hnnm8wzBI7IOa7HwSTueXe67t70DV3sIcpjlmF1H/Y9zV2\nLK6VVRAB9fKObBaAUVX5/+CDBzAaIUVAnHuVbR9iqujHkQAl95ZUbrvm3OzX\nnimqzGM6Jc3qO11k9mBlpEEu5yS++RBAkvDhQn3E66BYzrFkc96oyscuT0SG\nvUB0Z1LcJDU/GHVz9UZnhxrGF5bGdkfTXO/S5s+zY0rBop+emqa4i5z3QghS\n+BhibJr1+RR+7bdY51xzPADZCcVXBpePepC4gtA5V+1TdKVbvAXkK99mzV0/\nCmI9\r\n=xuYc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8uRrnkYApeiQdEkVL0CTHSdUAUoeVvf+Tmk0SP6ySjAiBviSgEOh+Y+AZEtkn7CMr95r8VrPpABhraHGoZwMDp6g=="}]},"maintainers":[{"name":"jedhunsaker","email":"jed.hunsaker@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-glob_0.2.0_1527392433888_0.5054038197798703"},"_hasShrinkwrap":false}},"readme":"# simple-glob\n\n> Simplified globbing, same as [Grunt][]\n\n[![Build Status][]](http://travis-ci.org/jedmao/simple-glob)\n[![Dependency Status][]](https://gemnasium.com/jedmao/simple-glob)\n[![NPM version][]](http://badge.fury.io/js/simple-glob)\n[![Views][]](https://sourcegraph.com/github.com/jedmao/simple-glob)\n\n[![NPM][]](https://nodei.co/npm/simple-glob/)\n\nThe inspiration for this project was to simplify globbing patterns to work the same way many are familiar with (i.e., the globbing patterns in [Grunt][]). Instead of reinventing the wheel, I figured I'd just extract the code directly from [Grunt][]'s code base to get the exact same functionality that we know and love. Now, we can all enjoy the same globbing, even outside of [Grunt][]!\n\n<i>Full disclaimer: The code contained in this project is 99% the original work of the Grunt.js team. I only renamed a couple things and moved things around a bit. I take no credit whatsoever and the original license is in tact, according to license conditions.</i>\n\n<i>Note: The following documentation was taken mostly from [Grunt's Configuring Tasks][] page.</i>\n\n\n## Globbing patterns\n\nIt is often impractical to specify all source filepaths individually, so simple-glob supports filename expansion (also know as globbing) via the built-in [node-glob][] and [minimatch][] libraries.\n\nWhile this isn't a comprehensive tutorial on globbing patterns, know that in a filepath:\n\n- `*` matches any number of characters, but not `/`\n- `?` matches a single character, but not `/`\n- `**` matches any number of characters, including `/`, as long as it's the only thing in a path part\n- `{}` allows for a comma-separated list of \"or\" expressions\n- `!` at the beginning of a pattern will negate the match\n\nAll most people need to know is that `foo/*.js` will match all files ending with `.js` in the `foo/` subdirectory, but `foo/**/*.js` will match all files ending with `.js` in the `foo/` subdirectory and all of its subdirectories.\n\nAlso, in order to simplify otherwise complicated globbing patterns, simple-glob allows arrays of file paths or globbing patterns to be specified. Patterns are processed in-order, with `!`-prefixed matches excluding matched files from the result set. The result set is uniqued.\n\nFor example:\n```js\nvar glob = require('simple-glob');\n\n// You can specify single files:\nglob('foo/this.js');\n// Or arrays of files:\nglob(['foo/this.js', 'foo/that.js', 'foo/the-other.js']);\n// Or you can generalize with a glob pattern:\nglob('foo/th*.js');\n\n// This single node-glob pattern:\nglob('foo/{a,b}*.js');\n// Could also be written like this:\nglob(['foo/a*.js', 'foo/b*.js']);\n\n// All .js files, in foo/, in alpha order:\nglob(['foo/*.js']);\n// Here, bar.js is first, followed by the remaining files, in alpha order:\nglob(['foo/bar.js', 'foo/*.js']);\n\n// All files except for bar.js, in alpha order:\nglob(['foo/*.js', '!foo/bar.js']);\n// All files in alpha order, but with bar.js at the end.\nglob(['foo/*.js', '!foo/bar.js', 'foo/bar.js']);\n```\n\nFor more on glob pattern syntax, see the [node-glob][] and [minimatch][] documentation.\n\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/jedmao/simple-glob/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n\n[Grunt]: http://gruntjs.com/\n[Build Status]: https://secure.travis-ci.org/jedmao/simple-glob.png?branch=master\n[Dependency Status]: https://gemnasium.com/jedmao/simple-glob.png\n[NPM version]: https://badge.fury.io/js/simple-glob.png\n[Views]: https://sourcegraph.com/api/repos/github.com/jedmao/simple-glob/counters/views-24h.png\n[NPM]: https://nodei.co/npm/simple-glob.png?downloads=true\n[Grunt's Configuring Tasks]: http://gruntjs.com/configuring-tasks\n[node-glob]: https://github.com/isaacs/node-glob\n[minimatch]: https://github.com/isaacs/minimatch\n","maintainers":[{"email":"jedmao@outlook.com","name":"jedhunsaker"},{"email":"jedmao@outlook.com","name":"jedmao"}],"time":{"modified":"2022-06-26T19:39:06.267Z","created":"2014-01-25T16:52:25.813Z","0.1.1":"2014-01-25T16:52:25.813Z","0.1.0":"2014-01-25T16:54:27.712Z","0.2.0":"2018-05-27T03:40:34.001Z"},"readmeFilename":"README.md","homepage":"https://github.com/jedmao/simple-glob","keywords":["glob","tool","grunt"],"repository":{"type":"git","url":"git+https://github.com/jedmao/simple-glob.git"},"contributors":[{"name":"\"Cowboy\" Ben Alman","url":"http://benalman.com/"},{"name":"Kyle Robinson Young","url":"http://dontkry.com/"},{"name":"Tyler Kellen","url":"http://goingslowly.com"},{"name":"Sindre Sorhus","url":"http://sindresorhus.com"},{"name":"Vlad Filippov","url":"http://vladfilippov.com/"}],"author":{"name":"\"Cowboy\" Ben Alman","url":"http://benalman.com/"},"bugs":{"url":"https://github.com/jedmao/simple-glob/issues"}}