Robin van der Vleuten

A spelling and grammar checker for Node

When you write in a foreign language, you probably reach for Google Translate. It works well for individual words, but sentence grammar is a different problem. For example, Edwards will be sck yesterday becomes Edwards will be sick yesterday, but it does not fix will be to was.

There are other services that handle that kind of correction, so I made a Node wrapper for one of them: Gingerbread.

Gingerbread uses the free API from Ginger and is based on the gingerice gem. You can install it as a CLI executable or use it in your Node scripts. Install it through npm:

bash
$ npm install gingerbread

To install it as a global executable, add -g to that command. In a script, use it like this:

javascript
var gingerbread = require('gingerbread')
gingerbread(
'The smelt of fliwers bring back memories.',
{
/** options to override **/
},
function (error, text, result, corrections) {
// result contains 'The smell of flowers brings back memories.'
}
)

See the README for more usage information, or report issues on GitHub.