scat [](https://flattr.com/submit/auto?userid=hughskennedy&url=http://github.com/hughsk/scat&title=scat&description=hughsk/scat%20on%20GitHub&language=enGB&tags=flattr,github,javascript&category=software)[](http://github.com/hughsk/stability-badges)
February 19, 2014 · View on GitHub
Pipe your javascripts straight into your browser.
Inspired by bcat, except instead of
piping HTML or text into scat you just pipe JavaScript – which will get wrapped
up with an index.html and boot up the page for you.
Usage
Either point scat to a JavaScript file:
scat bundle.js
Or pipe your JavaScript into it:
browserify -d index.js | uglifyjs -cm | scat
In the interest of keeping things as simple as possible, there's no command-line flags to use here for now. Enjoy!
License
MIT. See LICENSE.md for details.
