https://github.com/semibran/html
tiny helper functions for creating virtual DOM nodes
https://github.com/semibran/html
Last synced: about 1 year ago
JSON representation
tiny helper functions for creating virtual DOM nodes
- Host: GitHub
- URL: https://github.com/semibran/html
- Owner: semibran
- License: mit
- Created: 2021-01-05T03:02:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T03:08:01.000Z (over 5 years ago)
- Last Synced: 2025-02-12T18:59:24.678Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# html
> tiny helper functions for creating virtual DOM nodes
```js
import * as h from '@semibran/html'
import patch from '@semibran/patch'
patch(document.body, h.body([
h.p(['hello world!'])
]))
```
## usage
[![npm badge]][npm page]
## license
[MIT](https://opensource.org/licenses/MIT) © [Brandon Semilla](https://git.io/semibran)
[npm page]: https://npmjs.com/package/@semibran/html
[npm badge]: https://nodei.co/npm/@semibran/html.png?mini