https://github.com/harshdoesdev/supa-html
A Tiny LitHTML Clone
https://github.com/harshdoesdev/supa-html
Last synced: 3 months ago
JSON representation
A Tiny LitHTML Clone
- Host: GitHub
- URL: https://github.com/harshdoesdev/supa-html
- Owner: harshdoesdev
- License: mit
- Created: 2022-06-28T17:28:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T08:53:09.000Z (almost 2 years ago)
- Last Synced: 2024-04-25T21:06:04.530Z (about 1 year ago)
- Language: TypeScript
- Size: 79.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SupaHTML
Supercharged HTML Parser## Usage
```javascript
// const { parseHTML } = require('supa-html');
import { parseHTML } from 'supa-html';const html = `
Hello world
`;const tree = parseHTML(html);
console.log(tree);
```