Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 369 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 369 Bytes

api-nodejs

A-Parser API Client Library for Node.js

Usage

const AParserClient = require('a-parser');

const AParser = new AParserClient('http://127.0.0.1:9091/API');

AParser.ping()
    .then(reply => console.log(reply.data))
    .catch(err => console.log(err));


(async () => {
    const reply = await AParser.addTask(...);
})()