{"_id":"transformify","_rev":"9-ce8ca2ca1235682cc1f9c6c0c2b5e633","name":"transformify","description":"Takes a synchronous function that transforms a string and converts it into a transform compatible with browserify, catw and mutiny.","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"transformify","version":"0.1.0","description":"Takes a synchronous function that transforms a string and converts it into a transform compatible with browserify, catw and mutiny.","main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.8":"nave use 0.8 npm run test-main","test-0.10":"nave use 0.10 npm run test-main","test-all":"npm run test-main && npm run test-0.8 && npm run test-0.10","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/transformify.git"},"homepage":"https://github.com/thlorenz/transformify","dependencies":{"readable-stream":"~1.1.9"},"devDependencies":{"nave":"~0.4.3","tap":"~0.4.3","apply-transform":"~0.1.3"},"keywords":[],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/transformify/blob/master/LICENSE"},"engine":{"node":">=0.6"},"bugs":{"url":"https://github.com/thlorenz/transformify/issues"},"_id":"transformify@0.1.0","dist":{"shasum":"7c09e34ef3f07c2a7e6cbc4c711c7cb57e52a6d8","tarball":"https://registry.npmjs.org/transformify/-/transformify-0.1.0.tgz","integrity":"sha512-eV/bCfs8dynCiCy4UmtYaDbmX6ZAk4yy/u0cSV4xzmCtXt4e7v9iKdusiumgI5lcf2aQww4MIvHxTtwDPQK0gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCFa5bbXYWnv4K4ofYFRKhDwWL4iOanHkXZtk5PnzR4AiBzYtr53gkGmO5+RB7VcIEycUA6vrq2b+fz6Fd3CRH99g=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{}},"0.1.1":{"name":"transformify","version":"0.1.1","description":"Takes a synchronous function that transforms a string and converts it into a transform compatible with browserify, catw and mutiny.","main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.8":"nave use 0.8 npm run test-main","test-0.10":"nave use 0.10 npm run test-main","test-all":"npm run test-main && npm run test-0.8 && npm run test-0.10","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/transformify.git"},"homepage":"https://github.com/thlorenz/transformify","dependencies":{"readable-stream":"~1.1.9"},"devDependencies":{"nave":"~0.4.3","tap":"~0.4.3","apply-transform":"~0.1.3"},"keywords":["transform","stream","browserify","catw","mutiny"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/transformify/blob/master/LICENSE"},"engine":{"node":">=0.6"},"bugs":{"url":"https://github.com/thlorenz/transformify/issues"},"_id":"transformify@0.1.1","dist":{"shasum":"c4995041d9b13ccdbb5b0ac7931fb569d9b4aff4","tarball":"https://registry.npmjs.org/transformify/-/transformify-0.1.1.tgz","integrity":"sha512-sByzfPhf/QeET2qKnrIhftm7aorjp5RfGs5GUjKtbW3aWBFHdC0NHve/JribVVH4TNnne+WD99VJF7kKE4Kkgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVkOLxPufFgiYED3zbJpIBeId2oF+Uw9qpw6BtiG3fTwIhAI4qBhxzdqCd3x4bBAkImu+ufbfDAAyaChrqRLoh9kc3"}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{}},"0.1.2":{"name":"transformify","version":"0.1.2","description":"Takes a synchronous function that transforms a string and converts it into a transform compatible with browserify, catw and mutiny.","main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.8":"nave use 0.8 npm run test-main","test-0.10":"nave use 0.10 npm run test-main","test-all":"npm run test-main && npm run test-0.8 && npm run test-0.10","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/transformify.git"},"homepage":"https://github.com/thlorenz/transformify","dependencies":{"readable-stream":"~1.1.9"},"devDependencies":{"nave":"~0.4.3","tap":"~0.4.3","apply-transform":"~0.1.3"},"keywords":["transform","stream","browserify","browserify-transform","catw","mutiny"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/transformify/blob/master/LICENSE"},"engine":{"node":">=0.6"},"bugs":{"url":"https://github.com/thlorenz/transformify/issues"},"_id":"transformify@0.1.2","dist":{"shasum":"9a4f42a154433dd727b80575428a3c9e5489ebf1","tarball":"https://registry.npmjs.org/transformify/-/transformify-0.1.2.tgz","integrity":"sha512-BUZAqCslm5pVXExA8PfXcvp7exsUNqRcNzx+KXj3Bv0oMROqnAt4bvs9U8Z2wVPa40NvLWJ/oswN0kreNFxBUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8loOyH4lZmMhQfSLbf6rJcbhDUJg+qq/WzTTuL3zvSAiBYnP25BbiGzb04aoTq7/2Nfyl3uAlap2YNv7njN0C/UQ=="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}]}},"readme":"# transformify [![build status](https://secure.travis-ci.org/thlorenz/transformify.png)](http://travis-ci.org/thlorenz/transformify)\n\nTakes a synchronous function that transforms a string and converts it into a transform compatible with browserify, catw and mutiny.\n\n```js\nvar transformify = require('transformify');\n\nfunction toUpper(s) {\n  return s.toUpperCase();\n}\n\nrequire('fs').createReadStream(__filename)\n  .pipe(transformify(toUpper)(/* file not used */))\n  .pipe(process.stdout);\n```\n\n### Output\n\n```\nVAR TRANSFORMIFY = REQUIRE('TRANSFORMIFY')\n\nFUNCTION TOUPPER(S) {\n  RETURN S.TOUPPERCASE();\n}\n\nREQUIRE('FS').CREATEREADSTREAM(__FILENAME)\n  .PIPE(TRANSFORMIFY(TOUPPER)(/* FILE NOT USED */))\n  .PIPE(PROCESS.STDOUT);\n```\n\n## Installation\n\n    npm install transformify\n\n## API\n\n### transformify(fn)\n```\n/**\n * Takes a synchronous function that transforms a string and returns a transform compatible with browserify, catw and mutiny.\n * \n * @name transformify\n * @function\n * @param {Function(String):String} fn \n * @return {Function(String):TransformStream} function that returns a transform stream\n */\n```\n\n## License\n\nMIT\n","maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"time":{"modified":"2022-06-27T20:18:08.900Z","created":"2013-12-16T22:52:34.316Z","0.1.0":"2013-12-16T22:52:35.259Z","0.1.1":"2013-12-27T18:01:42.569Z","0.1.2":"2014-01-21T21:41:46.059Z"},"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"repository":{"type":"git","url":"git://github.com/thlorenz/transformify.git"},"readmeFilename":"README.md"}