{"_id":"ent","_rev":"4106665","name":"ent","description":"Encode and decode HTML entities","dist-tags":{"latest":"2.2.2","v0-backport":"0.0.8"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"time":{"modified":"2026-01-11T18:56:02.000Z","created":"2011-02-16T14:13:52.460Z","2.2.2":"2024-12-16T22:48:49.019Z","0.0.8":"2024-06-21T15:53:32.639Z","2.2.1":"2024-06-20T23:53:13.197Z","2.2.0":"2015-01-16T21:20:57.601Z","2.1.1":"2015-01-14T19:37:59.541Z","2.1.0":"2015-01-14T19:00:51.343Z","2.0.0":"2014-04-10T08:19:56.164Z","1.0.0":"2014-04-10T01:51:34.892Z","0.1.0":"2013-07-29T21:11:44.933Z","0.0.7":"2013-07-29T20:48:24.429Z","0.0.6":"2013-07-17T22:33:02.680Z","0.0.5":"2012-12-12T07:13:06.445Z","0.0.4":"2011-06-09T22:18:42.740Z","0.0.3":"2011-06-09T22:09:04.046Z","0.0.2":"2011-02-24T20:35:24.457Z","0.0.1":"2011-02-16T14:13:52.460Z"},"users":{"louist":true,"tully":true,"goblindegook":true,"wzbg":true,"illuminator":true,"beatwinthewave":true,"hnotess":true,"sbskl":true,"zuojiang":true},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"repository":{"type":"git","url":"git+https://github.com/ljharb/ent.git"},"versions":{"2.2.2":{"name":"ent","description":"Encode and decode HTML entities","version":"2.2.2","repository":{"type":"git","url":"git+https://github.com/ljharb/ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","sideEffects":false,"keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest && npm run build","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,mjs .","postlint":"evalmd README.md","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --production","build":"node build","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"dependencies":{"call-bound":"^1.0.3","es-errors":"^1.3.0","punycode":"^1.4.1","safe-regex-test":"^1.1.0"},"devDependencies":{"@ljharb/eslint-config":"^21.1.1","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","build"]},"testling":{"files":"test/*.js"},"_id":"ent@2.2.2","gitHead":"d6e1b2a88f067c75fc5f1ff106770ea7635d8df6","bugs":{"url":"https://github.com/ljharb/ent/issues"},"homepage":"https://github.com/ljharb/ent#readme","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"shasum":"22a5ed2fd7ce0cbcff1d1474cf4909a44bdb6e85","size":30028,"noattachment":false,"key":"/ent/-/ent-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-2.2.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ent_2.2.2_1734389328693_0.09956148175242996"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-16T22:48:49.019Z","publish_time":1734389329019,"_source_registry_name":"default","_cnpm_publish_time":1734389329019},"0.0.8":{"name":"ent","version":"0.0.8","keywords":["entities","entitify","entity","html","encode","decode"],"author":{"url":"http://substack.net","name":"James Halliday","email":"mail@substack.net"},"license":"MIT","_id":"ent@0.0.8","homepage":"https://github.com/ljharb/ent#readme","bugs":{"url":"https://github.com/ljharb/ent/issues"},"dist":{"shasum":"6c8421154c1ad5cc21b2a521627d43d96c510257","size":7052,"noattachment":false,"key":"/ent/-/ent-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.0.8.tgz"},"main":"./index.js","engines":{"node":">= 0.4"},"gitHead":"4b4591541bcb8033380e33514e7a52011c9e9945","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","postlint":"evalmd readme.markdown","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"testling":{"files":"test/*.js"},"repository":{"url":"git+https://github.com/ljharb/ent.git","type":"git"},"_npmVersion":"10.7.0","description":"Encode and decode HTML entities","directories":{},"_nodeVersion":"22.2.0","dependencies":{"punycode":"^1.4.1"},"publishConfig":{"ignore":[".github/workflows","build"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.4","tape":"^5.8.1","eslint":"=8.8.0","evalmd":"^0.0.19","npmignore":"^0.3.1","in-publish":"^2.0.1","auto-changelog":"^2.4.0","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.1"},"_npmOperationalInternal":{"tmp":"tmp/ent_0.0.8_1718985212458_0.6762260362856765","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-06-21T15:53:32.639Z","publish_time":1718985212639,"_source_registry_name":"default","maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_cnpm_publish_time":1718985212639},"2.2.1":{"name":"ent","description":"Encode and decode HTML entities","version":"2.2.1","repository":{"type":"git","url":"git+https://github.com/ljharb/ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest && npm run build","lint":"eslint --ext=js,mjs .","postlint":"evalmd readme.markdown","pretest":"npm run lint","tests-only":"tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","build":"node build","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"dependencies":{"punycode":"^1.4.1"},"devDependencies":{"@ljharb/eslint-config":"^21.1.1","aud":"^2.0.4","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.1","safe-publish-latest":"^2.0.0","tape":"^5.8.1"},"testling":{"files":"test/*.js"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","build"]},"_id":"ent@2.2.1","gitHead":"58cbac5db3c2fd6480d63291530aa423359dce2b","bugs":{"url":"https://github.com/ljharb/ent/issues"},"homepage":"https://github.com/ljharb/ent#readme","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"shasum":"68dc99a002f115792c26239baedaaea9e70c0ca2","size":28415,"noattachment":false,"key":"/ent/-/ent-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-2.2.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ent_2.2.1_1718927593044_0.6356476567493934"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-20T23:53:13.197Z","publish_time":1718927593197,"_source_registry_name":"default","maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_cnpm_publish_time":1718927593197},"2.2.0":{"name":"ent","description":"Encode and decode HTML entities","version":"2.2.0","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"test":"tape test/*.js","prepublish":"node build/index.js"},"testling":{"files":"test/*.js","browsers":["ie/6..latest","ff/3.5","ff/latest","chrome/10","chrome/latest","safari/latest","opera/latest"]},"devDependencies":{"tape":"~2.3.2"},"gitHead":"bf59099130ea3cff66fecd868acd093810245d2a","bugs":{"url":"https://github.com/substack/node-ent/issues"},"homepage":"https://github.com/substack/node-ent","_id":"ent@2.2.0","_shasum":"e964219325a21d05f44466a2f686ed6ce5f5dd1d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"e964219325a21d05f44466a2f686ed6ce5f5dd1d","size":24298,"noattachment":false,"key":"/ent/-/ent-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-2.2.0.tgz"},"directories":{},"publish_time":1421443257601,"_cnpm_publish_time":1421443257601,"_hasShrinkwrap":false},"2.1.1":{"name":"ent","description":"Encode and decode HTML entities","version":"2.1.1","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"test":"tape test/*.js","prepublish":"node build/index.js"},"testling":{"files":"test/*.js","browsers":["ie/6..latest","ff/3.5","ff/latest","chrome/10","chrome/latest","safari/latest","opera/latest"]},"devDependencies":{"tape":"~2.3.2"},"gitHead":"6cc9cae95a0d7d29e338a1916b8bc072e5d860f5","bugs":{"url":"https://github.com/substack/node-ent/issues"},"homepage":"https://github.com/substack/node-ent","_id":"ent@2.1.1","_shasum":"4094ef49874e18804f67aa8bf147e54602db7756","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"4094ef49874e18804f67aa8bf147e54602db7756","size":24113,"noattachment":false,"key":"/ent/-/ent-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-2.1.1.tgz"},"directories":{},"publish_time":1421264279541,"_cnpm_publish_time":1421264279541,"_hasShrinkwrap":false},"2.1.0":{"name":"ent","description":"Encode and decode HTML entities","version":"2.1.0","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"test":"tape test/*.js","prepublish":"node build/index.js"},"testling":{"files":"test/*.js","browsers":["ie/6..latest","ff/3.5","ff/latest","chrome/10","chrome/latest","safari/latest","opera/latest"]},"devDependencies":{"tape":"~2.3.2"},"gitHead":"ff1d4bff1bbdabad652fe2a302ff0f11f7f919fa","bugs":{"url":"https://github.com/substack/node-ent/issues"},"homepage":"https://github.com/substack/node-ent","_id":"ent@2.1.0","_shasum":"96d24ce569209ad25cecf08b5fd2f0dfe598ab4c","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.35","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"96d24ce569209ad25cecf08b5fd2f0dfe598ab4c","size":23995,"noattachment":false,"key":"/ent/-/ent-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-2.1.0.tgz"},"directories":{},"publish_time":1421262051343,"_cnpm_publish_time":1421262051343,"_hasShrinkwrap":false},"2.0.0":{"name":"ent","description":"Encode and decode HTML entities","version":"2.0.0","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"test":"tape test/*.js","prepublish":"node build/index.js"},"testling":{"files":"test/*.js","browsers":["ie/6..latest","ff/3.5","ff/latest","chrome/10","chrome/latest","safari/latest","opera/latest"]},"devDependencies":{"tape":"~2.3.2"},"bugs":{"url":"https://github.com/substack/node-ent/issues"},"homepage":"https://github.com/substack/node-ent","_id":"ent@2.0.0","dist":{"shasum":"e6619346f91bd0f73131acb3638381e66bba40ff","size":23799,"noattachment":false,"key":"/ent/-/ent-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-2.0.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1397117996164,"_hasShrinkwrap":false,"_cnpm_publish_time":1397117996164},"1.0.0":{"name":"ent","description":"Encode and decode HTML entities","version":"1.0.0","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"test":"tape test/*.js","prepublish":"node build/index.js"},"testling":{"files":"test/*.js","browsers":["ie/6..latest","ff/3.5","ff/latest","chrome/10","chrome/latest","safari/latest","opera/latest"]},"devDependencies":{"tape":"~2.3.2"},"bugs":{"url":"https://github.com/substack/node-ent/issues"},"homepage":"https://github.com/substack/node-ent","_id":"ent@1.0.0","dist":{"shasum":"3c2e96333db4482253f333cd935dd77a84f6cc01","size":23689,"noattachment":false,"key":"/ent/-/ent-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1397094694892,"_hasShrinkwrap":false,"_cnpm_publish_time":1397094694892},"0.1.0":{"name":"ent","description":"Encode and decode HTML entities","version":"0.1.0","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"test":"tap test/*.js","prepublish":"node build/index.js"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ff":[3.5,10,15],"chrome":[10,22],"safari":[5.1],"opera":[12]}},"devDependencies":{"tap":"~0.4.3","tape":"~1.0.4"},"bugs":{"url":"https://github.com/substack/node-ent/issues"},"_id":"ent@0.1.0","dist":{"shasum":"deb9cd7f3da25b1a94c248dbbdc91d0f0c094035","size":23368,"noattachment":false,"key":"/ent/-/ent-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1375132304933,"_hasShrinkwrap":false,"_cnpm_publish_time":1375132304933},"0.0.7":{"name":"ent","description":"Encode and decode HTML entities","version":"0.0.7","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ff":[3.5,10,15],"chrome":[10,22],"safari":[5.1],"opera":[12]}},"devDependencies":{"tap":"~0.4.3","tape":"~1.0.4"},"bugs":{"url":"https://github.com/substack/node-ent/issues"},"_id":"ent@0.0.7","dist":{"shasum":"835d4e7f9e7a8d4921c692e9010ec976da5e9949","size":4292,"noattachment":false,"key":"/ent/-/ent-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.0.7.tgz"},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1375130904429,"_hasShrinkwrap":false,"_cnpm_publish_time":1375130904429},"0.0.6":{"name":"ent","description":"Encode and decode HTML entities","version":"0.0.6","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"MIT","scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ff":[3.5,10,15],"chrome":[10,22],"safari":[5.1],"opera":[12]}},"devDependencies":{"tap":"~0.3.3","tape":"~0.1.0"},"bugs":{"url":"https://github.com/substack/node-ent/issues"},"_id":"ent@0.0.6","dist":{"shasum":"02cfc5a6e1945ec837faa03cfd0d71059f8438e9","size":4239,"noattachment":false,"key":"/ent/-/ent-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.0.6.tgz"},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1374100382680,"_hasShrinkwrap":false,"_cnpm_publish_time":1374100382680},"0.0.5":{"name":"ent","description":"Encode and decode HTML entities","version":"0.0.5","repository":{"type":"git","url":"https://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"perl","scripts":{"test":"tap test/*.js"},"testling":{"files":"test/*.js","browsers":{"ie":[6,7,8,9],"ff":[3.5,10,15],"chrome":[10,22],"safari":[5.1],"opera":[12]}},"devDependencies":{"tap":"~0.3.3","tape":"~0.1.0"},"_id":"ent@0.0.5","dist":{"shasum":"98b4498d8a89d7b8d78af7aaa0714675783c7b4e","size":3522,"noattachment":false,"key":"/ent/-/ent-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.0.5.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1355296386445,"_hasShrinkwrap":false,"_cnpm_publish_time":1355296386445},"0.0.4":{"name":"ent","description":"Encode and decode HTML entities","version":"0.0.4","repository":{"type":"git","url":"git://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"perl","scripts":{"test":"expresso"},"engines":{"node":">=0.2.0"},"dependencies":{},"devDependencies":{},"_id":"ent@0.0.4","_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"532820d894818a4b3abd452ba38a625c2ff8b6a7","size":3277,"noattachment":false,"key":"/ent/-/ent-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.0.4.tgz"},"directories":{},"publish_time":1307657922740,"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1307657922740},"0.0.3":{"name":"ent","description":"Encode and decode HTML entities","version":"0.0.3","repository":{"type":"git","url":"git://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"license":"perl","scripts":{"test":"expresso"},"engines":{"node":">=0.2.0"},"dependencies":{},"devDependencies":{},"_id":"ent@0.0.3","_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"db9d5147a94f177486191111397b58f8efdd9dfc","size":3248,"noattachment":false,"key":"/ent/-/ent-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.0.3.tgz"},"directories":{},"publish_time":1307657344046,"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1307657344046},"0.0.2":{"name":"ent","description":"Encode and decode HTML entities","version":"0.0.2","repository":{"type":"git","url":"git://github.com/substack/node-ent.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index.js","keywords":["entities","entitify","entity","html","encode","decode"],"scripts":{"test":"expresso"},"engines":{"node":">=0.2.0"},"_id":"ent@0.0.2","_engineSupported":true,"_npmVersion":"0.3.3","_nodeVersion":"v0.5.0-pre","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"df49c9620a8cc5b962d2c8a3050dcfdd25971b15","size":3031,"noattachment":false,"key":"/ent/-/ent-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.0.2.tgz"},"publish_time":1298579724457,"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1298579724457},"0.0.1":{"name":"ent","description":"Encode and decode HTML entities","version":"0.0.1","repository":"https://github.com/substack/node-ent.git","author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"main":"./index","keywords":["entities","entitify","entity","html","encode","decode"],"scripts":{"test":"expresso"},"engines":{"node":">=0.2.0"},"_id":"ent@0.0.1","_engineSupported":true,"_npmVersion":"0.2.18","_nodeVersion":"v0.3.8-pre","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"c475d401928b4ba617506405780b1c9468dbd3e5","size":3062,"noattachment":false,"key":"/ent/-/ent-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ent/download/ent-0.0.1.tgz"},"publish_time":1297865632460,"maintainers":[{"name":"ljharb","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"_hasShrinkwrap":false,"_cnpm_publish_time":1297865632460}},"readme":"# ent <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nEncode and decode HTML entities\n\n# example\n\n``` js\nvar ent = require('ent');\nconsole.log(ent.encode('<span>©moo</span>'))\nconsole.log(ent.decode('&pi; &amp; &rho;'));\n```\n\n```\n&#60;span&#62;&#169;moo&#60;/span&#62;\nπ & ρ\n```\n\n![ent](https://web.archive.org/web/20170823120015if_/http://substack.net/images/ent.png)\n\n# methods\n\n``` js\nvar ent = require('ent');\nvar encode = require('ent/encode');\nvar decode = require('ent/decode');\n```\n\n## encode(str, opts={})\n\nEscape unsafe characters in `str` with html entities.\n\nBy default, entities are encoded with numeric decimal codes.\n\nIf `opts.numeric` is false or `opts.named` is true, encoding will used named\ncodes like `&pi;`.\n\nIf `opts.special` is set to an Object, the key names will be forced\nto be encoded (defaults to forcing: `<>'\"&`). For example:\n\n``` js\nconsole.log(encode('hello', { special: { l: true } }));\n```\n\n```\nhe&#108;&#108;o\n```\n\n## decode(str)\n\nConvert html entities in `str` back to raw text.\n\n# credits\n\nHTML entity tables are from the official\n[`entities.json`](https://html.spec.whatwg.org/entities.json) file for\nthe [whatwg HTML\nspecification](https://html.spec.whatwg.org/multipage/syntax.html#named-character-references).\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install ent\n```\n\n# license\n\nMIT\n\n[package-url]: https://npmjs.org/package/ent\n[npm-version-svg]: https://versionbadg.es/ljharb/ent.svg\n[deps-svg]: https://david-dm.org/ljharb/ent.svg\n[deps-url]: https://david-dm.org/ljharb/ent\n[dev-deps-svg]: https://david-dm.org/ljharb/ent/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/ent#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/ent.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/ent.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/ent.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=ent\n[codecov-image]: https://codecov.io/gh/ljharb/ent/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/ent/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/ent\n[actions-url]: https://github.com/ljharb/ent/actions\n","_attachments":{},"homepage":"https://github.com/ljharb/ent#readme","bugs":{"url":"https://github.com/ljharb/ent/issues"},"license":"MIT"}