node-techcrunch
0.2.2 • Public • Published node-techcrunch
A simple API for accessing techcrunch news
(Built on ES6. Compiled by babel)
Installation
npm install --save node-techcrunch
Usage
var tc = require('node-techcrunch')
- Get news name by tag name
tc.crunchTag('tag')
.then(function(res) {
})
.catch(function(err) {
});
- Get a news as JSON from its link
tc.crunchLink('link')
.then(function(res) {
})
.catch(function(err) {
});
- Get a latest single news as JSON
tc.crunchLast()
.then(function(res) {
})
.catch(function(err) {
});
Package Sidebar
Install
Weekly Downloads