{"_id":"stringify-entities","_rev":"3304166","name":"stringify-entities","description":"Serialize (encode) HTML character references","dist-tags":{"latest":"4.0.4"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2024-06-11T02:25:37.000Z","created":"2015-12-22T22:29:08.349Z","4.0.4":"2024-04-03T13:04:46.263Z","4.0.3":"2022-06-02T07:44:12.009Z","4.0.2":"2021-10-29T16:29:05.794Z","4.0.1":"2021-05-01T14:56:23.424Z","4.0.0":"2021-03-27T10:49:45.360Z","3.1.0":"2020-10-19T09:07:17.684Z","3.0.1":"2020-05-07T05:35:03.697Z","3.0.0":"2020-01-14T07:51:31.753Z","2.0.0":"2019-01-12T11:20:57.938Z","1.3.2":"2018-04-29T09:24:55.774Z","1.3.1":"2017-06-16T18:07:18.832Z","1.3.0":"2016-11-24T17:20:02.903Z","1.2.0":"2016-07-01T18:50:23.475Z","1.1.0":"2016-06-28T21:52:47.175Z","1.0.1":"2015-12-27T09:33:09.429Z","1.0.0":"2015-12-22T22:29:08.349Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"versions":{"4.0.4":{"name":"stringify-entities","version":"4.0.4","description":"Serialize (encode) HTML character references","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"character-entities-html4":"^2.0.0","character-entities-legacy":"^3.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^9.0.0","character-entities":"^2.0.0","prettier":"^3.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.58.0"},"scripts":{"prepack":"npm run build && npm run format","generate":"node --conditions development build.js","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-code-point":"off","unicorn/prefer-string-replace-all":"off","unicorn/numeric-separators-style":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"_id":"stringify-entities@4.0.4","gitHead":"69b10d61dfc27e59be57eb8a51ba7c1830451e90","homepage":"https://github.com/wooorm/stringify-entities#readme","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"shasum":"b3b79ef5f277cc4ac73caeb0236c5ba939b3a4f3","size":7461,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-4.0.4.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_4.0.4_1712149486123_0.023426664987792112"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-03T13:04:46.263Z","publish_time":1712149486263,"_source_registry_name":"default","_cnpm_publish_time":1712149486263},"4.0.3":{"name":"stringify-entities","version":"4.0.3","description":"Serialize (encode) HTML character references","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"character-entities-html4":"^2.0.0","character-entities-legacy":"^3.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","character-entities":"^2.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.49.0"},"scripts":{"generate":"node build","prepublishOnly":"npm run build && npm run format","build":"rimraf \"lib/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-code-point":"off","unicorn/numeric-separators-style":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"d0ecf5b4c493e88d4367091eed03675607ed645a","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@4.0.3","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"shasum":"cfabd7039d22ad30f3cc435b0ca2c1574fc88ef8","size":7241,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-4.0.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_4.0.3_1654155851231_0.3524513253394952"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-02T08:47:26.229Z","publish_time":1654155852009,"_cnpm_publish_time":1654155852009},"4.0.2":{"name":"stringify-entities","version":"4.0.2","description":"Serialize (encode) HTML character references","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"character-entities-html4":"^2.0.0","character-entities-legacy":"^3.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","character-entities":"^2.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.46.0"},"scripts":{"generate":"node build","prepublishOnly":"npm run build && npm run format","build":"rimraf \"lib/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/numeric-separators-style":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"6d5f18c204064461ca21703c99c77812dfcad57b","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@4.0.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"13d113dc7449dc8ae4cb22c28883ee3fff8753e3","size":7245,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-4.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_4.0.2_1635524945617_0.7000048659500486"},"_hasShrinkwrap":false,"publish_time":1635524945794,"_cnpm_publish_time":1635524945794},"4.0.1":{"name":"stringify-entities","version":"4.0.1","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"character-entities-html4":"^2.0.0","character-entities-legacy":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","character-entities":"^2.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**/,}*.d.ts\" && tsc && type-coverage","generate":"node build","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"import/no-mutable-exports":"off","no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"81a12522dd888965f7d69c4ad668bf6f0562febd","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@4.0.1","_nodeVersion":"15.11.0","_npmVersion":"7.11.1","dist":{"shasum":"f483c9ca8d7e029edec9863c5a37c1f1e7702c8d","size":6559,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-4.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_4.0.1_1619880983242_0.5784170584997923"},"_hasShrinkwrap":false,"publish_time":1619880983424,"_cnpm_publish_time":1619880983424},"4.0.0":{"name":"stringify-entities","version":"4.0.0","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"character-entities-html4":"^2.0.0","character-entities-legacy":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","character-entities":"^2.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**/,}*.d.ts\" && tsc && type-coverage","generate":"node build","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"import/no-mutable-exports":"off","no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"3ee24169cde4811a0d457599c45db8fdac38117a","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@4.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"shasum":"d24db3045fecfeacf4db9ba9b0b533a9f3e4bc51","size":6518,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-4.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_4.0.0_1616842185155_0.5038075903663797"},"_hasShrinkwrap":false,"publish_time":1616842185360,"_cnpm_publish_time":1616842185360},"3.1.0":{"name":"stringify-entities","version":"3.1.0","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types/index.d.ts","dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0","xtend":"^4.0.0"},"devDependencies":{"browserify":"^17.0.0","character-entities":"^1.0.0","dtslint":"^4.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","xo":"^0.34.0"},"scripts":{"generate":"node build","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify . -s stringifyEntities -o stringify-entities.js","build-mangle":"browserify . -s stringifyEntities -p tinyify -o stringify-entities.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-includes":"off","guard-for-in":"off"},"ignores":["stringify-entities.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"a83f0fb6f6106864e20ecb5cdbd4dedef9ee20b1","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@3.1.0","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"b8d3feac256d9ffcc9fa1fefdcf3ca70576ee903","size":6124,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-3.1.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_3.1.0_1603098437541_0.776584857105022"},"_hasShrinkwrap":false,"publish_time":1603098437684,"_cnpm_publish_time":1603098437684},"3.0.1":{"name":"stringify-entities","version":"3.0.1","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types/index.d.ts","dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0","is-alphanumerical":"^1.0.0","is-decimal":"^1.0.2","is-hexadecimal":"^1.0.0"},"devDependencies":{"browserify":"^16.0.0","character-entities":"^1.0.0","dtslint":"^3.0.0","nyc":"^15.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","tinyify":"^2.0.0","xo":"^0.30.0"},"scripts":{"generate":"node build","format":"remark . -qfo && prettier --write . && xo --fix","build-bundle":"browserify . -s stringifyEntities -o stringify-entities.js","build-mangle":"browserify . -s stringifyEntities -p tinyify -o stringify-entities.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-includes":"off","guard-for-in":"off"},"ignores":["stringify-entities.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"355100188e1f3661359e7404115cd7e04c75ed41","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@3.0.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"shasum":"32154b91286ab0869ab2c07696223bd23b6dbfc0","size":4963,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-3.0.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_3.0.1_1588829703584_0.1311599199912279"},"_hasShrinkwrap":false,"publish_time":1588829703697,"_cnpm_publish_time":1588829703697},"3.0.0":{"name":"stringify-entities","version":"3.0.0","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types/index.d.ts","dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0","is-alphanumerical":"^1.0.0","is-decimal":"^1.0.2","is-hexadecimal":"^1.0.0"},"devDependencies":{"browserify":"^16.0.0","character-entities":"^1.0.0","dtslint":"^2.0.0","nyc":"^15.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.25.0"},"scripts":{"generate":"node build","format":"remark . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix","build-bundle":"browserify . -s stringifyEntities -o stringify-entities.js","build-mangle":"browserify . -s stringifyEntities -p tinyify -o stringify-entities.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-includes":"off","guard-for-in":"off"},"ignores":["stringify-entities.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"b7c7b3b9c183fa186630c481b68aaa49c062cc9f","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@3.0.0","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"shasum":"455abe501f8b7859ba5726a25a8872333c65b0a7","size":4960,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-3.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_3.0.0_1578988291649_0.8739043216241622"},"_hasShrinkwrap":false,"publish_time":1578988291753,"_cnpm_publish_time":1578988291753},"2.0.0":{"name":"stringify-entities","version":"2.0.0","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0","is-alphanumerical":"^1.0.0","is-decimal":"^1.0.2","is-hexadecimal":"^1.0.0"},"devDependencies":{"browserify":"^16.0.0","character-entities":"^1.0.0","esmangle":"^1.0.0","nyc":"^13.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","xo":"^0.23.0"},"scripts":{"generate":"node build","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js --bare -s stringifyEntities > stringify-entities.js","build-mangle":"esmangle stringify-entities.js > stringify-entities.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"no-var":"off","unicorn/number-literal-case":"off","prefer-arrow-callback":"off","guard-for-in":"off"},"ignores":["stringify-entities.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"aaf3c3130fc12af6e2c090148b348a2d6e7315a5","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@2.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"fa7ca6614b355fb6c28448140a20c4ede7462827","size":4630,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-2.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_2.0.0_1547292057813_0.6766781578710421"},"_hasShrinkwrap":false,"publish_time":1547292057938,"_cnpm_publish_time":1547292057938},"1.3.2":{"name":"stringify-entities","version":"1.3.2","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["dangerous.json","index.js"],"dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0","is-alphanumerical":"^1.0.0","is-hexadecimal":"^1.0.0"},"devDependencies":{"browserify":"^16.0.0","character-entities":"^1.0.0","esmangle":"^1.0.0","nyc":"^11.0.0","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","xo":"^0.20.0"},"scripts":{"generate":"node build","format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js --bare -s stringifyEntities > stringify-entities.js","build-mangle":"esmangle stringify-entities.js > stringify-entities.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"no-var":"off","unicorn/number-literal-case":"off","prefer-arrow-callback":"off","guard-for-in":"off"},"ignores":["stringify-entities.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"556a39ff58c8ed3aac67163ba8a58fe3f051bd79","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@1.3.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"a98417e5471fd227b3e45d3db1861c11caf668f7","size":4294,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-1.3.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities_1.3.2_1524993895690_0.031632477284009086"},"_hasShrinkwrap":false,"publish_time":1524993895774,"_cnpm_publish_time":1524993895774},"1.3.1":{"name":"stringify-entities","version":"1.3.1","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["dangerous.json","index.js"],"dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0","is-alphanumerical":"^1.0.0","is-hexadecimal":"^1.0.0"},"devDependencies":{"browserify":"^14.0.0","character-entities":"^1.0.0","esmangle":"^1.0.0","nyc":"^11.0.0","remark-cli":"^3.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-dangerous":"node build","build-bundle":"browserify index.js --bare -s stringifyEntities > stringify-entities.js","build-mangle":"esmangle stringify-entities.js > stringify-entities.min.js","build":"npm run build-dangerous && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"rules":{"guard-for-in":"off"},"ignores":["stringify-entities.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4237dc30ceeb0aeb1c4efee446e300d8dbe04054","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@1.3.1","_shasum":"b150ec2d72ac4c1b5f324b51fb6b28c9cdff058c","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"b150ec2d72ac4c1b5f324b51fb6b28c9cdff058c","size":4060,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-1.3.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-entities-1.3.1.tgz_1497636437849_0.6072790070902556"},"directories":{},"publish_time":1497636438832,"_cnpm_publish_time":1497636438832,"_hasShrinkwrap":false},"1.3.0":{"name":"stringify-entities","version":"1.3.0","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/hast-util-to-html/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["dangerous.json","index.js"],"dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0","has":"^1.0.1","is-alphanumerical":"^1.0.0","is-hexadecimal":"^1.0.0"},"devDependencies":{"browserify":"^13.0.0","character-entities":"^1.0.0","esmangle":"^1.0.0","nyc":"^10.0.0","remark-cli":"^2.1.0","remark-preset-wooorm":"^1.0.0","tape":"^4.0.0","xo":"^0.17.1"},"scripts":{"build-md":"remark . -qfo","build-dangerous":"node build","build-bundle":"browserify index.js --bare -s stringifyEntities > stringify-entities.js","build-mangle":"esmangle stringify-entities.js > stringify-entities.min.js","build":"npm run build-dangerous && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"rules":{"guard-for-in":"off","eqeqeq":["off","allow-null"],"no-eq-null":"off"},"ignores":["stringify-entities.js"]},"remarkConfig":{"presets":"wooorm"},"gitHead":"ae8ece85dd2f9f980bfb7eca9da77cc804350194","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@1.3.0","_shasum":"2244a516c4f1e8e01b73dad01023016776abd917","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"2244a516c4f1e8e01b73dad01023016776abd917","size":4090,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-1.3.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/stringify-entities-1.3.0.tgz_1480008002322_0.8982367573771626"},"directories":{},"publish_time":1480008002903,"_cnpm_publish_time":1480008002903,"_hasShrinkwrap":false},"1.2.0":{"name":"stringify-entities","version":"1.2.0","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/hast-util-to-html/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["lib","index.js"],"dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0"},"devDependencies":{"browserify":"^13.0.0","character-entities":"^1.0.0","esmangle":"^1.0.0","istanbul":"^0.4.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-toc":"^3.0.0","remark-validate-links":"^4.0.0","tape":"^4.0.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build-dangerous":"node script/generate-dangerous.js","build-bundle":"browserify index.js --bare -s stringifyEntities > stringify-entities.js","build-mangle":"esmangle stringify-entities.js > stringify-entities.min.js","build":"npm run build-dangerous && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"istanbul cover test.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"rules":{"guard-for-in":[0],"eqeqeq":[0,"allow-null"],"no-eq-null":[0]},"ignores":["stringify-entities.js","stringify-entities.min.js"]},"remarkConfig":{"output":true,"plugins":["comment-config","lint","github","validate-links"],"settings":{"bullet":"*"}},"gitHead":"1da86eb160abf082402e71691d91f4584465ccd0","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@1.2.0","_shasum":"b53ab7fc33972cab0d7a1006a82f1318af4572e1","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"b53ab7fc33972cab0d7a1006a82f1318af4572e1","size":5057,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-1.2.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/stringify-entities-1.2.0.tgz_1467399021121_0.8695279890671372"},"directories":{},"publish_time":1467399023475,"_cnpm_publish_time":1467399023475,"_hasShrinkwrap":false},"1.1.0":{"name":"stringify-entities","version":"1.1.0","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"bugs":{"url":"https://github.com/wooorm/hast-util-to-html/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["lib","index.js"],"dependencies":{"character-entities-html4":"^1.0.0","character-entities-legacy":"^1.0.0"},"devDependencies":{"browserify":"^13.0.0","character-entities":"^1.0.0","esmangle":"^1.0.0","istanbul":"^0.4.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-toc":"^3.0.0","remark-validate-links":"^4.0.0","tape":"^4.0.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build-expression":"node script/generate-expression.js","build-dangerous":"node script/generate-dangerous.js","build-bundle":"browserify index.js --bare -s stringifyEntities > stringify-entities.js","build-mangle":"esmangle stringify-entities.js > stringify-entities.min.js","build":"npm run build-expression && npm run build-dangerous && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"istanbul cover test.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"rules":{"guard-for-in":[0],"eqeqeq":[0,"allow-null"],"no-eq-null":[0]},"ignores":["stringify-entities.js","stringify-entities.min.js"]},"remarkConfig":{"output":true,"plugins":["comment-config","lint","github","validate-links"],"settings":{"bullet":"*"}},"gitHead":"78db02ca9383a7cfd73945c3413d0817e6996d6e","homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@1.1.0","_shasum":"2d06a6b6ee61631963a76453cb1bfb2f0c2e8f44","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"2d06a6b6ee61631963a76453cb1bfb2f0c2e8f44","size":5497,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-1.1.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stringify-entities-1.1.0.tgz_1467150764653_0.3743950466159731"},"directories":{},"publish_time":1467150767175,"_cnpm_publish_time":1467150767175,"_hasShrinkwrap":false},"1.0.1":{"name":"stringify-entities","version":"1.0.1","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js","lib/expression.js","LICENSE"],"dependencies":{"character-entities-html4":"^1.0.0"},"devDependencies":{"browserify":"^12.0.0","eslint":"^1.0.0","esmangle":"^1.0.0","istanbul":"^0.4.0","jscs":"^2.0.0","jscs-jsdoc":"^1.0.0","mdast":"^2.0.0","mdast-comment-config":"^1.0.0","mdast-github":"^1.0.0","mdast-lint":"^1.0.0","mdast-slug":"^2.0.0","mdast-validate-links":"^1.1.1","mdast-yaml-config":"^1.0.0","tape":"^4.2.0"},"scripts":{"build-md":"mdast . --quiet  --frail","build-expression":"node script/generate-expression.js","build-bundle":"browserify index.js --bare -s stringifyEntities > stringify-entities.js","build-mangle":"esmangle stringify-entities.js > stringify-entities.min.js","build":"npm run build-md && npm run build-expression && npm run build-bundle && npm run build-mangle","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","test-api":"node test.js","test-coverage":"istanbul cover test.js","test":"npm run build && npm run lint && npm run test-coverage"},"gitHead":"fdc1ce3f5ebbe6be02773f2c9c404424f07dd2e6","bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@1.0.1","_shasum":"1e134945189bd6b82e6fb7d479ab1af7345c98b6","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.1.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"1e134945189bd6b82e6fb7d479ab1af7345c98b6","size":4483,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-1.0.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1451208789429,"_cnpm_publish_time":1451208789429,"_hasShrinkwrap":false},"1.0.0":{"name":"stringify-entities","version":"1.0.0","description":"Encode HTML character references and character entities","license":"MIT","keywords":["stringify","encode","escape","html","character","reference","entity","entities"],"repository":{"type":"git","url":"git+https://github.com/wooorm/stringify-entities.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js","lib/expression.js","LICENSE"],"dependencies":{"character-entities-html4":"^1.0.0"},"devDependencies":{"browserify":"^12.0.0","eslint":"^1.0.0","esmangle":"^1.0.0","istanbul":"^0.4.0","jscs":"^2.0.0","jscs-jsdoc":"^1.0.0","mdast":"^2.0.0","mdast-comment-config":"^1.0.0","mdast-github":"^1.0.0","mdast-lint":"^1.0.0","mdast-slug":"^2.0.0","mdast-validate-links":"^1.1.1","mdast-yaml-config":"^1.0.0","tape":"^4.2.0"},"scripts":{"build-md":"mdast . --quiet  --frail","build-expression":"node script/generate-expression.js","build-bundle":"browserify index.js --bare -s stringifyEntities > stringify-entities.js","build-mangle":"esmangle stringify-entities.js > stringify-entities.min.js","build":"npm run build-md && npm run build-expression && npm run build-bundle && npm run build-mangle","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","test-api":"node test.js","test-coverage":"istanbul cover test.js","test":"npm run build && npm run lint && npm run test-coverage"},"gitHead":"05109c2fbf6c88f1bca30ea944b75e0b64f26484","bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"homepage":"https://github.com/wooorm/stringify-entities#readme","_id":"stringify-entities@1.0.0","_shasum":"aaae80c47d74be15d8c9d8099816264439564b3f","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.1.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"aaae80c47d74be15d8c9d8099816264439564b3f","size":4404,"noattachment":false,"key":"/stringify-entities/-/stringify-entities-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-entities/download/stringify-entities-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1450823348349,"_cnpm_publish_time":1450823348349,"_hasShrinkwrap":false}},"readme":"# stringify-entities\n\n[![Build Status][build-badge]][build]\n[![Coverage Status][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nSerialize (encode) HTML character references.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`stringifyEntities(value[, options])`](#stringifyentitiesvalue-options)\n*   [Algorithm](#algorithm)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis is a small and powerful encoder of HTML character references (often called\nentities).\nThis one has either all the options you need for a minifier/formatter, or a\ntiny size when using `stringifyEntitiesLight`.\n\n## When should I use this?\n\nYou can use this for spec-compliant encoding of character references.\nIt’s small and fast enough to do that well.\nYou can also use this when making an HTML formatter or minifier, because there\nare different ways to produce pretty or tiny output.\nThis package is reliable: ``'`'`` characters are encoded to ensure no scripts\nrun in Internet Explorer 6 to 8.\nAdditionally, only named references recognized by HTML 4 are encoded, meaning\nthe infamous `&apos;` (which people think is a [virus][]) won’t show up.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install stringify-entities\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {stringifyEntities} from 'https://esm.sh/stringify-entities@4'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {stringifyEntities} from 'https://esm.sh/stringify-entities@4?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {stringifyEntities} from 'stringify-entities'\n\nstringifyEntities('alpha © bravo ≠ charlie ???? delta')\n// => 'alpha &#xA9; bravo &#x2260; charlie &#x1D306; delta'\n\nstringifyEntities('alpha © bravo ≠ charlie ???? delta', {useNamedReferences: true})\n// => 'alpha &copy; bravo &ne; charlie &#x1D306; delta'\n```\n\n## API\n\nThis package exports the identifiers `stringifyEntities` and\n`stringifyEntitiesLight`.\nThere is no default export.\n\n### `stringifyEntities(value[, options])`\n\nEncode special characters in `value`.\n\n##### Core options\n\n###### `options.escapeOnly`\n\nWhether to only escape possibly dangerous characters (`boolean`, default:\n`false`).\nThose characters are `\"`, `&`, `'`, `<`, `>`, and `` ` ``.\n\n###### `options.subset`\n\nWhether to only escape the given subset of characters (`Array<string>`).\nNote that only BMP characters are supported here (so no emoji).\n\n##### Formatting options\n\nIf you do not care about the following options, use `stringifyEntitiesLight`,\nwhich always outputs hexadecimal character references.\n\n###### `options.useNamedReferences`\n\nPrefer named character references (`&amp;`) where possible (`boolean?`, default:\n`false`).\n\n###### `options.useShortestReferences`\n\nPrefer the shortest possible reference, if that results in less bytes\n(`boolean?`, default: `false`).\n\n> ⚠️ **Note**: `useNamedReferences` can be omitted when using\n> `useShortestReferences`.\n\n###### `options.omitOptionalSemicolons`\n\nWhether to omit semicolons when possible (`boolean?`, default: `false`).\n\n> ⚠️ **Note**: This creates what HTML calls “parse errors” but is otherwise\n> still valid HTML — don’t use this except when building a minifier.\n> Omitting semicolons is possible for certain named and numeric references in\n> some cases.\n\n###### `options.attribute`\n\nCreate character references which don’t fail in attributes (`boolean?`, default:\n`false`).\n\n> ⚠️ **Note**: `attribute` only applies when operating dangerously with\n> `omitOptionalSemicolons: true`.\n\n#### Returns\n\nEncoded value (`string`).\n\n## Algorithm\n\nBy default, all dangerous, non-ASCII, and non-printable ASCII characters are\nencoded.\nA [subset][] of characters can be given to encode just those characters.\nAlternatively, pass [`escapeOnly`][escapeonly] to escape just the dangerous\ncharacters (`\"`, `'`, `<`, `>`, `&`, `` ` ``).\nBy default, hexadecimal character references are used.\nPass [`useNamedReferences`][named] to use named character references when\npossible, or [`useShortestReferences`][short] to use whichever is shortest:\ndecimal, hexadecimal, or named.\nThere is also a `stringifyEntitiesLight` export, which works just like\n`stringifyEntities` but without the formatting options: it’s much smaller but\nalways outputs hexadecimal character references.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types `Options` and `LightOptions` types.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 14.14+ and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Security\n\nThis package is safe.\n\n## Related\n\n*   [`parse-entities`](https://github.com/wooorm/parse-entities)\n    — parse (decode) HTML character references\n*   [`wooorm/character-entities`](https://github.com/wooorm/character-entities)\n    — info on character references\n*   [`wooorm/character-entities-html4`](https://github.com/wooorm/character-entities-html4)\n    — info on HTML 4 character references\n*   [`wooorm/character-entities-legacy`](https://github.com/wooorm/character-entities-legacy)\n    — info on legacy character references\n*   [`wooorm/character-reference-invalid`](https://github.com/wooorm/character-reference-invalid)\n    — info on invalid numeric character references\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/stringify-entities/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/stringify-entities/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/stringify-entities.svg\n\n[coverage]: https://codecov.io/github/wooorm/stringify-entities\n\n[downloads-badge]: https://img.shields.io/npm/dm/stringify-entities.svg\n\n[downloads]: https://www.npmjs.com/package/stringify-entities\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/stringify-entities.svg\n\n[size]: https://bundlephobia.com/result?p=stringify-entities\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esmsh]: https://esm.sh\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n\n[virus]: https://www.telegraph.co.uk/technology/advice/10516839/Why-do-some-apostrophes-get-replaced-with-andapos.html\n\n[subset]: #optionssubset\n\n[escapeonly]: #optionsescapeonly\n\n[named]: #optionsusenamedreferences\n\n[short]: #optionsuseshortestreferences\n","_attachments":{},"homepage":"https://github.com/wooorm/stringify-entities#readme","bugs":{"url":"https://github.com/wooorm/stringify-entities/issues"},"license":"MIT"}