Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

stream7/npm-scrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-scrap

Build status

Scrap npm website for search results.

Installation

npm install -g npm-scrap

Usage

CLI

npm-scrap [options] [command]

Commands:

  search <terms>
     Scrap npmjs.org and return search results


Options:

  -h, --help     output usage information
  -V, --version  output the version number

API

var Scrapper = require('npm-scrap');
var terms = 'backbone marionette';

new Scrapper(terms).search(function (err, results) {
    if (err) {
        return console.error('Error: %s', err);
    }

    console.log(results);
});

About

Scrap npm website for search results

Resources

Stars

Watchers

Forks

Packages

No packages published