{"_id":"entity-decode","_rev":"4129133","name":"entity-decode","description":"Environment agnostic entity decoder","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"shrpne","email":"shrpne@gmail.com"}],"time":{"modified":"2026-03-01T18:29:28.000Z","created":"2018-05-30T12:30:10.633Z","3.0.0":"2025-02-01T21:35:46.259Z","2.0.2":"2018-12-13T13:28:00.156Z","2.0.1":"2018-09-12T15:33:23.805Z","2.0.0":"2018-09-12T15:05:56.894Z","1.0.1":"2018-05-30T12:50:06.108Z","1.0.0":"2018-05-30T12:30:10.633Z"},"users":{},"author":{"name":"shrpne"},"repository":{"type":"git","url":"git+https://github.com/shrpne/entity-decode.git"},"versions":{"3.0.0":{"name":"entity-decode","version":"3.0.0","description":"Environment agnostic entity decoder","main":"node.js","browser":"browser.js","types":"types/node.d.ts","exports":{".":{"types":"./types/node.d.ts","browser":{"types":"./types/browser.d.ts","default":"./browser.js"},"default":"./node.js"}},"scripts":{"prepublishOnly":"npm run test","tsc":"tsc -p .","test":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/shrpne/entity-decode.git"},"keywords":["entity","decode"],"author":{"name":"shrpne"},"license":"MIT","bugs":{"url":"https://github.com/shrpne/entity-decode/issues"},"homepage":"https://github.com/shrpne/entity-decode#readme","dependencies":{"entities":"^6.0.0"},"devDependencies":{"typescript":"^5.7.3"},"_id":"entity-decode@3.0.0","gitHead":"cd6e36b340c15446e8609c448547990cb19cd00a","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"shasum":"bb1c62b86773474fd1cd49a31cc7eeea8ff848a7","size":2073,"noattachment":false,"key":"/entity-decode/-/entity-decode-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/entity-decode/download/entity-decode-3.0.0.tgz"},"_npmUser":{"name":"shrpne","email":"shrpne@gmail.com"},"directories":{},"maintainers":[{"name":"shrpne","email":"shrpne@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/entity-decode_3.0.0_1738445746023_0.40103612413090506"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-01T21:35:46.259Z","publish_time":1738445746259,"_source_registry_name":"default","_cnpm_publish_time":1738445746259},"2.0.2":{"name":"entity-decode","version":"2.0.2","description":"Environment agnostic entity decoder","main":"node.js","browser":"browser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/shrpne/entity-decode.git"},"keywords":["entity","decode"],"author":{"name":"shrpne"},"license":"MIT","bugs":{"url":"https://github.com/shrpne/entity-decode/issues"},"homepage":"https://github.com/shrpne/entity-decode#readme","dependencies":{"he":"^1.1.1"},"gitHead":"bdadb838b27b6ccf171f73869760f47e327013bc","_id":"entity-decode@2.0.2","_npmVersion":"6.5.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shrpne","email":"shrpne@gmail.com"},"dist":{"shasum":"e4f807e52c3294246e9347d1f2b02b07fd5f92e7","size":2003,"noattachment":false,"key":"/entity-decode/-/entity-decode-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/entity-decode/download/entity-decode-2.0.2.tgz"},"maintainers":[{"name":"shrpne","email":"shrpne@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/entity-decode_2.0.2_1544707680069_0.8844211443477852"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T21:17:06.370Z","publish_time":1544707680156,"_cnpm_publish_time":1544707680156},"2.0.1":{"name":"entity-decode","version":"2.0.1","description":"Enviroment agnostic entity decoder","main":"node.js","browser":"browser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/shrpne/entity-decode.git"},"keywords":["entity","decode"],"author":{"name":"shrpne"},"license":"MIT","bugs":{"url":"https://github.com/shrpne/entity-decode/issues"},"homepage":"https://github.com/shrpne/entity-decode#readme","dependencies":{"he":"^1.1.1"},"gitHead":"9c47b5d889c1fc999f1961db0ccae0cde4799c6f","_id":"entity-decode@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.9.4","_npmUser":{"name":"shrpne","email":"shrpne@gmail.com"},"dist":{"shasum":"f9f6fac89c544750eedc992eca996af54eeba9cb","size":1990,"noattachment":false,"key":"/entity-decode/-/entity-decode-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/entity-decode/download/entity-decode-2.0.1.tgz"},"maintainers":[{"name":"shrpne","email":"shrpne@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/entity-decode_2.0.1_1536766403596_0.07250586379049184"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T21:17:06.267Z","publish_time":1536766403805,"_cnpm_publish_time":1536766403805},"2.0.0":{"name":"entity-decode","version":"2.0.0","description":"Enviroment agnostic entity decoder","main":"node.js","browser":"browser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/shrpne/entity-decode.git"},"keywords":["entity","decode"],"author":{"name":"shrpne"},"license":"MIT","bugs":{"url":"https://github.com/shrpne/entity-decode/issues"},"homepage":"https://github.com/shrpne/entity-decode#readme","dependencies":{"he":"^1.1.1"},"gitHead":"78d3e97d1670aa933ae60c229d4a0a5fd44ed6e6","_id":"entity-decode@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.9.4","_npmUser":{"name":"shrpne","email":"shrpne@gmail.com"},"dist":{"shasum":"da6690ccd71b1dedf060e6b260787e6d0694e0c1","size":1965,"noattachment":false,"key":"/entity-decode/-/entity-decode-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/entity-decode/download/entity-decode-2.0.0.tgz"},"maintainers":[{"name":"shrpne","email":"shrpne@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/entity-decode_2.0.0_1536764756774_0.44119623929999996"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T21:17:05.395Z","publish_time":1536764756894,"_cnpm_publish_time":1536764756894},"1.0.1":{"name":"entity-decode","version":"1.0.1","description":"Enviroment agnostic entity decoder","main":"node.js","browser":"browser.js","files":["node.js","browser.js"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/shrpne/entity-decode.git"},"keywords":["entity","decode"],"author":{"name":"shrpne"},"license":"MIT","bugs":{"url":"https://github.com/shrpne/entity-decode/issues"},"homepage":"https://github.com/shrpne/entity-decode#readme","dependencies":{"he":"^1.1.1"},"gitHead":"5d5a3c0cd9be89b3d5753107eea1bc942f08b202","_id":"entity-decode@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shrpne","email":"shrpne@gmail.com"},"dist":{"shasum":"1ff81e03f60898375e99b5c304e39a366e40cd5d","size":1716,"noattachment":false,"key":"/entity-decode/-/entity-decode-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/entity-decode/download/entity-decode-1.0.1.tgz"},"maintainers":[{"name":"shrpne","email":"shrpne@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/entity-decode_1.0.1_1527684606016_0.3131826630374215"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T21:17:04.481Z","publish_time":1527684606108,"_cnpm_publish_time":1527684606108},"1.0.0":{"name":"entity-decode","version":"1.0.0","description":"Enviroment agnostic entity decoder","main":"node.js","browser":"browser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/shrpne/entity-decode.git"},"keywords":["entity","decode"],"author":{"name":"shrpne"},"license":"MIT","bugs":{"url":"https://github.com/shrpne/entity-decode/issues"},"homepage":"https://github.com/shrpne/entity-decode#readme","dependencies":{"he":"^1.1.1"},"gitHead":"48b25629d9671ce0a61a33bbd5260a8136190039","_id":"entity-decode@1.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shrpne","email":"shrpne@gmail.com"},"dist":{"shasum":"5477333eea82b1087f576dc564b480ee1d1062fc","size":4247,"noattachment":false,"key":"/entity-decode/-/entity-decode-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/entity-decode/download/entity-decode-1.0.0.tgz"},"maintainers":[{"name":"shrpne","email":"shrpne@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/entity-decode_1.0.0_1527683410545_0.3126935667580317"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T21:17:03.607Z","publish_time":1527683410633,"_cnpm_publish_time":1527683410633}},"readme":"# entity-decode\n\nThis purpose of this library is to provide a single interface to browser and node decode implementation.\n\nIt is using the following two underlying implementations:\n- Browser: micro decode implementation using browser's NodeElement.textContent method\n- Node: [he](https://github.com/mathiasbynens/he)\n\n## Example usage\n\n```js\n// Load default implementation\nvar decode = require('entity-decode');\n\n// Load specific version\nvar decode = require('entity-decode/browser') // browser version\nvar decode = require('entity-decode/node') // node version\n\ndecode('foo &copy; bar &ne; baz &#x1D306; qux') \n// returns 'foo © bar ≠ baz ???? qux'\n```\n\n## License\n\nentity-decode is available under the [MIT](https://mths.be/mit) license.\n","_attachments":{},"homepage":"https://github.com/shrpne/entity-decode#readme","bugs":{"url":"https://github.com/shrpne/entity-decode/issues"},"license":"MIT"}