huacnlee / autocorrect

A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).
https://huacnlee.github.io/autocorrect
MIT License
894 stars 31 forks source link

NodeJS package: implement JS-based CLI #165

Closed queengooborg closed 1 year ago

queengooborg commented 1 year ago

While the Node.js package is helpful, it only seems to provide a JavaScript API, and doesn't provide a CLI. It would be great to have a CLI available through the Node.js package, so that this project can be properly integrated into the MDN Web Docs' workflow.

huacnlee commented 1 year ago

That a good idea, I will think about convert the CLI as a Wasm, then we can use it into Node.js.

queengooborg commented 1 year ago

Thank you very much, I'm looking forward to it!

huacnlee commented 1 year ago

Hi @queengooborg you can use it now.

https://github.com/huacnlee/autocorrect/releases/tag/v2.7.0

queengooborg commented 1 year ago

Thank you so much, @huacnlee!