{"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":"james.talmage","email":"james.talmage@jrtechnical.com"}],"dist":{"shasum":"cd0e86affe5c394550070abd450edcc90d9e30d0","tarball":"http://registry-npm.ywwl.com/transform-filter/download/transform-filter-0.1.0.tgz","integrity":"sha512-U3XY8/E65IB8SqVw2s1nCLyddizchzEG7tEV6MExUOuLc9FI3A/kc12VgJnYn3rxNuWGjCo1YLFfg2chjIfUqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+0PM6COkGu006S2GrrYbvvYB/4VTvF1XjiUYYepeRKgIgPT1Yfkky0M/wWq/xv+r6WR5YrxBeVHtuhmvsZ71lLnI="}],"size":2436,"noattachment":false,"key":"/transform-filter/-/transform-filter-0.1.0.tgz"},"directories":{},"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","publish_time":1424771614535,"_cnpm_publish_time":1424771614535,"dist-tags":{"latest":"0.1.1"}}