respeller

1.2.0 • Public • Published

respeller

This is a utility CLI for fixing common spelling mistakes across a batch of files.

Usage

help

respeller -h

show the words that are known and incorrect (would be replaced with replace)

repseller find *.md

correct the errors above and save the new files

respeller replace *.md

check for new spelling errors

repseller check *.md

process the inputs using write-good

respeller grammar *.md

run through markdownlint checks

respeller markdown *.md

You can also save the "simple" mistakes to your words list and have them available for auto-corrections. Simple is defined as:

  • longer than 2 characters
  • word is all lower case or only capitalized in the first letter
  • word contains no period
  • proposed replacement does not contain a period
  • only 1 replacement is suggested
repseller check --saveFixes *.md

How It Works

This simple utility keeps a list of common spelling mistakes that you can add to. It runs the flashtext algorithm across that list so that you can find those mistakes in your files. It also has the ability to automatically replace words with the suggested recommendation.

Readme

Keywords

none

Package Sidebar

Install

npm i respeller

Weekly Downloads

1

Version

1.2.0

License

ISC

Unpacked Size

443 kB

Total Files

19

Last publish

Collaborators

  • byronwallrus