TextRazor SDK for node.js
Install using npm:
$ npm install textrazor --saveconstTextRazor=require('textrazor')consttextRazor=newTextRazor('<YOUR API KEY>')constcontent='The Federal Reserve is the enemy of Ron Paul.'constoptions={extractors: 'entities,topics'}textRazor.exec(content,options).then(res=>console.log(JSON.stringify(res))).catch(err=>console.error(err))Run tests:
$ npm testRuns in Node.js v4.0+
The MIT License (MIT)
Copyright (c) 2016