云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
sync
/
c
/
vue-modbus
/
modbus-project
/
node_modules
/
escape-html
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
index.js
2024-07-14 16:19:04
1.33 KB
LICENSE
2024-07-14 16:19:04
1.13 KB
package.json
2024-07-14 16:19:04
434 B
Readme.md
2024-07-14 16:19:04
707 B
# escape-html Escape string for use in HTML ## Example ```js var escape = require('escape-html'); var html = escape('foo & bar'); // -> foo & bar ``` ## Benchmark ``` $ npm run-script bench > escape-html@1.0.3 bench nodejs-escape-html > node benchmark/index.js http_parser@1.0 node@0.10.33 v8@3.14.5.9 ares@1.9.0-DEV uv@0.10.29 zlib@1.2.3 modules@11 openssl@1.0.1j 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
2025-08-29 19:58:24 Friday 216.73.216.167 Runningtime:0.038s Mem:1.48 MB