open-index/open-npm huggingface dataset:
npm package: @lyo/htm
Description: Browser-compatible version of htm
Latest version: 2.1.1

# @lyo/htm

A browser-compatible version of [htm](https://www.npmjs.com/package/htm) built automatically with [Lyo](https://github.com/bokub/lyo).

[![Version](https://flat.badgen.net/npm/v/@lyo/htm)](https://www.npmjs.com/package/@lyo/htm)
[![Build](https://bokub.github.io/lyo/badge-flat.svg)](https://www.npmjs.com/package/@lyo/htm)
[![Hits](https://data.jsdelivr.com/v1/package/npm/@lyo/htm/badge)](https://www.jsdelivr.com/package/npm/@lyo/htm)

## Usage

#### In a browser
```html
<script src="https://cdn.jsdelivr.net/npm/@lyo/htm"></script>

<script>
  htm(foo);
</script>
```

#### In Node.js

```sh
# Install
npm i @lyo/htm
```

```js
const htm = require('@lyo/htm')

htm(foo);
```

## Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk