Open naushadkm opened 9 years ago
Tiny, fast, and elegant implementation of core jQuery designed specifically for the server.
var cheerio = require('cheerio'), $ = cheerio.load('
$('h2.title').text('Hello there!'); $('h2').addClass('welcome');
$.html(); //=>
Installation npm install cheerio
Yup, cheerio was supposed to be the first module :+1: just digging into those modules that are not in the lime light, but yet very useful :)
cheerio
Tiny, fast, and elegant implementation of core jQuery designed specifically for the server.
var cheerio = require('cheerio'), $ = cheerio.load('
Hello world
');$('h2.title').text('Hello there!'); $('h2').addClass('welcome');
$.html(); //=>
Hello there!
Installation npm install cheerio