node.js grammar / language tool api
About
API wrapper for https://languagetool.org/ service (LanguageTool HTTP JSON API)
Install
npm i -S language-grammar-api
Usage
- Create client
const LanguageToolApi = ; const options = endpoint: 'https://languagetool.org/api/v2'; const languageToolClient = options;
- Get list of supported languages:
const languages = await languageToolClient;
- Check your text for specific language:
const check = await languageToolClient;
More details about api: http://wiki.languagetool.org/public-http-api