
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Semantically analyze text using the Calais web service. Original project http://github.com/mcantelon/node-calais
All credits to https://github.com/mcantelon/node-calais, Mike Cantelon
node-calais allows semantic analysis of text using the Calais web service.
Install using npm: $ npm install opencalais
var calais = new Calais('<YOUR API KEY>')
calais.set('content', 'The Federal Reserve is the enemy of Ron Paul.')
calais.fetch(function(result) {
// do something with result
})
Run quick example: $ node example.js
In addition to using the "set" method, a hash of option settings can be passed as the second argument during intialization. For example:
var calais = new Calais('<YOUR API KEY>', {'cleanResult': false})
By default, node-calais will return fetched results as a Javascript object. Alternatively, the Calais standard "outputFormat" input parameter can be set to standard output formats (see Calais documentation).
Any standard Calais input parameter can be specified as an option, as well as the 'cleanResult' parameter which will return a simplified Javascript object if "outputFormat" hasn't been set to something other than the default ('object').
The library also comes with a CLI tool for sending text files to Calais for analysis.
Example:
calais some_key_file -k my_api_key
If you use the CLI tool regularly, you can specify a default API key by setting
the api_key property in an .ini file at $HOME/.calais.
Run tests: $ expresso test/calais.test.js
Tested with node.js v0.3.0
Mike Cantelon (github: mcantelon)
Harry Guillermo (github: hguillermo)
Dirk Gorissen (github: dgorissen)
(c) 2010-2013 Mike Cantelon, MIT license
FAQs
Semantically analyze text using the Calais web service. Original project http://github.com/mcantelon/node-calais
We found that opencalais demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.