Gramarly
Simple grammarly package.
Installation
npm install @defrindr/grammarly --save
Or
npm install grammarly --save
Example
const grammarly = ; { let correction = await ; console;};
Response :
original: '"i wont to be slep"' correctText: '"I want to be sleeping"' correction: type: 'spell' word: 'I' definition: 'refers to the speaker or writer' type: 'spell' word: 'want' definition: null type: 'grammar' word: 'sleeping' definition: null
TODOs
- Change response to json
- Add french grammar
License
This project under MIT LICENSE