buzzfeed-headlines

2.0.0 • Public • Published

buzzfeed-headlines

Get a bunch of the most recent headlines from buzzfeed.com.

Installation

$ npm install buzzfeed-headlines

Usage

 
var buzzfeed = require('buzzfeed-headlines');
 
buzzfeed(function(err, headlines){
  console.log(headlines);
  // an array of rediculous headlines
});

buzzfeed(cb)

Takes on argument, a node-style callback with the second argument being an array of titles of buzzfeed posts.

Tests

Tests run using mocha

$ npm test

/buzzfeed-headlines/

    Package Sidebar

    Install

    npm i buzzfeed-headlines

    Weekly Downloads

    4

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • tjkrusinski