Wrap a js bundle in a script tag
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.
README.md
index.js
package.json

README.md

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