{"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":{"integrity":"sha512-SprMiXf+Zk+fdGXmwZsoQwGNhW3FyV7IOozlnqNKDwbjNLrKGnPSG7jd9PGbW1RnfJ8dEqXsSCPy+0pmRAKfUA==","shasum":"bb1c62b86773474fd1cd49a31cc7eeea8ff848a7","tarball":"http://registry-npm.ywwl.com/entity-decode/download/entity-decode-3.0.0.tgz","fileCount":7,"unpackedSize":3887,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDJPWTt774XtpkPLW66MnadvnjcEtsl+vnDSSev2A39NAIgbrQdmJ/FYTl+Ewr8oIs9z40GHJmkzsqtNzrnCBeDC/8="}],"size":2073,"noattachment":false,"key":"/entity-decode/-/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,"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","publish_time":1738445746259,"_cnpm_publish_time":1738445746259,"dist-tags":{"latest":"3.0.0"}}