html-parse-stringify
html-parse-stringify copied to clipboard
Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
Can be seen in : [link](https://github.com/byoungd/html-to-ast/issues/1)
In the current implementation, If a comment is followed by a text, The text is discarded I've written a proposed fix and a test.
Hi, Could you please add a license file and declare your chosen license in Github?
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
```javascript var html = require("html-parse-stringify") console.time('html') const result = html.parse(`.test{}console.log('')const a = 1`) console.log((result)) console.timeEnd('html') ``` 
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2. Release notes Sourced from loader-utils's releases. v1.4.2 1.4.2 (2022-11-11) Bug Fixes ReDoS problem (#226) (17cbf8f) v1.4.1 1.4.1 (2022-11-07) Bug Fixes security problem (#220) (4504e34)...
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
I greatly appreciate this library, but I miss types for TypeScript, so I wrote a d.ts for my use, but I'd like to share it with you developers Below is...