aspell-stream
0.1.0 • Public • Published aspell-stream
Readable and writable stream that spell checks your text and parses aspell output to an understandable format
Usage
var aspell = require('aspell-stream');
var fs = require('fs');
fs.createReadStream('somefile.md')
.pipe(aspell())
.on('misspelling', function(err) {
console.log(err);
});
Or...
var spellStream = aspell()
.on('misspelling', function(err) {
console.log(err);
});
spellStream.write('there is someting wrong here');
spellStream.end();
License
MIT-licensed. See LICENSE.
Dependencies (6)
Dev Dependencies (1)
Package Sidebar
Install
Weekly Downloads