{"versions":{"1.0.0":{"name":"@nodable/entities","version":"1.0.0","keywords":["fast","xml","html","entity"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/entities@1.0.0","maintainers":[{"name":"anonymous","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/val-parsers#readme","bugs":{"url":"https://github.com/nodable/val-parsers/issues"},"dist":{"shasum":"289270d478e779f8abcfc2d79172d94190a63e83","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@nodable/entities/-/entities-1.0.0.tgz","fileCount":7,"integrity":"sha512-JoyscCJg4De1NJAZhJHxcYjN8snyl2kHcjYYmeLZ9xfGoPVE6Fiz/q3mMbxLOKRuWgshTYFSH118mQe8AmHmyA==","signatures":[{"sig":"MEUCIA6FTUigYBsTbkqd8pVGUPqE8bHIaBoy8veGUAkGBEYOAiEAiqWEsY2WN6uZCEBd6SmpWX1HhrH0UILGRILRuH8Q0DI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55841,"size":13713},"jest":{"testMatch":["**/?(*.)+(spec|test).[jt]s?(x)","**/*_spec.[jt]s?(x)"]},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"c8e2a5d5bdf010e38eb8bee200f81b7a4dc43488","scripts":{"lint":"eslint src/ test/","test":"node --experimental-vm-modules node_modules/.bin/jest","test:watch":"node --experimental-vm-modules node_modules/.bin/jest --watch","test:coverage":"node --experimental-vm-modules node_modules/.bin/jest --coverage"},"_npmUser":{"name":"anonymous","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/val-parsers.git","type":"git"},"_npmVersion":"11.11.0","description":"Replace XML, HTML, External entites with security controls","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/entities_1.0.0_1776135392824_0.850104485117515","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2026-04-14T02:56:32.987Z","publish_time":1776135392987,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"@nodable/entities","version":"1.0.1","description":"Replace XML, HTML, External entites with security controls","main":"./src/index.js","type":"module","sideEffects":false,"types":"./src/index.d.ts","scripts":{"test":"node --experimental-vm-modules node_modules/.bin/jest","test:watch":"node --experimental-vm-modules node_modules/.bin/jest --watch","test:coverage":"node --experimental-vm-modules node_modules/.bin/jest --coverage","lint":"eslint src/ test/"},"repository":{"type":"git","url":"git+https://github.com/nodable/val-parsers.git"},"keywords":["fast","xml","html","entity"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"jest":"^29.7.0"},"funding":[{"type":"github","url":"https://github.com/sponsors/nodable"}],"jest":{"testMatch":["**/?(*.)+(spec|test).[jt]s?(x)","**/*_spec.[jt]s?(x)"]},"gitHead":"a57ff9ecc0a21323fb03f19153beb7cc708a4f4e","_id":"@nodable/entities@1.0.1","bugs":{"url":"https://github.com/nodable/val-parsers/issues"},"homepage":"https://github.com/nodable/val-parsers#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-P+QVl83POYu47navqBcOSbjJzYlGQNXwzZXDAt3im6Kzs8tn3twmDKHuAEjB9zpQCF45Hc1xY4ND0lQAV12NXA==","shasum":"db01c3946d0eeb3ed99e2837e248e22696f87941","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@nodable/entities/-/entities-1.0.1.tgz","fileCount":7,"unpackedSize":56111,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCCX3frS0p/vzEDo19FBvRFw7lQcECuZaf8o3tZ1YxijQIhANzS+IVWi4IIEKKsEGPZR/ig4Ru8OZjmwpPqjB5lBaWt"}],"size":13829},"_npmUser":{"name":"anonymous","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/entities_1.0.1_1776152008586_0.2869486549149003"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-14T07:33:28.724Z","publish_time":1776152008724,"_source_registry_name":"default","contributors":[]},"1.1.0":{"name":"@nodable/entities","version":"1.1.0","description":"Replace XML, HTML, External entites with security controls","main":"./src/index.js","type":"module","sideEffects":false,"types":"./src/index.d.ts","scripts":{"test":"node --experimental-vm-modules node_modules/.bin/jest","test:watch":"node --experimental-vm-modules node_modules/.bin/jest --watch","test:coverage":"node --experimental-vm-modules node_modules/.bin/jest --coverage","lint":"eslint src/ test/"},"repository":{"type":"git","url":"git+https://github.com/nodable/val-parsers.git"},"keywords":["fast","xml","html","entity"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"jest":"^29.7.0"},"funding":[{"type":"github","url":"https://github.com/sponsors/nodable"}],"jest":{"testMatch":["**/?(*.)+(spec|test).[jt]s?(x)","**/*_spec.[jt]s?(x)"]},"gitHead":"b252eb629b01c1a1d17332b9ce30c9b48a916ce5","_id":"@nodable/entities@1.1.0","bugs":{"url":"https://github.com/nodable/val-parsers/issues"},"homepage":"https://github.com/nodable/val-parsers#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-bidpxmTBP0pOsxULw6XlxzQpTgrAGLDHGBK/JuWhPDL6ZV0GZ/PmN9CA9do6e+A9lYI6qx6ikJUtJYRxup141g==","shasum":"f98e5ee5a6e987b4cad56eb97be81043d9b8d31d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@nodable/entities/-/entities-1.1.0.tgz","fileCount":6,"unpackedSize":44085,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDAanXCv3W8074DYHhZ72a71v7jss1R0v2Oiow8/ZZSGwIhAJYT50f49vqDJcbGTblOSqMOARtg37+EVz+1Y2z9VpsP"}],"size":11610},"_npmUser":{"name":"anonymous","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/entities_1.1.0_1776166487231_0.6679952319322622"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-14T11:34:47.381Z","publish_time":1776166487381,"_source_registry_name":"default","contributors":[]},"2.0.0":{"name":"@nodable/entities","version":"2.0.0","description":"Entity parser for XML, HTML, External entites with security controls","main":"./src/index.js","type":"module","sideEffects":false,"types":"./src/index.d.ts","scripts":{"test":"node --experimental-vm-modules node_modules/.bin/jest","test:watch":"node --experimental-vm-modules node_modules/.bin/jest --watch","test:coverage":"node --experimental-vm-modules node_modules/.bin/jest --coverage","lint":"eslint src/ test/"},"repository":{"type":"git","url":"git+https://github.com/nodable/val-parsers.git"},"keywords":["fast","xml","html","entity"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"jest":"^29.7.0"},"funding":[{"type":"github","url":"https://github.com/sponsors/nodable"}],"jest":{"testMatch":["**/?(*.)+(spec|test).[jt]s?(x)","**/*_spec.[jt]s?(x)"]},"gitHead":"4cd718fd6d9eb5b38f9c9bd4aea8bb3f4edbd2fb","_id":"@nodable/entities@2.0.0","bugs":{"url":"https://github.com/nodable/val-parsers/issues"},"homepage":"https://github.com/nodable/val-parsers#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-uQcOfJ0JEnVmZI5z4WiyflxFqccQu9YHdlQiknIWf4YS2kxvQu/jFPK/VAAZ1WgDMNKCVZg0JCcdEqzAxprMRA==","shasum":"87915cb148864eb57d3ab80e491f3f7698e8bab4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@nodable/entities/-/entities-2.0.0.tgz","fileCount":8,"unpackedSize":52010,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC7vXNGRMveSmoAg8HzxdO98x/4yluo2Vl9gguV9lZuvQIgVOP1W8UKlWIdNcv96W4xogpqxxGGmFmZu91DFD++PQk="}],"size":15313},"_npmUser":{"name":"anonymous","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/entities_2.0.0_1776271185008_0.9660337641498382"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-15T16:39:45.183Z","publish_time":1776271185183,"_source_registry_name":"default","contributors":[]},"2.1.0":{"name":"@nodable/entities","version":"2.1.0","description":"Entity parser for XML, HTML, External entites with security and NCR control","main":"./src/index.js","type":"module","sideEffects":false,"types":"./src/index.d.ts","scripts":{"test":"node --experimental-vm-modules node_modules/.bin/jest","test:watch":"node --experimental-vm-modules node_modules/.bin/jest --watch","test:coverage":"node --experimental-vm-modules node_modules/.bin/jest --coverage","lint":"eslint src/ test/"},"repository":{"type":"git","url":"git+https://github.com/nodable/val-parsers.git"},"keywords":["fast","xml","html","entity","encode","decode","ncr","security","performance"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"jest":"^29.7.0"},"funding":[{"type":"github","url":"https://github.com/sponsors/nodable"}],"jest":{"testMatch":["**/?(*.)+(spec|test).[jt]s?(x)","**/*_spec.[jt]s?(x)"]},"gitHead":"f1c61a65e7b967c17b13822ef71e91bd25f17ce2","_id":"@nodable/entities@2.1.0","bugs":{"url":"https://github.com/nodable/val-parsers/issues"},"homepage":"https://github.com/nodable/val-parsers#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-nyT7T3nbMyBI/lvr6L5TyWbFJAI9FTgVRakNoBqCD+PmID8DzFrrNdLLtHMwMszOtqZa8PAOV24ZqDnQrhQINA==","shasum":"f543e5c6446720d4cf9e498a83019dd159973bc2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@nodable/entities/-/entities-2.1.0.tgz","fileCount":8,"unpackedSize":60255,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC6rIrkk01i3tdusLjbheNVCO/FsJlltIp2atBFBlKV5AiBe99XyvOxJawoSoEJgFTwFW5xPFfY9VRTKRMrjzHDiRw=="}],"size":18055},"_npmUser":{"name":"anonymous","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/entities_2.1.0_1776322621274_0.16478805551612918"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-16T06:57:01.435Z","publish_time":1776322621435,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.1.0"},"name":"@nodable/entities","time":{"created":"2026-04-14T07:33:40.145Z","modified":"2026-04-16T06:57:13.671Z","1.0.0":"2026-04-14T02:56:32.987Z","1.0.1":"2026-04-14T07:33:28.724Z","1.1.0":"2026-04-14T11:34:47.381Z","2.0.0":"2026-04-15T16:39:45.183Z","2.1.0":"2026-04-16T06:57:01.435Z"},"readme":"# @nodable/entities\n\nFast, zero-dependency XML/HTML entity encoder and decoder for Node.js.\n\n## Install\n\n```bash\nnpm install @nodable/entities\n```\n\n## Quick start\n\n```js\nimport { EntityEncoder, EntityDecoder, ALL_ENTITIES } from '@nodable/entities';\n\n// Encode: plain text → entity references\nconst enc = new EntityEncoder();\nenc.encode('Hello © 2024 & <stuff>');\n// → 'Hello &copy; 2024 &amp; &lt;stuff&gt;'\n\n// Decode: entity references → plain text\nconst dec = new EntityDecoder({ namedEntities: ALL_ENTITIES });\ndec.decode('Hello &copy; 2024 &amp; &lt;stuff&gt;');\n// → 'Hello © 2024 & <stuff>'\n```\n\n## Performance\n\n|  | encode | decode |\n|---|---|---|\n| `entities` (npm) | 3.65 M req/s | 1.76 M req/s |\n| `@nodable/entities` | 3.33 M req/s | **5.19 M req/s** |\n\n## Documentation\n\n- [EntityEncoder](docs/EntityEncoder.md) — options, API, recipes\n- [EntityDecoder](docs/EntityDecoder.md) — options, API, security limits, entity sets\n\n## License\n\nMIT","users":{}}