From 53d65d38b2ed4b86b8e52f101e68a4ccc4564989 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 17 Nov 2022 16:37:34 +0100 Subject: [PATCH] Refactor some docs --- readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index 704f75a..995fb9f 100644 --- a/readme.md +++ b/readme.md @@ -37,7 +37,7 @@ emitted with reasons for why and positional info on where they happened. ## Install This package is [ESM only][esm]. -In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]: +In Node.js (version 14.14+, 16.0+), install with [npm][]: ```sh npm install parse-entities @@ -74,7 +74,7 @@ console.log(parseEntities('echo © foxtrot ≠ golf 𝌆 hotel')) ## API -This package exports the following identifier: `parseEntities`. +This package exports the identifier `parseEntities`. There is no default export. ### `parseEntities(value[, options])` @@ -186,13 +186,13 @@ Character reference handler. ## Types This package is fully typed with [TypeScript][]. -Additional `Options`, `WarningHandler`, `ReferenceHandler`, and `TextHandler` -types are exported that model their respective values. +It exports the additional types `Options`, `WarningHandler`, +`ReferenceHandler`, and `TextHandler`. ## Compatibility This package is at least compatible with all maintained versions of Node.js. -As of now, that is Node.js 12.20+, 14.14+, and 16.0+. +As of now, that is Node.js 14.14+ and 16.0+. It also works in Deno and modern browsers. ## Security