{"_id":"bfydir","_rev":"32-351797a5e007e1ec617ee0a9b52c05dc","name":"bfydir","description":"http-server to browserify *.js in a dir","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.6":{"name":"bfydir","version":"0.0.6","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":"","author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.1","st":"~0.2.1","mkdirp":"0.3.5","through":"~2.3.4","optimist":"0.5.2"},"devDependencies":{"request":"~2.21"},"_id":"bfydir@0.0.6","dist":{"shasum":"3948bb1ff608e2cfaead6a4b072d0783f3ba8965","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.6.tgz","integrity":"sha512-g8FbjRW1DzxslKUGgQvsYoJ1SXKYvovnFT1YqAQNawUVvmw73IMpDBjavphlpTSlxdeAFNgwqFG3mC+NI2Subg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCrf/xlKlGSXXe6hSp7X6tmXplhygCm383ldFdBsFkmwIhAMwpx9uTGTrljtmZdLkuCOQ/sX7sXNn7VclStQZCz3Ag"}]},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"directories":{}},"0.0.7":{"name":"bfydir","version":"0.0.7","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":"","author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.1","st":"~0.2.1","mkdirp":"0.3.5","through":"~2.3.4","optimist":"0.5.2"},"devDependencies":{"request":"~2.21"},"_id":"bfydir@0.0.7","dist":{"shasum":"353058bd5d55e7a7c9759cf1d65d8e6f35bc11c6","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.7.tgz","integrity":"sha512-iERQztv0EHWFs3NwCSMOijMRB5pFADbuaFbUpO8dOo+wOUbzPzr+jnaIpDUcxsAO1xEXp/pt5G0qdZ/KTrceKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUZConlBrts9SAWh4ltRv8iU4It4rYy62Shkx3zXYJuAiEA3z97pJVR6L8NISSx5cX5tXz0HwEHdi/+sM86JC+LMJs="}]},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"directories":{}},"0.0.8":{"name":"bfydir","version":"0.0.8","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":"","author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.1","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"_id":"bfydir@0.0.8","dist":{"shasum":"21a97248f0f1733b3994f685e7ac7102a4aaf860","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.8.tgz","integrity":"sha512-3Bie1nAIr0hSRP1WD7msooGlon34zh6Orb5cQzE18vB+4YDhYvpDCYmNaZcJrQHcEJMVABecGTHhWwwznlbmBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7POcV4wSek65VxWrpWAaZcGjlmtC0oyuT82rngM0sDAiAiIoA3S+5FSz1yCmOimgKKYlNPpCXW0nsTehEoyqTUKg=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"directories":{}},"0.0.9":{"name":"bfydir","version":"0.0.9","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":"","author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.1","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"_id":"bfydir@0.0.9","dist":{"shasum":"ad5fe3ce525cee6fd1714a687b8056214dcbbbf5","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.9.tgz","integrity":"sha512-TE2qNGdq3zIphIZHuZu6a0ITRVCLPe+EO0iWg3G2BxzO9MJQ2GeBeqCebk5cLNJlJDYTMHM87UHbpt3rUgz8YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYW2nNySuO5wGe3rz6EKDccmyr0ngtP0ub2OV7jJKU2QIhAOlKZjcwDPh9NoN7qS+2KdY40MNUGo4BBwwLqfcQZpWZ"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"directories":{}},"0.0.10":{"name":"bfydir","version":"0.0.10","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":"","author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.1","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"_id":"bfydir@0.0.10","dist":{"shasum":"42366dca9bee0b6d8c0634c0118777a9718167f5","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.10.tgz","integrity":"sha512-cukqO+A3Dp/w/NDGXF/nED2v5tW82GYJehRnyHLPv0b/vaaSnbgxuyt+viWxN0tKsDBSv9rYtVBFKsIVerpq2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP2CaCcaxjuHD+DIH6LQ9FkC+DtwIUQzrq4YCWFaPUQgIgFo0b2Vr+fVpKYBefPTLQoTOn2LYuGdo4ZMltEQVQ8W0="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"directories":{}},"0.0.11":{"name":"bfydir","version":"0.0.11","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":"","author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.1","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"_id":"bfydir@0.0.11","dist":{"shasum":"f914612803650b1b7554ec1d851b0767ad377680","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.11.tgz","integrity":"sha512-7TLsy4gBAw4B4XXJN7AhB66g/WdqwuuM17O4E0Xe81FW2EAeiLigLqqH/ABoqA09/FSOADPS8D8BqSFtnRRU6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQWoQzI9MrQsrbhHlEzivuK1R6Qc8IxmuOOz/dJkex0AiEAtQUpRxrBDW/3DniYQgRXrzMhxQkoUL+5S0WMr8ARKiY="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"directories":{}},"0.0.12":{"name":"bfydir","version":"0.0.12","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":"","author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.1","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"_id":"bfydir@0.0.12","dist":{"shasum":"df598ebb6c7fb5026fe46a21caf30387e65e7443","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.12.tgz","integrity":"sha512-+HOhC+dvPnOexATOKRGEE5xMONQ3tP6aNpb48aQvN6dkTQDincP/Bz8VJoW/JtMWa8La5gy88Jfw08+juWYMkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD0qUnJj8BQQW/XGcFYyJEUqGk6eaquYFUMxlU/J236gIgGm8n8Sh1q2ut2fzvH+meqokp1ioEGKBM8/1hUY505iY="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"directories":{}},"0.0.13":{"name":"bfydir","version":"0.0.13","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":"","author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.1","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"_id":"bfydir@0.0.13","dist":{"shasum":"863ec60040c6e7c724672fd46f7fa5957753cd69","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.13.tgz","integrity":"sha512-gugXAFAIajZymaXOuQz8pNGOd8XCYThPZijW8kpA8WL5XcPI1sR4MhdAt+Ia78RyS2AcpvwlJMqcOl2vwIjQWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGIul+ioO0YahfjzBf0TFsbUBF7EPh44Ifi7jPR3vmrAiBsnSh7o6PCbnKZGbKLu8R55qjAvmg0vYWLoThWwPfciQ=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"directories":{}},"0.0.14":{"name":"bfydir","version":"0.0.14","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"keywords":["browserify"],"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"~0.5.0","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"homepage":"https://github.com/guybrush/bfydir","_id":"bfydir@0.0.14","dist":{"shasum":"a675bd93683426cd6491f0235263edf51f1bccec","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.14.tgz","integrity":"sha512-3EfuGUa2lLt6jE3t8cSpJcKTRo/rw+FXQ+yMWeMstF4AoEDQ+oeIvYZ2411/RsW7bKAJWZUc5jFiZxoJVSEsvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9s0yOTzboRROiByOyf6Xzoy2mua4QwYbX+qXUm6663AiAlgPd0gMyse4M6DrTbDFFdFZfrwpyBOJPShLKRmbiPaQ=="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}]},"0.0.15":{"name":"bfydir","version":"0.0.15","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"keywords":["browserify"],"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"^0.6.1","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"homepage":"https://github.com/guybrush/bfydir","_id":"bfydir@0.0.15","dist":{"shasum":"6c7b0b8b05b56887200b556c674e9c6b63b7fb11","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.15.tgz","integrity":"sha512-vbj4+n7C/orHZ8LMG+w+sgWRUOJpu0H8gNNWcd/mcOQNEK5FEWrCucOE26aF3hnSDGCfYzGHTMvqpWc+fNr63g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWOgQoPwdBemH94b+I9oZrGcsm4+jd2yLt7YzcQd/0aAiBsyHH+xEw90mkzxVjyaYKdbOg+0kSVeLgGLPktDpUL+Q=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}]},"0.0.16":{"name":"bfydir","version":"0.0.16","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"keywords":["browserify"],"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"^0.6.1","st":"~0.2.3","mkdirp":"~0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"homepage":"https://github.com/guybrush/bfydir","_id":"bfydir@0.0.16","dist":{"shasum":"7dfc9536d7119516285ae0b7d0386e64395c7356","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.16.tgz","integrity":"sha512-ncyBx8z7X6p4JziXAn14p9f3ESmLEAy4wm4OjPsJHo1gSHgD1zz1UcUer3zBbh6XAaCbmAyrMKBEMhSlIU0qig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSiwgsBhPIgbZELP19U5atmHLC3YmmuOqjVJHXJkQcaAiASLN3jn13j9uZg8b4EE+WQHIvKDzM0woQLTH/wPRJVYQ=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}]},"0.0.17":{"name":"bfydir","version":"0.0.17","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"keywords":["browserify"],"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"^0.7.0","st":"0.2.4","mkdirp":"^0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"homepage":"https://github.com/guybrush/bfydir","_id":"bfydir@0.0.17","dist":{"shasum":"aefad6b7ac2b476a130d50b37437f3e54ec9fb6d","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.17.tgz","integrity":"sha512-WDyz5mQmwA8Jw5gxtJevVW2vcO5f6R/p+i9JqBTphNw3QG4n6YQw+1t8w7QKxkNg8+Zaj0y2hQT1x5dEvbJZAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0AiZwltU6RMthx2fWCuWTM5ICjtHrYMlzfkVLVGc/QAiEAiLOUNXP/XlkUHe2aC2DXmxXchOEUJOS3iHhTVKHdkdE="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}]},"0.0.18":{"name":"bfydir","version":"0.0.18","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"keywords":["browserify"],"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"^0.7.0","st":"0.2.4","mkdirp":"^0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"homepage":"https://github.com/guybrush/bfydir","_id":"bfydir@0.0.18","dist":{"shasum":"26e3e49f58ebb05a552b6faacc9c93f0a092841a","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-0.0.18.tgz","integrity":"sha512-XtQSj/3Pn4jRBKNphZsZPAwvOHOr90wxtqWXUnH3BCS2d3XgnuVdKABYzSDrWGvtwikuynFce2ERC+jRBeIYZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC6hXDTKTbWkOLWH4M7ekYINV92wNB9QDS9Ombg0cFu0AiEAwNKITWuRfTVsPhOZGaRZs/pLdOtzDlw+JoX+YrUhiQQ="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}]},"1.0.0":{"name":"bfydir","version":"1.0.0","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"keywords":["browserify"],"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"^0.7.0","st":"0.2.4","mkdirp":"^0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"homepage":"https://github.com/guybrush/bfydir","_id":"bfydir@1.0.0","dist":{"shasum":"937770ae650b288c1d5da8bacc5094ecf30093f7","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-1.0.0.tgz","integrity":"sha512-DqbbydwyzIXtnfnqke0wPrd+O8CDZ0ygRChA3XdoO86uxoVbB0R55m1seSW1XJGDrII8fF++ChRLccp2dEREgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEy3LYqe/WCMXzG018thS+vIP7DIip1YQuMYVw4aGZUmAiAZxZ2ULTEgyhofNcZR+GuXR6eOct1WjVukhdfOHGOAhg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}]},"1.0.1":{"name":"bfydir","version":"1.0.1","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"keywords":["browserify"],"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"watchify":"^0.7.0","st":"0.2.4","mkdirp":"^0.3.5","through":"~2.3.4","optimist":"~0.5.2","esmangle":"~0.0.17","esprima":"~1.0.4","escodegen":"~1.0.0"},"devDependencies":{"request":"~2.21"},"bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"homepage":"https://github.com/guybrush/bfydir","_id":"bfydir@1.0.1","dist":{"shasum":"6846ce7c7cae25f1cff5bf746448f85d52d2c40a","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-1.0.1.tgz","integrity":"sha512-ovfILf2FtcJYaj87esbiXkHMVD6aEJWejjrLoFZO2VMyMJ+zkqNxrhL5dSJXml1e8JWLAHvIpFfBuaFXte7Mng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPMzoCm4hoJnSrSSqPhjA0B5P5CLaGYHYINIlNgA3r2AiA1Rl5djdO/iwKZeq3H/w5g7E/AFqNFQuKj3ITT/n7JjQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}]},"2.0.0":{"name":"bfydir","version":"2.0.0","description":"http-server to browserify *.js in a dir","main":"bfydir.js","bin":{"bfydir":"bin/bfydir.js"},"scripts":{"test":"node test/run.js"},"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"keywords":["browserify"],"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"license":"MIT","dependencies":{"basic-auth":"^1","browserify":"^8","bundle-collapser":"^1","compression":"^1","finalhandler":"0.3.3","mkdirp":"^0.3.5","optimist":"~0.5.2","serve-index":"^1","serve-static":"^1","through":"~2.3.4","uglify-js":"2.4.16","watchify":"^2"},"devDependencies":{"request":"^2"},"gitHead":"70d94970742812445001a86ae23500e8dab55ce8","bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"homepage":"https://github.com/guybrush/bfydir","_id":"bfydir@2.0.0","_shasum":"221186aa06271f01a146cdf35d067ac9b72e0589","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"guybrush","email":"patrick@buzzle.at"},"maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"dist":{"shasum":"221186aa06271f01a146cdf35d067ac9b72e0589","tarball":"https://registry.npmjs.org/bfydir/-/bfydir-2.0.0.tgz","integrity":"sha512-qd3FmGOkMG71v2e3ZeF93LivgzR96Ytw0lGi/Qkw7GBwrrOCMkNGLN7VJ+IuKLBSUVBSd+eIMj8mYNbfjyDAFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDRlf2/wNciK1LcT4Q21yjns/OH/2XkTCCzttF7gj1zAiEA820KlV6owxv1fn1d2p+97ppKxktWULjdZ8Pua3UuGCA="}]}}},"readme":"# bfydir\n\na http-server which [watchify](https://github.com/substack/watchify)'s\nall the files in a dir simultaneously uppon request. also it supports\nminifying js-files and inlining it into html-tags:\n`<html><body><script>/* bundled source here */</script></body></html>`.\n\n## cli\n\n```\nbfydir [<dir>] [-p,--port <port>] [-b,--bundles <bundles>] [-d,--debug]\n       [--key <key>] [--cert <cert>] [--pfx <pfx>]\n       [-a,--auth <user>:<pwd>[,<user>:<pwd>]]\n       [-h,--help]\n\n    <dir>     .. serve files from that directory (default: pwd)\n    <port>    .. listen on that port (default: 8001)\n    <bundles> .. write bundles into that directory (default: <dir>/.bfydir-bundles)\n    debug     .. write infos about bundling/minifying to stdout\n    <key>     .. path to ssl-key-file\n    <cert>    .. path to cert-key-file\n    <pfx>     .. path to pfx-file\n    auth      .. basic auth (comma separated list of user:pwd\n    help      .. only show this message, otherwise just start bfydir\n\nquerystring-parameters:\n\n    bundle, b    .. bundles the requested file instead of serving it\n    min, m       .. minifies the bundle (sets b automatically)\n    inline, i    .. inlines the bundle into html (sets b)\n    transform, t .. comma-separated list of transforms (sets b)\n    ignore       .. comma-separated list of modules to ignore (sets b)\n\nexample:\n\n    $ bfydir ~ -p 8080 -a user1:pwd1,user2:pwd2\n    $ echo \"module.exports = 'a'\" > ~/a.js\n    $ echo \"module.exports = 'b'\" > ~/b.js\n    $ echo \"console.log(require('./a'), require('./b'))\" > ~/c.js\n    $ node -e `curl \"http://user1:pwd1@localhost:8005/c.js?b\"`\n    a b\n```\n\n## usage\n\ninstall bfydir and start the server:\n```\n$ npm i -g bfydir\n$ bfydir ~ -p 8005\n```\n\nwrite code:\n```\n$ echo \"module.exports = 'a'\" > ~/a.js\n$ echo \"module.exports = 'b'\" > ~/b.js\n$ echo \"console.log(require('./a'), require('./b'))\" > ~/c.js\n```\n\ncreate a bundle:\n```\n$ node -e `curl http://localhost:8005/c.js?bundle`\na b\n```\n\nwhen you change the code it will update the bundles:\n```\n$ echo \"module.exports = 'foo'\" > ~/a.js\n$ node -e `curl http://localhost:8005/c.js?bundle`\nfoo b\n```\n\nwith the `inline` querystring-parameter it wrap the bundle with html-tags:\n```\n$ curl http://localhost:8005/c.js?inline\n<html><body><script>/* bundled source */</script></body></html>\n```\n\ninline and minify:\n```\n$ curl http://localhost:8005/c.js?inline&min\n<html><body><script>/* bundled source minified */</script></body></html>\n```\n\nuse one or multiple transforms:\n```\n$ curl http://localhost:8005/some-file.js?transform=glslify,otherTransform\n< transformed bundle >\n```\n\nwithout any querystring-parameters it will serve the source without bundling:\n```\n$ curl http://localhost:8005/a.js\nmodule.exports = 'foo'\n```\n\n## api\n\n### `var bfydir = require('bfydir')([opts])`\n\n`opts` is optional\n\n* `opts.dir` - serve files from that directory (default: `process.cwd()`)\n* `opts.bundles` - write bundled files into that directory\n  (default: `process.cwd()+'/.bfydir-bundles'`)\n\n`bfydir` is an eventemitter which emits following events:\n\n* `bundling`\n* `bundling:<path>`\n* `bundled`\n* `bundled:<path>`\n* `minifying`\n* `minifying:<path>`\n* `minified`\n* `minified:<path>`\n\n`<path>` is the url-pathname of the served bundle\n\nall the events emit with a info-object:\n\n```\nbfydir.on('bundled', function(info){\n  // info.urlPath\n  // info.entryPath\n  // info.bundlePath\n  // info.bundlePathMin (only when minifying)\n  // info.bundleSize\n  // info.bundleSizeMin\n})\n```\n\n### `var server = bfydir.createServer()`\n\n`server` is a http-server, its a shortcut for\n`http.createServer(this.requestHandler())`\n\n### `var handler = bfydir.requestHandler()`\n\nthis is a shortcut for `var handler = bfydir.handleRequest.bind(bfydir)`\n\n### `bfydir.handleRequest(req, res[, next])`\n\nthis will look at the query-string object `require('url').parse(req.url)`\nfor various member attributes:\n\n* `bundle` or `b` - if set pipe a browserify-bundle-stream into `res` (or if the\n  bundle exists on disk pipe it directly from disk)\n* `inline` or `i` - if set pipe the content through `bfydir.inlineStream()`\n* `min` or `m` - if set pipe the content through `bfydir.minifyStream()`\n* `transform` or `t` - (comma-separated list) if set use these transforms\n* `ignore` - (comma-separated list) if set tell browserify to ignore\n\n### `var bStream = bfydir.bundleStream(opts)`\n\n* `bStream` is a through-stream in which a browserify-bundle-stream gets\n  piped into. the result gets piped to disk.\n* `opts` must be an object\n  * `opts.urlPath` is used to identify the bundle-watcher\n  * `opts.entryPath`\n  * `opts.bundlePath`\n  * `opts.bundleOpts`\n\n### `var mStream = bfydir.minifyStream(opts)`\n\n* `mStream` is a through-stream which buffers all content and then minifys it.\n  then it writes the result to disk (so actually its just uglifyjs pretending\n  to be streaming :D).\n* `opts` must be an object\n  * `opts.urlPath`\n  * `opts.bundlePathMin`\n  * `opts.entryPath`\n\n### `var iStream = require('bfydir').inlineStream([sourcePath])`\n\n* if `sourcePath` is set, `fs.createReadStream(bundlePath)` gets piped through\n  the stream\n* `iStream` is a through-stream which envelops the content into html-tags:\n\n```\n<html>\n  <head>\n    <meta content=\"width=device-width,\n                   initial-scale=1.0,\n                   maximum-scale=1.0,\n                   user-scalable=0\"\n          name=\"viewport\" />\n    <meta charset=utf-8>\n  </head>\n  <body>\n    <script>\n      /* here is the content */\n    </script>\n  </body>\n</html>\n```\n\n### `bfydir.close()`\n\nclose all the watchify-bundle-watchers\n\n","maintainers":[{"name":"guybrush","email":"patrick@buzzle.at"}],"time":{"modified":"2022-06-13T04:34:33.806Z","created":"2013-09-08T19:08:37.671Z","0.0.6":"2013-09-08T19:08:41.055Z","0.0.7":"2013-09-08T20:30:52.657Z","0.0.8":"2013-12-03T12:21:43.621Z","0.0.9":"2013-12-03T13:48:27.958Z","0.0.10":"2013-12-03T15:48:46.775Z","0.0.11":"2013-12-03T16:23:32.541Z","0.0.12":"2013-12-20T07:26:13.590Z","0.0.13":"2013-12-20T07:46:24.782Z","0.0.14":"2013-12-29T01:25:47.256Z","0.0.15":"2014-03-21T22:48:01.049Z","0.0.16":"2014-03-24T02:11:39.885Z","0.0.17":"2014-04-14T13:29:53.308Z","0.0.18":"2014-04-14T13:35:24.868Z","1.0.0":"2014-04-14T15:20:00.960Z","1.0.1":"2014-04-14T15:23:10.149Z","2.0.0":"2015-02-21T05:47:32.956Z"},"author":{"name":"Patrick Pfeiffer","email":"patrick@buzzle.at"},"homepage":"https://github.com/guybrush/bfydir","keywords":["browserify"],"repository":{"type":"git","url":"git://github.com/guybrush/bfydir"},"bugs":{"url":"https://github.com/guybrush/bfydir/issues"},"license":"MIT","readmeFilename":"README.md"}