node-calais
v1.0.3
Published
Open Calais SDK for node.js
Downloads
5
Readme
node-calais
Open Calais SDK for node.js.
Install
Install using npm:
$ npm install node-calais
Usage
const Calais = require('node-calais')
const calais = new Calais('<YOUR API KEY>')
const content = 'The Federal Reserve is the enemy of Ron Paul.'
calais.exec(content)
.then(res => console.log(JSON.stringify(res)))
.catch(err => console.error(err))
Test
Run tests:
$ npm test
Tested with node.js v4.0+
License
The MIT License (MIT)
Copyright (c) 2016