scat

Pipe your javascripts straight into your browser

npm install scat
2 downloads in the last week
2 downloads in the last month

scat Flattr this!experimental

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

scat

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.

npm loves you