{"_id":"diffbot","_rev":"18-81157608428fb7358feb0e6a7b053efa","name":"diffbot","description":"Node.js wrapper for the Diffbot Article and Frontpage APIs","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"diffbot","description":"Node.js wrapper for the Diffbot Article and Frontpage APIs","tags":["diffbot","wrapper","api","article"],"version":"1.0.0","author":{"name":"Mark Bao","email":"mark@markbao.com"},"repository":{"type":"git","url":"http://github.com/markbao/node-diffbot.git"},"bugs":{"url":"http://github.com/markbao/node-diffbot/issues"},"engines":["node >= 0.3.6"],"dependencies":{"request":""},"main":"./main","_id":"diffbot@1.0.0","dist":{"shasum":"71c8bf72d46c3a0f184cc19b6e9a9f57ecadfc96","tarball":"https://registry.npmjs.org/diffbot/-/diffbot-1.0.0.tgz","integrity":"sha512-KIl64Jco3jRnZwB+DOpsywSXWfVWfotDlihsRXJaMz1Se3+zGE/tt4EHqe6jLKbE0jb1DHIL1I1GtuPN5bKRBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvf8syf2UJwTT2Ls2H3ObYhtslXM7RfjJxLVxVsh8XbAiEA+pk0vHa6knBiJ9e7RhS6C0vUkfCuAmjVCYrxN5uS3Fk="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"markbao","email":"mark@markbao.com"},"maintainers":[{"name":"markbao","email":"mark@markbao.com"}],"directories":{}},"0.1.0":{"name":"diffbot","description":"Node.js wrapper for the Diffbot Article and Frontpage APIs","tags":["diffbot","wrapper","api","article"],"version":"0.1.0","author":{"name":"Mark Bao","email":"mark@markbao.com"},"repository":{"type":"git","url":"http://github.com/markbao/node-diffbot.git"},"bugs":{"url":"http://github.com/markbao/node-diffbot/issues"},"engines":["node >= 0.3.6"],"dependencies":{"request":""},"main":"./main","_id":"diffbot@0.1.0","dist":{"shasum":"7287c46d020916e0805157769a2321fdb61bc592","tarball":"https://registry.npmjs.org/diffbot/-/diffbot-0.1.0.tgz","integrity":"sha512-NA84PnHTF6zFdIZtDTuIR5nybcU62CLSEan57FTPKhU79ki4BIQbQHFr9hiepMoUFCiFJUG6nkNjYULDhIe17g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAc2EmFjTTDqnyNSlv4BmtfBeKRq329umQcNpetYHnmcAiEAtGPEPJy4B+T2O0ovLsgfalxpms4qtey2s5/E9EnRgeI="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"markbao","email":"mark@markbao.com"},"maintainers":[{"name":"markbao","email":"mark@markbao.com"}]},"1.0.3":{"name":"diffbot","description":"Node.js wrapper for the Diffbot Article and Frontpage APIs","tags":["diffbot","wrapper","api","article"],"version":"1.0.3","author":{"name":"Mark Bao","email":"mark@markbao.com"},"repository":{"type":"git","url":"git+https://github.com/markbao/node-diffbot.git"},"bugs":{"url":"https://github.com/markbao/node-diffbot/issues"},"dependencies":{"request":""},"keywords":["diffbot"],"contributors":[{"name":"Pauli Jokela"}],"main":"./main","license":"Apache-2.0","homepage":"https://github.com/markbao/node-diffbot","gitHead":"a14619537834841b36aeb8d4ccb954ae39705739","_id":"diffbot@1.0.3","scripts":{},"_shasum":"06122c0aaeeac7a0b0a3be0192da697eddc45c9b","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"markbao","email":"mark@markbao.com"},"dist":{"shasum":"06122c0aaeeac7a0b0a3be0192da697eddc45c9b","tarball":"https://registry.npmjs.org/diffbot/-/diffbot-1.0.3.tgz","integrity":"sha512-fJU27FQcJw9ovYTqbqFL49DyitUOOwDlwqNDmvXNMh2zSowk4AD4ZZ085Rb3XWf458NNT4kdFIANGJD3htJCDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuw69GKWsdw053BxMLv5KlZQnc4VrkqpHebjNTbO5gwwIgPA58rTBMk+47a59Dn1R8Bfghfui8RwsLUsU0TeEi24I="}]},"maintainers":[{"name":"markbao","email":"mark@markbao.com"}]}},"readme":"# node-diffbot\n\nnode-diffbot is a wrapper for the Diffbot API. It only supports the Article and Frontpage APIs as of right now.\n\n## Install\n\n    npm install diffbot\n\n## Example\n\n```javascript\nvar Diffbot = require('diffbot').Diffbot\n\nvar diffbot = new Diffbot('d7bde3fafe30213a331b0f0e65d89b0f'); // your API key here\n\n// regular function\ndiffbot.article({uri: 'http://techcrunch.com/2011/09/07/nintendo-gets-sued-over-the-wii/'}, function(err, response) {\n  console.log(response.title);\n  console.log(response.text);\n  if (response.media)\n    console.log(JSON.stringify(response.media));\n});\n\n// and a dash of cayenne... some addins\ndiffbot.article({uri: 'http://www.vanityfair.com/business/features/2011/04/jack-dorsey-201104', html: true, comments: true, stats: true}, function(err, response) {\n  console.log(response.stats.fetchTime);\n  console.log(response.stats.confidence);\n  console.log(response.html);\n});\n\n// maybe try the frontpage api too\ndiffbot.frontpage({uri: 'http://prettyspace.tumblr.com/'}, function(err, response) {\n  // the frontpage api is weird right now\n  // the json return isn't really json...\n  // it looks like xml converted to json\n  // need to incorporate an xml parser to this\n});\n```\n","maintainers":[{"name":"markbao","email":"mark@markbao.com"}],"time":{"modified":"2022-06-15T03:43:18.661Z","created":"2012-09-27T22:36:36.194Z","1.0.0":"2012-09-27T22:36:38.999Z","1.0.1":"2012-09-27T22:37:04.846Z","0.1.0":"2012-09-27T22:38:02.406Z","1.0.3":"2015-12-18T00:49:27.626Z"},"author":{"name":"Mark Bao","email":"mark@markbao.com"},"repository":{"type":"git","url":"git+https://github.com/markbao/node-diffbot.git"},"users":{"joshre":true,"mimmo1":true,"nimblemachine":true,"techseed":true},"homepage":"https://github.com/markbao/node-diffbot","keywords":["diffbot"],"contributors":[{"name":"Pauli Jokela"}],"bugs":{"url":"https://github.com/markbao/node-diffbot/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}