Cool project. I've been collecting a list of automated tools for editing [1], which originated at Bell Labs with The Unix Writer's Workbench [2]. Rather than start from scratch, if you want to stick with JavaScript you might consider contributing to Titus Wormer's ReText [3]. Otherwise, we'd love for you to join us in building the Python-based Proselint [4].
1. https://github.com/amperser/proselint/blob/master/research/c...
2. https://www.princeton.edu/~hos/frs122/unixhist/text.htm
3. https://github.com/wooorm/retext/blob/master/doc/plugins.md
4. https://github.com/amperser/proselint