Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A `retext` plugin for checking popular names casing. Example:⚠️ `github` → ✅ `GitHub`

License

NotificationsYou must be signed in to change notification settings

JulianCataldo/retext-case-police

Repository files navigation

NPMISC License
VS Codeunified
TypeScriptPrettierEditorConfigESLintPRs Welcome

Aretext plugin for checking popular names casing.

Examples:

  • ⚠️macbook → ✅MacBook
  • ⚠️MacOS → ✅macOS
  • 🤔…
  • ⚠️ESBuild → ✅esbuild
  • ⚠️eslint → ✅ESLint
  • 😭…

For:


Dictionaries are fromcase-police.

Demo

Demo screenshot of this retext plugin

Quick start

Installation

pnpm install @julian_cataldo/retext-case-police

Note: 100%ESM, including dependencies
For Node.js17 and higher (using JSON import assertions) or with--experimental-json-modules flag with Node16.

Usage

importretextCasePolicefrom'@julian_cataldo/retext-case-police';// ….use(retextCasePolice)// …// ——————— With options ————v// Ignore words.use(retextCasePolice,{ignore:['GitHub']})

To do

  • Ignore words
  • Resolve Parcel stripping outassert { type: 'json' }
  • Ignore links (e.ghttps:// wrongly flagged)
  • Custom dictionaries embedding?

SeeCHANGELOG.md for release history.


🔗  JulianCataldo.com

About

A `retext` plugin for checking popular names casing. Example:⚠️ `github` → ✅ `GitHub`

Topics

Resources

License

Stars

Watchers

Forks

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp