A lightweight JavaScript proofreader that checks writing style, readability, and common errors in text.
Rousseau is a lightweight proofreading library written in JavaScript that analyzes text for style, readability, and common writing errors. It provides programmatic checks for issues like passive voice, repeated words, and weak adverbs, helping improve written content automatically.
Developers, technical writers, and content creators who need to integrate automated writing feedback into applications, documentation tools, or editing workflows.
It offers a simple, extensible API for text analysis without heavy dependencies, supports multiple environments (Node.js, CLI, browser), and allows custom checks for tailored proofreading needs.
Lightweight proofreader in JS
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Rousseau is designed to be lightweight without heavy dependencies, as per its philosophy, enabling quick integration and efficient text analysis in various environments.
The library allows adding custom checks, demonstrated in the README with a spellchecker example using tokenization and filtering methods.
It runs in Node.js, command line, and browser environments, providing flexibility for diverse use cases from CLI tools to web apps.
Includes targeted checks for passive voice, lexical illusions, adverbs, and readability, directly addressing common writing issues with configurable options.
The README lists checks only for English, and extending to other languages requires significant custom implementation, limiting international use.
Spellchecking is not included; users must implement it themselves via the extensibility API, adding complexity for basic proofreading needs.
The API uses callbacks, which may feel outdated compared to modern Promise-based or async/await patterns, complicating integration in contemporary JavaScript codebases.