Socket
Socket
Sign inDemoInstall

node-calais

Package Overview
Dependencies
6
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-calais

Open Calais SDK for node.js


Version published
Weekly downloads
5
decreased by-44.44%
Maintainers
1
Install size
904 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 10 Mar 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc