Pipe your javascripts straight into your browser
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.md
README.md
index.html
package.json
scat.js

README.md

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.