node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

scat

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.