1.1.11 • Published 5 months ago

textgears-api v1.1.11

Weekly downloads
3
License
ISC
Repository
-
Last release
5 months ago

Textgears API for javascript travis-badge

Textgears API for node.js

install

install the package with npm:

$ npm install textgears-api

or with yarn:

$ yarn add textgears-api

usage

import * as textgears from 'textgears-api';

const textgearsApi = textgears('YOUR_KEY', {language: 'en-US', ai: false});
textgearsApi.checkGrammar('I is a engineer')
    .then((data) => {
        for (const error of data.response.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
1.1.11

5 months ago

1.1.10

5 months ago

1.1.9

11 months ago

1.1.8

12 months ago

1.1.7

12 months ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.12

3 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.0

5 years ago