{"name":"character-entities-legacy","version":"3.0.0","description":"List of legacy HTML named character references that don’t need a trailing semicolon","license":"MIT","keywords":["html","entity","entities","character","reference","name"],"repository":{"type":"git","url":"git+https://github.com/wooorm/character-entities-legacy.git"},"bugs":{"url":"https://github.com/wooorm/character-entities-legacy/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","bail":"^2.0.0","c8":"^7.0.0","concat-stream":"^2.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.45.0"},"scripts":{"generate":"node build","prepublishOnly":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"3c5e1de6252250ed56825e8c77fe975dbb3f0d6f","homepage":"https://github.com/wooorm/character-entities-legacy#readme","_id":"character-entities-legacy@3.0.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==","shasum":"76bc83a90738901d7bc223a9e93759fdd560125b","tarball":"http://registry-npm.ywwl.com/character-entities-legacy/download/character-entities-legacy-3.0.0.tgz","fileCount":5,"unpackedSize":9141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2lx0CRA9TVsSAnZWagAAsgsQAJJWYjkoYEq6U2jj9xh5\nZHBcDBHiKVahq59wx/5NwbyGaP6zbhNUiNQBHY3gKnFeA+XeI9OL0MT+Ady9\n7rugskCgDPGTloGiHU9FS91Ghj77vix+VW07zmRjLUCa15HV2GwYq7rY81Jr\n9hcd2a3Crkif9jcxN52u2etxhzw8WDPuFpZZiaq/U/Q7bbeing/Zli7KhARt\nuqbitYpYpdta0i2gr954mS9hBIeAxdmg498kJjdR4z/oQqnUtQHivF+HTuM9\nmVWl3ETAP8rzGchsgANyN9MM2PPlZAq3KR76NovJ8w6FTDxAZx976W6w+uBI\ntAM+nzYYYLF0rflDg5ph/hxVWhTzC8utvYdvq82RHqdMNeZVZL/2F1vsGbn1\nI9h8q25/5NVuENT+/w9cr30Mk9qrXbdDZUDRkmZd9Kn2kCW6SQXj5X91vLhp\nImWEqRD/zNTQuABO7p7f+bnDR5ih/z9cUGSznGuKS7v2QLD4Zpx7qDw8wT0n\nu+WZUULrXVQ7U82/6bR+uwiTp1DkOQhI7u55cFI0sqE/QrVk/gAOXOV5zgfF\nMSpF5oR1kFyWtuVkRvRcp/O+NZuplKxugZngwrnKqm4TyY6YQafBUABxjtH0\nGr8GDAWvpEeW/V5eF33igc7hEHDFyI/q7rQpr2b9fhEJx2Hm3fCd63WcNDkX\nXlRF\r\n=K0vP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIADiz2vd0no8uqI/G0f0FTD/Dc3mlT7CQtEqHqNvV9N5AiAKgMl7t0OhjTea/7HL/T4yRSj0bZk7vVryH57dQoNzmA=="}],"size":3544,"noattachment":false,"key":"/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/character-entities-legacy_3.0.0_1635511820287_0.07372628146037985"},"_hasShrinkwrap":false,"readme":"# character-entities-legacy\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nList of legacy HTML named character references that don’t need a trailing\nsemicolon.\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    *   [`characterEntitiesLegacy`](#characterentitieslegacy)\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 list of certain named character references, that due to legacy\nreasons, don’t need a trailing semicolon in HTML.\nFor example, `&copy` is perfectly fine for `©`!\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-legacy\n```\n\nIn Deno with [Skypack][]:\n\n```js\nimport {characterEntitiesLegacy} from 'https://cdn.skypack.dev/character-entities-legacy@2?dts'\n```\n\nIn browsers with [Skypack][]:\n\n```html\n<script type=\"module\">\n  import {characterEntitiesLegacy} from 'https://cdn.skypack.dev/character-entities-legacy@2?min'\n</script>\n```\n\n## Use\n\n```js\nimport {characterEntitiesLegacy} from 'character-entities-legacy'\n\nconsole.log(characterEntitiesLegacy.includes('copy')) // => true\nconsole.log(characterEntitiesLegacy.includes('frac34')) // => true\nconsole.log(characterEntitiesLegacy.includes('sup1')) // => true\n```\n\n## API\n\nThis package exports the following identifiers: `characterEntitiesLegacy`.\nThere is no default export.\n\n### `characterEntitiesLegacy`\n\nList of (case sensitive) legacy character entity names.\n[`wooorm/character-entities`][character-entities] holds their decoded values.\nSee [`whatwg/html`][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*   [`wooorm/parse-entities`](https://github.com/wooorm/parse-entities)\n    — parse (decode) character references\n*   [`wooorm/stringify-entities`](https://github.com/wooorm/stringify-entities)\n    — serialize (encode) character references\n*   [`wooorm/character-entities`](https://github.com/wooorm/character-entities)\n    — info on character entities\n*   [`wooorm/character-entities-html4`](https://github.com/wooorm/character-entities-html4)\n    — info on HTML4 character entities\n*   [`wooorm/character-reference-invalid`](https://github.com/wooorm/character-reference-invalid)\n    — info on invalid numeric 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-legacy/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/character-entities-legacy/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/character-entities-legacy.svg\n\n[coverage]: https://codecov.io/github/wooorm/character-entities-legacy\n\n[downloads-badge]: https://img.shields.io/npm/dm/character-entities-legacy.svg\n\n[downloads]: https://www.npmjs.com/package/character-entities-legacy\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/character-entities-legacy.svg\n\n[size]: https://bundlephobia.com/result?p=character-entities-legacy\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[html]: https://github.com/whatwg/html-build/blob/HEAD/entities/json-entities-legacy.inc\n\n[parse-entities]: https://github.com/wooorm/parse-entities\n\n[stringify-entities]: https://github.com/wooorm/stringify-entities\n\n[character-entities]: https://github.com/wooorm/character-entities\n","publish_time":1635511820435,"_cnpm_publish_time":1635511820435,"dist-tags":{"latest":"3.0.0"}}