{"id":15413541,"url":"https://github.com/wooorm/decode-named-character-reference","last_synced_at":"2026-01-19T21:07:29.979Z","repository":{"id":44624306,"uuid":"430832114","full_name":"wooorm/decode-named-character-reference","owner":"wooorm","description":"Decode named character references","archived":false,"fork":false,"pushed_at":"2025-03-07T10:54:30.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T12:17:28.081Z","etag":null,"topics":["character","decode","named","reference"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wooorm.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":"funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"wooorm"}},"created_at":"2021-11-22T19:04:21.000Z","updated_at":"2025-03-07T10:54:32.000Z","dependencies_parsed_at":"2023-01-23T04:01:11.594Z","dependency_job_id":null,"html_url":"https://github.com/wooorm/decode-named-character-reference","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fdecode-named-character-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fdecode-named-character-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fdecode-named-character-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Fdecode-named-character-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wooorm","download_url":"https://codeload.github.com/wooorm/decode-named-character-reference/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249688993,"owners_count":21311306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["character","decode","named","reference"],"created_at":"2024-10-01T16:57:44.272Z","updated_at":"2025-04-19T11:53:37.222Z","avatar_url":"https://github.com/wooorm.png","language":"JavaScript","funding_links":["https://github.com/sponsors/wooorm"],"categories":[],"sub_categories":[],"readme":"# decode-named-character-reference\n\n[![Build Status][build-badge]][build]\n[![Coverage Status][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nDecode named character references.\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  * [`decodeNamedCharacterReference(value)`](#decodenamedcharacterreferencevalue)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Related](#related)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nA workaround for webpack.\n\n## When should I use this?\n\nNever use this.\nUse [`parse-entities`][parse-entities].\nIt uses this.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install decode-named-character-reference\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {decodeNamedCharacterReference} from 'https://esm.sh/decode-named-character-reference@1'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n\u003cscript type=\"module\"\u003e\n  import {decodeNamedCharacterReference} from 'https://esm.sh/decode-named-character-reference@1?bundle'\n\u003c/script\u003e\n```\n\n## Use\n\n```js\nimport {decodeNamedCharacterReference} from 'decode-named-character-reference'\n\ndecodeNamedCharacterReference('amp') //=\u003e '\u0026'\n```\n\n## API\n\nThis package exports the identifier `decodeNamedCharacterReference`.\nThere is no default export.\n\n### `decodeNamedCharacterReference(value)`\n\nAgain, use [`parse-entities`][parse-entities].\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 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`][parse-entities]\n  — parse (decode) HTML 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\u003c!-- Definitions --\u003e\n\n[author]: https://wooorm.com\n\n[build]: https://github.com/wooorm/decode-named-character-reference/actions\n\n[build-badge]: https://github.com/wooorm/decode-named-character-reference/workflows/main/badge.svg\n\n[contribute]: https://opensource.guide/how-to-contribute/\n\n[coverage]: https://codecov.io/github/wooorm/decode-named-character-reference\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/decode-named-character-reference.svg\n\n[downloads]: https://www.npmjs.com/package/decode-named-character-reference\n\n[downloads-badge]: https://img.shields.io/npm/dm/decode-named-character-reference.svg\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[license]: license\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[parse-entities]: https://github.com/wooorm/parse-entities\n\n[size]: https://bundlephobia.com/result?p=decode-named-character-reference\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/decode-named-character-reference.svg\n\n[typescript]: https://www.typescriptlang.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Fdecode-named-character-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwooorm%2Fdecode-named-character-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Fdecode-named-character-reference/lists"}