Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 328 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 328 Bytes

js-html-parser

Usage

import {Tokenizer} from 'js-html-parser'

const tokenizer = new Tokenizer();

const demoHtml = '<div><p>demo text</p></div>';

console.log([...tokenizer.tokenize(demoHtml)]);

console.log([...Tokenizer.tokenize(html)]);

Dev

  1. install
yarn install
  1. test
yarn test