Socket
Book a DemoInstallSign in
Socket

indexhtmlify

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

indexhtmlify

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

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
2
Created
Source

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

FAQs

Package last updated on 17 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts