{"_id":"transform-filter","_rev":"370396","name":"transform-filter","description":"Filter which files your browserify transforms will affect using glob patterns","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}],"time":{"modified":"2021-07-26T06:59:24.000Z","created":"2015-02-24T00:06:56.808Z","0.1.1":"2015-02-24T10:13:05.584Z","0.1.0":"2015-02-24T09:53:34.535Z","0.0.2":"2015-02-24T00:45:52.056Z","0.0.1":"2015-02-24T00:06:56.808Z"},"users":{},"author":{"name":"James Talmage"},"repository":{"type":"git","url":"https://github.com/jamestalmage/transform-filter.git"},"versions":{"0.1.1":{"name":"transform-filter","version":"0.1.1","description":"Filter which files your browserify transforms will affect using glob patterns","main":"index.js","scripts":{"test":"mocha","cover":"istanbul cover _mocha"},"repository":{"type":"git","url":"https://github.com/jamestalmage/transform-filter.git"},"keywords":["browserify","transform","filter","include","exclude","glob","pattern"],"author":{"name":"James Talmage"},"license":"MIT","bugs":{"url":"https://github.com/jamestalmage/transform-filter/issues"},"homepage":"https://github.com/jamestalmage/transform-filter","devDependencies":{"chai":"^2.0.0","istanbul":"^0.3.6","mocha":"^2.1.0","proxyquire":"^1.3.1","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"dependencies":{"multimatch":"^2.0.0","through":"^2.3.6"},"gitHead":"b17071e2d0a30367d41f6f26fc1ab7b1534d76ff","_id":"transform-filter@0.1.1","_shasum":"806f851b6e440b23788fd38ca0431b502025ba59","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"james.talmage","email":"james.talmage@jrtechnical.com"},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}],"dist":{"shasum":"806f851b6e440b23788fd38ca0431b502025ba59","size":2638,"noattachment":false,"key":"/transform-filter/-/transform-filter-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/transform-filter/download/transform-filter-0.1.1.tgz"},"directories":{},"publish_time":1424772785584,"_cnpm_publish_time":1424772785584,"_hasShrinkwrap":false},"0.1.0":{"name":"transform-filter","version":"0.1.0","description":"Filter which files your browserify transforms will affect using glob patterns","main":"index.js","scripts":{"test":"mocha","cover":"istanbul cover _mocha"},"repository":{"type":"git","url":"https://github.com/jamestalmage/transform-filter.git"},"keywords":["browserify","transform","filter","include","exclude","glob","pattern"],"author":{"name":"James Talmage"},"license":"MIT","bugs":{"url":"https://github.com/jamestalmage/transform-filter/issues"},"homepage":"https://github.com/jamestalmage/transform-filter","devDependencies":{"chai":"^2.0.0","istanbul":"^0.3.6","mocha":"^2.1.0","proxyquire":"^1.3.1","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"dependencies":{"multimatch":"^2.0.0","through":"^2.3.6"},"gitHead":"af7b583dcb4917170e3f79de04243d8ea1bfa72e","_id":"transform-filter@0.1.0","_shasum":"cd0e86affe5c394550070abd450edcc90d9e30d0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"james.talmage","email":"james.talmage@jrtechnical.com"},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}],"dist":{"shasum":"cd0e86affe5c394550070abd450edcc90d9e30d0","size":2436,"noattachment":false,"key":"/transform-filter/-/transform-filter-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/transform-filter/download/transform-filter-0.1.0.tgz"},"directories":{},"publish_time":1424771614535,"_cnpm_publish_time":1424771614535,"_hasShrinkwrap":false},"0.0.2":{"name":"transform-filter","version":"0.0.2","description":"Filter which files your browserify transforms will affect using glob patterns","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jamestalmage/transform-filter.git"},"keywords":["browserify","transform","filter","include","exclude","glob","pattern"],"author":{"name":"James Talmage"},"license":"MIT","bugs":{"url":"https://github.com/jamestalmage/transform-filter/issues"},"homepage":"https://github.com/jamestalmage/transform-filter","devDependencies":{"chai":"^2.0.0","mocha":"^2.1.0","proxyquire":"^1.3.1","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"dependencies":{"multimatch":"^2.0.0","through":"^2.3.6"},"gitHead":"ab0c178dc4d87e0f6b1fca0ecaccad9831949605","_id":"transform-filter@0.0.2","_shasum":"0a50d0b9a1e1394b80cbef53720b783d52aff1b3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"james.talmage","email":"james.talmage@jrtechnical.com"},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}],"dist":{"shasum":"0a50d0b9a1e1394b80cbef53720b783d52aff1b3","size":2182,"noattachment":false,"key":"/transform-filter/-/transform-filter-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/transform-filter/download/transform-filter-0.0.2.tgz"},"directories":{},"publish_time":1424738752056,"_cnpm_publish_time":1424738752056,"_hasShrinkwrap":false},"0.0.1":{"name":"transform-filter","version":"0.0.1","description":"Filter which files your browserify transforms will affect using glob patterns","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jamestalmage/transform-filter.git"},"keywords":["browserify","transform","filter","include","exclude","glob","pattern"],"author":{"name":"James Talmage"},"license":"MIT","bugs":{"url":"https://github.com/jamestalmage/transform-filter/issues"},"homepage":"https://github.com/jamestalmage/transform-filter","devDependencies":{"chai":"^2.0.0","mocha":"^2.1.0","proxyquire":"^1.3.1","sinon":"^1.12.2","sinon-chai":"^2.7.0"},"dependencies":{"multimatch":"^2.0.0","through":"^2.3.6"},"gitHead":"4a4ba971c11ed4872650f832582d675179a03e58","_id":"transform-filter@0.0.1","_shasum":"6aa3da99a16514772115a861b65013232e94a7c1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"james.talmage","email":"james.talmage@jrtechnical.com"},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}],"dist":{"shasum":"6aa3da99a16514772115a861b65013232e94a7c1","size":2001,"noattachment":false,"key":"/transform-filter/-/transform-filter-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/transform-filter/download/transform-filter-0.0.1.tgz"},"directories":{},"publish_time":1424736416808,"_cnpm_publish_time":1424736416808,"_hasShrinkwrap":false}},"readme":"transform-filter\n================\n\n  Filter [browserify](https://github.com/substack/node-browserify) transforms using glob patterns.\n\ninstall\n-------\n\n```\nnpm install transform-filter\n```\n\nusage\n-----\n\n  suspend your disbelief for a second and pretend that [coffeeify](https://github.com/substack/coffeeify) didn't filter the files itself:\n\n```javascript\nvar filterCoffee = filterTransform( coffeeify, {\n  include: ['**/*.coffee'],  // only run transform on matching files\n  exclude: ['**/subdir/**'], // because you don't want coffee files in `subdir` processed for some reason.\n  base: '/'                  // glob patterns matched relative to this `base` (defaults to process.cwd())\n});\n```\n\n  * `include` defaults to matching everything (i.e. everything is included).\n  * `exclude` defaults to matching nothing (i.e. nothing is excluded).\n  * You can use a `!` as the first character of any pattern to negate it\n\n     `exclude:['tests/**','!tests/utils.js']` excludes everything in the tests directory except `utils.js`\n\n  * Patterns can be a string, array of strings, null or undefined.\n  * `base` option is computed relative to `process.cwd()`. `base:'..'` would match from the parent directory.\n  Use a leading `/` for absolute urls.\n  * Exclude takes precedent over include.\n\n\nIf you need more control than glob patterns offer, check out [filter-transform](https://www.npmjs.com/package/filter-transform).\n\nIt offers similar filtering via a user supplied callback, and sparked the idea behind this module.\n\n\nlicence\n-------\n\n  MIT. &copy; James Talmage","_attachments":{},"homepage":"https://github.com/jamestalmage/transform-filter","bugs":{"url":"https://github.com/jamestalmage/transform-filter/issues"},"license":"MIT"}