Skip to content

Commit 346249e

Browse files
Bump version to 0.1.0
Improve and refactor client parser (#2) - Use template element as the default parser - For HTML that doesn't have high-level tags (no <html>, <head>, or <body>) - Fastest parser out of the three - Doesn't load external resources like images when parsing - Use `DOMImplementation` as fallback - For HTML with tags like <head> or <body> (but no <html>) - Second fastest parser out of the three - Use `DOMParser` as final fallback or for parsing high-level tags - For HTML with directive and/or <html> (can handle all cases) - Slowest parser out of the three - Make sure to remove extraneous elements (e.g., <head> or <body>) if they're not in the HTML - Improve regex matching, create constants, and cache values that can optimize the parser
1 parent 23fcfcc commit 346249e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-dom-parser",
3-
"version": "0.0.2",
3+
"version": "0.1.0",
44
"description": "An HTML to DOM parser that works on the server and client.",
55
"author": "Mark <mark@remarkablemark.org>",
66
"main": "index.js",

0 commit comments

Comments
 (0)