Neurological Phenomenon Multiplexer
Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

textgears-api

1.0.10 • Public • Published

textgears-api travis-badge

Textgears API for node.js

install

install the package with npm:

$ npm install textgears-api

or with [yarn][yarn]:

$ yarn add textgears-api

usage

import textgears from 'textgears-api';
 
const textgearsApi = textgears('YOUR_KEY', {language: 'en-US'});
textgearsApi.checkGrammar('I is a engineer')
    .then((data) => {
        for (const error of data.errors) {
            console.log('Error: %s. Suggestions: %s', error.bad, error.better.join(''));
        }
    })
    .catch((err) => {});
 

You can run tests with command

npm test

which is an alias for

nyc mocha

or

./node_modules/nyc/bin/nyc.js ./node_modules/mocha/bin/mocha

https://github.com/textgears/api-node

Install

npm i textgears-api

DownloadsWeekly Downloads

2

Version

1.0.10

License

ISC

Unpacked Size

25.3 kB

Total Files

9

Last publish

Collaborators

  • avatar