Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

indexhtmlify

dominictarr72MIT2.0.1

wrap a js file in the minimum html to be browser-runnable

readme

indexhtmlify

Wrap a js bundle in the minimum html to be browser runnable

# bundle and wrap
browserify client.js | indexhtmlify > index.html

# open in browser
open index.html

add metadata tags

use metadataify

browserify client.js | indexhtmlify | metadataify --title "title foo bar"

License

MIT