@trueberryless-org/retext-case-police
v0.1.1
Published
A `retext` plugin for checking popular names casing.
Maintainers
Readme
retext-case-police
A retext plugin for checking popular names casing.
Examples:
- ⚠️
macbook→ ✅MacBook - ⚠️
MacOS→ ✅macOS - 🤔…
- ⚠️
ESBuild→ ✅esbuild - ⚠️
eslint→ ✅ESLint - 😭…
For:
Dictionaries are from case-police.
Demo

Quick start
Installation
pnpm install @julian_cataldo/retext-case-policeNote: 100% ESM, including dependencies
For Node.js 17 and higher (using JSON import assertions) or with--experimental-json-modulesflag with Node 16.
Usage
import retextCasePolice from '@julian_cataldo/retext-case-police';
// …
.use(retextCasePolice)
// …
// ——————— With options ————v
// Ignore words
.use(retextCasePolice, { ignore: ['GitHub'] })
To do
- [x] Ignore words
- [x] Resolve Parcel stripping out
assert { type: 'json' } - [ ] Ignore links (e.g
https://wrongly flagged) - [ ] Custom dictionaries embedding?
See CHANGELOG.md for release history.
