summaryrefslogtreecommitdiff
path: root/node_modules/escape-html/Readme.md
diff options
context:
space:
mode:
author8cy <[email protected]>2020-05-24 07:40:34 -0700
committer8cy <[email protected]>2020-05-24 07:40:34 -0700
commita7dc1894d3f030926a95b948bd46fa60e95b8dcb (patch)
treeaa5c1b50427f9658ea2de686ea8c2032f289a6a2 /node_modules/escape-html/Readme.md
downloadaghpb-online-a7dc1894d3f030926a95b948bd46fa60e95b8dcb.tar.xz
aghpb-online-a7dc1894d3f030926a95b948bd46fa60e95b8dcb.zip
wow it actually works lol
Diffstat (limited to 'node_modules/escape-html/Readme.md')
-rw-r--r--node_modules/escape-html/Readme.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/node_modules/escape-html/Readme.md b/node_modules/escape-html/Readme.md
new file mode 100644
index 0000000..653d9ea
--- /dev/null
+++ b/node_modules/escape-html/Readme.md
@@ -0,0 +1,43 @@
+
+# escape-html
+
+ Escape string for use in HTML
+
+## Example
+
+```js
+var escape = require('escape-html');
+var html = escape('foo & bar');
+// -> foo &amp; bar
+```
+
+## Benchmark
+
+```
+$ npm run-script bench
+
+> [email protected] bench nodejs-escape-html
+> node benchmark/index.js
+
+
+ modules@11
+
+ 1 test completed.
+ 2 tests completed.
+ 3 tests completed.
+
+ no special characters x 19,435,271 ops/sec ±0.85% (187 runs sampled)
+ single special character x 6,132,421 ops/sec ±0.67% (194 runs sampled)
+ many special characters x 3,175,826 ops/sec ±0.65% (193 runs sampled)
+```
+
+## License
+
+ MIT \ No newline at end of file