File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 11html-entities
22=============
33
4- Fastest HTML entities library.
4+ Fast and lightweight HTML entities library supporting all HTML standards.
55
66Comes with both TypeScript and Flow types.
77
8+ * [ Installation] ( #installation )
9+ * [ Usage] ( #usage )
10+ * [ encode(text, options)] ( #encodetext-options )
11+ * [ decode(text, options)] ( #decodetext-options )
12+ * [ decodeEntity(text, options)] ( #decodeentitytext-options )
13+ * [ Package Size comparison] ( #package-size-comparison )
14+ * [ Performance comparison] ( #performance-comparison )
15+
816Installation
917------------
1018
@@ -116,8 +124,15 @@ Options:
116124 * ` html4 ` uses ` HTML4 ` named references.
117125 * ` xml ` uses ` XML ` named references.
118126
119- Performance
120- -----------
127+ Package Size comparison
128+ -----------------------
129+
130+ * ` html-entities ` - 132 kB
131+ * ` entities ` - 540 kB
132+ * ` he ` - 124 kB
133+
134+ Performance comparison
135+ ----------------------
121136
122137Statistically significant comparison with other libraries using ` benchmark.js ` .
123138Results by this library are marked with ` * ` .
You can’t perform that action at this time.
0 commit comments