Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughsk/scat
Pipe your javascripts straight into your browser
https://github.com/hughsk/scat
Last synced: 12 days ago
JSON representation
Pipe your javascripts straight into your browser
- Host: GitHub
- URL: https://github.com/hughsk/scat
- Owner: hughsk
- License: mit
- Created: 2014-02-19T16:15:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-02-19T16:15:50.000Z (over 10 years ago)
- Last Synced: 2024-04-26T13:46:55.848Z (7 months ago)
- Language: JavaScript
- Size: 95.7 KB
- Stars: 58
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# scat [![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=hughskennedy&url=http://github.com/hughsk/scat&title=scat&description=hughsk/scat%20on%20GitHub&language=en_GB&tags=flattr,github,javascript&category=software)[![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges) #
Pipe your javascripts straight into your browser.
Inspired by [bcat](https://github.com/kessler/node-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](https://nodei.co/npm/scat.png?mini=true)](https://nodei.co/npm/scat)
Either point scat to a JavaScript file:
``` bash
scat bundle.js
```Or pipe your JavaScript into it:
``` bash
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](http://github.com/hughsk/scat/blob/master/LICENSE.md) for details.