{"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":"james.talmage","email":"james.talmage@jrtechnical.com"}],"dist":{"shasum":"0a50d0b9a1e1394b80cbef53720b783d52aff1b3","tarball":"http://registry-npm.ywwl.com/transform-filter/download/transform-filter-0.0.2.tgz","integrity":"sha512-5KQg1tlbryHTewkjMYx9Bf763LKK1SicWcl/Z/atmwIldk9M2oM6Td1RUR5Ztd+35qg/kzuvNkoHz6bYUfinzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsRmkkzxbp/EtAZ94gDg/iJkmud2CvaBL1ADtYUtT2WAiEAhhANje1kvCFYDwti7t+oMH7sveJtk9FiA7sB5SzTSUs="}],"size":2182,"noattachment":false,"key":"/transform-filter/-/transform-filter-0.0.2.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":1424738752056,"_cnpm_publish_time":1424738752056,"dist-tags":{"latest":"0.1.1"}}