Skip to content

v2.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jul 08:24
· 114 commits to main since this release

What's New

This version just release autocorrect-node and @huacnlee/autocorrect NPMs.

  • node: Add CLI command support for autocorrect-node, now we can just use it without install autocorrect bin. See doc
  • wasm: Fix WebAssembly build to support Safari in iOS 14 and lower versions.

Use AutoCorrect in Npm

AutoCorrect has been published in NPM with CLI command support. If you want to use it in Frontend or Node.js project, you can just install autocorrect-node package for without install AutoCorrect bin.

cd your-project
yarn add autocorrect-node

Now you can run yarn autocorrect command in your project. This command same as the autocorrect command.

$ yarn autocorrect -h

You can run autocorrect --lint to check:

$ yarn autocorrect --lint ./