scriptagify

Wrap a js bundle in a script tag

npm install scriptagify
4 downloads in the last month

scriptagify

Wrap a js bundle in a script tag

Heavily inspired by indexhtmlify

Works great with webpager

echo 'console.log("in a bundle!")' > /tmp/b.js
browserify /tmp/b.js | scriptagify | webpager

License

MIT

npm loves you