Add html★ to your project in seconds. No build step required.

CDN (Recommended)

The fastest way to get started is via CDN. Add a script tag before </body>:

Or use jsDelivr:

Tip: Pin to a major.minor version (e.g. @0.5) to avoid unexpected breaking changes while still receiving patch updates.

npm

If you prefer npm:

Then import it in your JavaScript:

html★ auto-initializes on import — no setup code needed.

Download

You can also download the files directly:

  • html-star.js — ES Module build (~8.7KB gzipped). Use with <script type="module">.
  • html-star.umd.cjs — UMD build (~7.7KB gzipped). Use with a regular <script> tag.

Verification

To verify html★ is loaded correctly, open your browser console and type: