first

node v0.12.18
version: 1.4.0
endpointsharetweet
var read = require('node-read') exports.tonicEndpoint = function(request, response) { read('https://ilearnsmarter.com', function(err, article, res) { // Main Article. console.log(article.content); // Title response.end(article.content); // HTML console.log(article.html); // DOM console.log(article.dom); }) }
Loading…

no comments

    sign in to comment