{"library":"stringify-entities","type":"library","category":null,"description":"Serialize (encode) HTML character references, converting special characters to HTML entities. Version 4.0.4 is ESM-only, ships TypeScript types, and is actively maintained. It offers full control: named references, shortest references, optional semicolons, attribute-safe mode, and subset encoding. A light version (`stringifyEntitiesLight`) omits formatting options for smaller bundles. Differentiators: spec-compliant, reliable `` ` `` encoding for IE6-8, avoids `&apos;` unlike similar libraries.","language":"javascript","status":"active","version":"4.0.4","tags":["javascript","stringify","encode","escape","html","character","reference","entity","entities","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install stringify-entities","imports":["import { stringifyEntities } from 'stringify-entities'","import { stringifyEntitiesLight } from 'stringify-entities'","import type { stringifyEntities } from 'stringify-entities'"]},{"cmd":"yarn add stringify-entities","imports":[]},{"cmd":"pnpm add stringify-entities","imports":[]}],"homepage":"https://github.com/wooorm/stringify-entities#readme","github":"https://github.com/wooorm/stringify-entities","docs":null,"changelog":null,"pypi":null,"npm":"stringify-entities","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}