{"name":"character-entities-html4","version":"1.0.0","description":"HTML4 character entity information","license":"MIT","keywords":["html","html4","entity","entities","character","reference","name","replacement"],"files":["index.js","index.json"],"repository":{"type":"git","url":"git+https://github.com/wooorm/character-entities-html4.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"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-crawl":"mkdir -p data && curl http://www.w3.org/TR/html4/sgml/entities.html > data/entities.html","build-generate":"node script/generate.js","build-bundle":"browserify index.js --bare -s characterEntities > character-entities-html4.js","build-mangle":"esmangle character-entities-html4.js > character-entities-html4.min.js","build":"npm run build-md && npm run build-crawl && npm run build-generate && 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":"6ae796ad4ee30889ac6601af008ae29855baab19","bugs":{"url":"https://github.com/wooorm/character-entities-html4/issues"},"homepage":"https://github.com/wooorm/character-entities-html4#readme","_id":"character-entities-html4@1.0.0","_shasum":"e201beb73567527403d7113e11c891b0e1bf33ec","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.1.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"e201beb73567527403d7113e11c891b0e1bf33ec","tarball":"http://registry-npm.ywwl.com/character-entities-html4/download/character-entities-html4-1.0.0.tgz","integrity":"sha512-zG5F7/DtcpsiLsji8I16NB8OrdX8bVJSC5Z1XYR6zgc2Az8SzH9KC2PWymguHJ7CAVrsqwnvkVziUlA5gELI0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtB3cbzpVFOeMi0YXqVA9d/44nAZwHgncBOjkQLQehiAIhANZYMoB48r3t05Qu7/Rp7sZEdGdmVVKjI1BM6gYrjGxB"}],"size":3767,"noattachment":false,"key":"/character-entities-html4/-/character-entities-html4-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"readme":"# character-entities-html4\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nMap of named character references from HTML 4.\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    *   [`characterEntitiesHtml4`](#characterentitieshtml4)\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 map of named character references in HTML 4 to the characters they\nrepresent.\n\n## When should I use this?\n\nMaybe when you’re writing an HTML parser or minifier, but otherwise probably\nnever!\nEven then, it might be better to use [`parse-entities`][parse-entities] or\n[`stringify-entities`][stringify-entities].\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]:\n\n```sh\nnpm install character-entities-html4\n```\n\nIn Deno with [Skypack][]:\n\n```js\nimport {characterEntitiesHtml4} from 'https://cdn.skypack.dev/character-entities-html4@2?dts'\n```\n\nIn browsers with [Skypack][]:\n\n```html\n<script type=\"module\">\n  import {characterEntitiesHtml4} from 'https://cdn.skypack.dev/character-entities-html4@2?min'\n</script>\n```\n\n## Use\n\n```js\nimport {characterEntitiesHtml4} from 'character-entities-html4'\n\nconsole.log(characterEntitiesHtml4.AElig) // => 'Æ'\nconsole.log(characterEntitiesHtml4.aelig) // => 'æ'\nconsole.log(characterEntitiesHtml4.amp) // => '&'\nconsole.log(characterEntitiesHtml4.apos) // => undefined\n```\n\n## API\n\nThis package exports the following identifiers: `characterEntitiesHtml4`.\nThere is no default export.\n\n### `characterEntitiesHtml4`\n\nMap of case sensitive named character references from HTML 4.\nSee [`w3.org`][html] for more info.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 12.20+, 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) character references\n*   [`stringify-entities`](https://github.com/wooorm/stringify-entities)\n    — serialize (encode) character references\n*   [`character-entities`](https://github.com/wooorm/character-entities)\n    — info on character entities\n*   [`character-entities-invalid`](https://github.com/wooorm/character-entities-invalid)\n    — info on invalid numeric character references\n*   [`character-entities-legacy`](https://github.com/wooorm/character-entities-legacy)\n    — info on legacy named 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/character-entities-html4/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/character-entities-html4/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/character-entities-html4.svg\n\n[coverage]: https://codecov.io/github/wooorm/character-entities-html4\n\n[downloads-badge]: https://img.shields.io/npm/dm/character-entities-html4.svg\n\n[downloads]: https://www.npmjs.com/package/character-entities-html4\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/character-entities-html4.svg\n\n[size]: https://bundlephobia.com/result?p=character-entities-html4\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[skypack]: https://www.skypack.dev\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[parse-entities]: https://github.com/wooorm/parse-entities\n\n[stringify-entities]: https://github.com/wooorm/stringify-entities\n\n[html]: https://www.w3.org/TR/html4/sgml/entities.html\n","publish_time":1450787788402,"_cnpm_publish_time":1450787788402,"dist-tags":{"latest":"2.1.0"}}