3 ms·
https://alexjs.com/ https://alexjs.com/ You can either integrate it with external tooling (common use is in a build pipeline for docs), or use the JS API direc
by kimburgess 4y ago
https://alexjs.com/ https://alexjs.com/
You can either integrate it with external tooling (common use is in a build pipeline for docs), or use the JS API directly: https://github.com/get-alex/alex#api https://github.com/get-alex/alex#api.
- butler952 4y agoThanks for sharing this! I've had a quick look and it looks great for identifying where improvements can be made to content in your codebase. I don't think it's suitable for my use case as the content will be in a database or localStorage, and it seems to only be able to recommend changes rather than dynamically make them. Unless I have misinterpreted things.
- kimburgess 4y agoWhen using it as a lib you can pass a markdown string (https://github.com/get-alex/alex#markdownvalue-config https://github.com/get-alex/alex#markdownvalue-config) or raw text string (https://github.com/get-alex/alex#textvalue-config https://github.com/get-alex/alex#textvalue-config). This will return an object that should contain everything you need to perform a naive replacement.