{"_id":"gitignore-to-glob","_rev":"17-eff62a4b490b67dd91e6f01dd56c3ccf","name":"gitignore-to-glob","description":"Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"gitignore-to-glob","version":"0.1.0","description":"Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)","homepage":"https://github.com/EE/gitignore-to-glob","author":{"name":"Michał Gołębiowski","email":"m.goleb@gmail.com"},"keywords":["gitignore","glob","modules","dependencies"],"main":"lib/gitignore-to-glob.js","repository":{"type":"git","url":"https://github.com/EE/gitignore-to-glob.git"},"bugs":{"url":"https://github.com/EE/gitignore-to-glob/issues"},"licenses":[{"type":"MIT"}],"files":["lib"],"dependencies":{"chalk":"^0.5.1","findup-sync":"^0.1.3","lodash":"^2.4.1"},"devDependencies":{"grunt":"0.4.5","grunt-cli":"0.1.13","grunt-contrib-clean":"0.6.0","grunt-eslint":"1.0.0","grunt-jscs":"0.6.2","grunt-mocha-test":"0.11.0","jscs-trailing-comma":"0.3.0","load-grunt-tasks":"0.6.0","time-grunt":"1.0.0"},"scripts":{"test":"grunt"},"engines":{"node":">=0.10.21"},"gitHead":"d99a937c9bd577f65fd22a1f33af319cce4d20cd","_id":"gitignore-to-glob@0.1.0","_shasum":"281c6327f91699902bf37d954826b848135a7aca","_from":".","_npmVersion":"1.4.24","_npmUser":{"name":"m_gol","email":"m.goleb@gmail.com"},"maintainers":[{"name":"m_gol","email":"m.goleb@gmail.com"}],"dist":{"shasum":"281c6327f91699902bf37d954826b848135a7aca","tarball":"https://registry.npmjs.org/gitignore-to-glob/-/gitignore-to-glob-0.1.0.tgz","integrity":"sha512-u7K/+BfaggSmrDXzy2XQ0skGTIG42f2cdRNpyPnUNzF8JzUVugBgkchmDq+EzeWyU1MxsvxCEhr0xlgyBbybsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZLGGk0Qw1EZ8+gatgPfy1T8+W4WPD1h1SR6tGylOZfAiBOBjmBKOZ3izgBnsc2Orq9uywHVC4l5RC8RTmmOyLPsA=="}]}},"0.1.1":{"name":"gitignore-to-glob","version":"0.1.1","description":"Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)","homepage":"https://github.com/EE/gitignore-to-glob","author":{"name":"Michał Gołębiowski","email":"m.goleb@gmail.com"},"keywords":["gitignore","glob","modules","dependencies"],"main":"lib/gitignore-to-glob.js","repository":{"type":"git","url":"https://github.com/EE/gitignore-to-glob.git"},"bugs":{"url":"https://github.com/EE/gitignore-to-glob/issues"},"licenses":[{"type":"MIT"}],"files":["lib"],"dependencies":{"chalk":"^0.5.1","findup-sync":"^0.1.3","lodash":"^2.4.1"},"devDependencies":{"grunt":"0.4.5","grunt-cli":"0.1.13","grunt-contrib-clean":"0.6.0","grunt-eslint":"1.0.0","grunt-jscs":"0.6.2","grunt-mocha-test":"0.11.0","jscs-trailing-comma":"0.3.0","load-grunt-tasks":"0.6.0","time-grunt":"1.0.0"},"scripts":{"test":"grunt"},"engines":{"node":">=0.10.21"},"gitHead":"49891719f43b6930382c93937fc64c894d7abda5","_id":"gitignore-to-glob@0.1.1","_shasum":"38625ea2b3c6e8f72420ba9a3aafa082b1c43a8c","_from":".","_npmVersion":"1.4.24","_npmUser":{"name":"m_gol","email":"m.goleb@gmail.com"},"maintainers":[{"name":"m_gol","email":"m.goleb@gmail.com"}],"dist":{"shasum":"38625ea2b3c6e8f72420ba9a3aafa082b1c43a8c","tarball":"https://registry.npmjs.org/gitignore-to-glob/-/gitignore-to-glob-0.1.1.tgz","integrity":"sha512-JNXYU0HB4T5W89xaiUI8wRI0fGJUnHXV+xRBl4gzDz4It1s3ah2meIGEeHH+NgAKopjU6lfZM8Dw4NRzYTEU3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCul9UR7VbFUv7KXoKKILAEP3bo2lSHrYYhXIAqua1wEgIgKNxswUbrzpT7p2A7FUEL8z8gfpYlHKlrh6TnwBHtAd8="}]}},"0.1.2":{"name":"gitignore-to-glob","version":"0.1.2","description":"Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)","homepage":"https://github.com/EE/gitignore-to-glob","author":{"name":"Michał Gołębiowski","email":"m.goleb@gmail.com"},"keywords":["gitignore","glob","modules","dependencies"],"main":"lib/gitignore-to-glob.js","repository":{"type":"git","url":"https://github.com/EE/gitignore-to-glob.git"},"bugs":{"url":"https://github.com/EE/gitignore-to-glob/issues"},"licenses":[{"type":"MIT"}],"files":["lib"],"dependencies":{"chalk":"^0.5.1","findup-sync":"^0.1.3","lodash":"^2.4.1"},"devDependencies":{"grunt":"0.4.5","grunt-cli":"0.1.13","grunt-eslint":"1.0.0","grunt-jscs":"0.6.2","grunt-mocha-test":"0.11.0","jscs-trailing-comma":"0.3.0","load-grunt-tasks":"0.6.0","time-grunt":"1.0.0"},"scripts":{"test":"grunt"},"engines":{"node":">=0.10.21"},"gitHead":"09dc234d623e8fe0fa8d40518dff0a22451b1a8e","_id":"gitignore-to-glob@0.1.2","_shasum":"cb3a3ae32156672fbde945ae9b43485cd163d32a","_from":".","_npmVersion":"1.4.24","_npmUser":{"name":"m_gol","email":"m.goleb@gmail.com"},"maintainers":[{"name":"m_gol","email":"m.goleb@gmail.com"}],"dist":{"shasum":"cb3a3ae32156672fbde945ae9b43485cd163d32a","tarball":"https://registry.npmjs.org/gitignore-to-glob/-/gitignore-to-glob-0.1.2.tgz","integrity":"sha512-rNE+J7v3ztLS1FB6vEHUJpzc2oF5VkYcwHlUMfRon/aJEOKHP4uvIg9Ja4MAZqCgidFe5j41QtBJgV3Bf2ZRNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/LvugBR4O/eoWO52fXy5ATNThW4Z9BoL+FK++dTiswwIhAKtCgZQIW1slvrwKYuFPZssc4Z8ABCrhPUxJZlx4nN17"}]}},"0.2.0":{"name":"gitignore-to-glob","version":"0.2.0","description":"Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)","homepage":"https://github.com/EE/gitignore-to-glob","author":{"name":"Michał Gołębiowski","email":"m.goleb@gmail.com"},"keywords":["gitignore","glob","modules","dependencies"],"repository":{"type":"git","url":"git+https://github.com/EE/gitignore-to-glob.git"},"bugs":{"url":"https://github.com/EE/gitignore-to-glob/issues"},"license":"MIT","files":["lib"],"devDependencies":{"eslint-config-mgol":"0.0.10","grunt":"0.4.5","grunt-babel":"5.0.3","grunt-cli":"0.1.13","grunt-contrib-clean":"0.7.0","grunt-contrib-copy":"0.8.2","grunt-eslint":"17.3.1","grunt-mocha-test":"0.12.7","load-grunt-tasks":"3.4.0","mocha":"2.3.4","time-grunt":"1.3.0"},"scripts":{"test":"grunt"},"engines":{"node":">=0.12.7 <0.13 || >=4.1.1"},"gitHead":"1ed6b55ade4ebe6cd84cd05c8c2e06cf1a2f9aad","_id":"gitignore-to-glob@0.2.0","_shasum":"4d835ecc15291337b38864d5436738d581c5baf2","_from":".","_npmVersion":"3.8.0","_nodeVersion":"5.7.1","_npmUser":{"name":"m_gol","email":"m.goleb@gmail.com"},"dist":{"shasum":"4d835ecc15291337b38864d5436738d581c5baf2","tarball":"https://registry.npmjs.org/gitignore-to-glob/-/gitignore-to-glob-0.2.0.tgz","integrity":"sha512-C9ofjvuAeMlCwBsnIzNBUh4yX0RICJopVYw0NThG0LV7UJ2vwj52v9k1m5OG86GcJNZDnmhakpH5GSXW9TVwPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICk7IlIkIzH2fwByQ8PKPytyoiF2+GZE4hS4XlrGheSGAiBAsZs/F/NcDm7T1g6eGSXCRmQ/nbEb7Nesw8e4TV2YcA=="}]},"maintainers":[{"name":"m_gol","email":"m.goleb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/gitignore-to-glob-0.2.0.tgz_1457526778828_0.0346726612187922"}},"0.2.1":{"name":"gitignore-to-glob","version":"0.2.1","description":"Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)","homepage":"https://github.com/EE/gitignore-to-glob","author":{"name":"Michał Gołębiowski","email":"m.goleb@gmail.com"},"keywords":["gitignore","glob"],"repository":{"type":"git","url":"git+https://github.com/EE/gitignore-to-glob.git"},"bugs":{"url":"https://github.com/EE/gitignore-to-glob/issues"},"license":"MIT","files":["index.js","lib","dist/lib"],"devDependencies":{"babel-plugin-transform-es2015-arrow-functions":"6.5.2","babel-plugin-transform-es2015-block-scoped-functions":"6.5.0","babel-plugin-transform-es2015-block-scoping":"6.5.0","babel-plugin-transform-es2015-classes":"6.5.2","babel-plugin-transform-es2015-computed-properties":"6.5.2","babel-plugin-transform-es2015-destructuring":"6.5.0","babel-plugin-transform-es2015-for-of":"6.5.2","babel-plugin-transform-es2015-function-name":"6.5.0","babel-plugin-transform-es2015-literals":"6.5.0","babel-plugin-transform-es2015-object-super":"6.5.0","babel-plugin-transform-es2015-parameters":"6.5.0","babel-plugin-transform-es2015-shorthand-properties":"6.5.0","babel-plugin-transform-es2015-spread":"6.5.2","babel-plugin-transform-es2015-sticky-regex":"6.5.0","babel-plugin-transform-es2015-template-literals":"6.5.2","babel-plugin-transform-es2015-typeof-symbol":"6.5.0","babel-plugin-transform-es2015-unicode-regex":"6.5.0","babel-plugin-transform-exponentiation-operator":"6.5.0","babel-plugin-transform-regenerator":"6.5.2","eslint-config-mgol":"0.0.13","grunt":"0.4.5","grunt-babel":"6.0.0","grunt-cli":"0.1.13","grunt-contrib-clean":"1.0.0","grunt-contrib-copy":"1.0.0","grunt-eslint":"18.0.0","grunt-mocha-test":"0.12.7","load-grunt-tasks":"3.4.1","mocha":"2.4.5","time-grunt":"1.3.0"},"scripts":{"test":"grunt"},"engines":{"node":">=0.12.7 <0.13 || >=4.1.1"},"gitHead":"eb8179e018cfe85919477e81b86536686fd9cc18","_id":"gitignore-to-glob@0.2.1","_shasum":"f0ef484bf1430a2fcbdc732d249f30083ee2f8ef","_from":".","_npmVersion":"3.8.0","_nodeVersion":"5.8.0","_npmUser":{"name":"m_gol","email":"m.goleb@gmail.com"},"dist":{"shasum":"f0ef484bf1430a2fcbdc732d249f30083ee2f8ef","tarball":"https://registry.npmjs.org/gitignore-to-glob/-/gitignore-to-glob-0.2.1.tgz","integrity":"sha512-8lCjcEhTgPL2KdCGwMxO6D81TUPo2QHB/iw76tWQ9CLuwM/ZINap9NRgnRW1CzpMUmo08MNrhvFnif+RwCNLww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsPzdWkob28A+tvdrzwkMuf0Txo+PwkViNnMUJFTwKNgIhAOF2N5asEYyH2PkJpa8xMZA+HwdKx0lg7/lGV57tG09Y"}]},"maintainers":[{"name":"m_gol","email":"m.goleb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gitignore-to-glob-0.2.1.tgz_1457564796802_0.4869957936462015"}},"0.3.0":{"name":"gitignore-to-glob","version":"0.3.0","description":"Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)","homepage":"https://github.com/EE/gitignore-to-glob","author":{"name":"Michał Gołębiowski","email":"m.goleb@gmail.com"},"keywords":["gitignore","glob"],"repository":{"type":"git","url":"git+https://github.com/EE/gitignore-to-glob.git"},"bugs":{"url":"https://github.com/EE/gitignore-to-glob/issues"},"license":"MIT","main":"lib/gitignore-to-glob.js","files":["index.js","lib"],"devDependencies":{"eslint-config-mgol":"0.0.33","grunt":"1.0.1","grunt-cli":"1.2.0","grunt-contrib-clean":"1.0.0","grunt-eslint":"19.0.0","grunt-mocha-test":"0.13.2","load-grunt-tasks":"3.5.2","mocha":"3.1.2","time-grunt":"1.4.0"},"scripts":{"test":"grunt"},"engines":{"node":">=4.4 <5 || >=6.9"},"gitHead":"b935769c06222ca62f2998c3712e94c4181f4740","_id":"gitignore-to-glob@0.3.0","_shasum":"59f32ab3d9b66ce50299c3ed24cb0ef42a094ceb","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"m_gol","email":"m.goleb@gmail.com"},"dist":{"shasum":"59f32ab3d9b66ce50299c3ed24cb0ef42a094ceb","tarball":"https://registry.npmjs.org/gitignore-to-glob/-/gitignore-to-glob-0.3.0.tgz","integrity":"sha512-mk74BdnK7lIwDHnotHddx1wsjMOFIThpLY3cPNniJ/2fA/tlLzHnFxIdR+4sLOu5KGgQJdij4kjJ2RoUNnCNMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAaXk4AoBb1agBV3Snn+2keYhL8kbhBOiwgmlxRk2FBYAiEAh9/ILslrTtiujfCtNmPrEQ192Lr8yE8/lCG5KaPt7GQ="}]},"maintainers":[{"name":"m_gol","email":"m.goleb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/gitignore-to-glob-0.3.0.tgz_1477520169428_0.5034194320905954"}}},"readme":"# gitignore-to-glob\n\n> Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)\n\n[![Build Status](https://travis-ci.org/EE/gitignore-to-glob.svg?branch=master)](https://travis-ci.org/EE/gitignore-to-glob)\n[![Build status](https://ci.appveyor.com/api/projects/status/oi2hv39087wp6c00/branch/master?svg=true)](https://ci.appveyor.com/project/mgol/gitignore-to-glob/branch/master)\n## Installation\n\nTo install the package and add it to your `package.json`, invoke:\n\n```shell\nnpm install gitignore-to-glob --save-dev\n```\n\n## Rationale\n\n`.gitignore` uses a different format than the `glob` package used, among others, by Grunt. Sometimes it's desirable\nto exclude files excluded by `.gitignore` in a glob pattern so a transformation function is needed.\n\n## Usage\n\nOnce the package has been installed, it may be used via:\n\n```js\nrequire('gitignore-to-glob')(pathToGitignore, dirsToCheck);\n```\nwhere `pathToGitignore` is `'.gitignore'` by default and `dirsToCheck` is an optional array of directories where we\nassume all files matched by the glob pattern exist. The parameter is optional but may be passed for performance reasons.\nThe rationale is that `.gitignore` patterns not starting with `/` are treated as if a glob pattern started with `**/`\nand that would be expensive as some directories like `node_modules` usually contain a lot of files so excluding them\nall manually would be slow.\n\n\n## Usage Examples\n\nThe most basic usage:\n```js\nrequire('gitignore-to-glob')();\n```\nThis will convert files from the main `'.gitignore'`.\n\n```js\nrequire('gitignore-to-glob')('app/.gitignore', ['app', 'test']);\n```\nThis will convert the `'app/.gitignore'` file but will omit patterns outside directories `app` and `test`.\n\n## Supported Node.js versions\nThis project aims to support all Node.js LTS versions in the \"active\" phase (see [LTS README](https://github.com/nodejs/LTS/blob/master/README.md) for more details) as well as the latest stable Node.js.\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using `npm test`.\n\n## License\nCopyright (c) 2014 Laboratorium EE. Licensed under the MIT license.\n","maintainers":[{"name":"mgol","email":"m.goleb@gmail.com"}],"time":{"modified":"2022-06-18T12:35:59.884Z","created":"2014-08-22T15:48:04.690Z","0.1.0":"2014-08-22T15:48:04.690Z","0.1.1":"2014-08-22T15:51:08.039Z","0.1.2":"2014-08-22T16:20:18.677Z","0.2.0":"2016-03-09T12:33:03.227Z","0.2.1":"2016-03-09T23:06:39.089Z","0.3.0":"2016-10-26T22:16:11.659Z"},"homepage":"https://github.com/EE/gitignore-to-glob","keywords":["gitignore","glob"],"repository":{"type":"git","url":"git+https://github.com/EE/gitignore-to-glob.git"},"author":{"name":"Michał Gołębiowski","email":"m.goleb@gmail.com"},"bugs":{"url":"https://github.com/EE/gitignore-to-glob/issues"},"readmeFilename":"README.md","users":{"mgol":true},"license":"MIT"}