Grammarbot
A Javascript API client Grammarbot.io
Documentation
Take a look at the official docs at grammarbot.io/quickstart
Installation
$ npm install grammarbot
Methods
1. grammarbot.check(text, callback)
2. grammarbot.checkAsync(text)
Usage
const Grammarbot = ; const bot = 'api_key' : 'YOUR_API_KEY' // (Optional) defaults to node_default 'language': 'LANG_CODE' // (Optional) defaults to en-US 'base_uri': 'api.grammarbot.io' // (Optional) defaults to api.grammarbot.io; // Callback stylebot; // Async/Await styleconst result = await bot;console;
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Ayoubelk/grammarbot
License
This npm package is available under the terms of the MIT License.