New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hdot

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hdot

A functional, buildless, and type-safe way to write HTML in JavaScript.

0.0.7
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

hdot

A sensible way to write HTML in JavaScript.

  • Type-safe. Helps you follow the HTML spec.
  • Terse. Almost character for character with plain HTML.
  • Buildless. Runs in the browser, the server, the gym.
  • Tiny. ~900 bytes (minified and gzipped). No dependencies. Size Limit controls the size.

* not affiliated with the Hawaii Department of Transportation

Read the docs

import { h } from "hdot";

h.div(
  h.h1`hdot`,
  h.p`Type-safe HTML templates`,
  h.a.href("https://hdot.dev")`Read the docs.`
);
<div>
  <h1>hdot</h1>
  <p>Type-safe HTML templates</p>
  <a href="https://hdot.dev">Read the docs.</a>
</div>

Keywords

html

FAQs

Package last updated on 29 Mar 2022

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