Newton's Principia Mathematica

    @diogoazevedos/harvest

    2.0.0 • Public • Published

    Harvest

    Build Status Dependency Status devDependency Status

    import harvest from '@diogoazevedos/harvest'
    
    const url = 'https://github.com/diogoazevedos'
    const payload = {
      name: '.vcard-fullname',
      repos: [{
        $root: '.popular-repos .source',
        name: '.repo'
      }]
    }
    
    harvest(url, payload)
      .then(response => console.log(response))
      .catch(error => console.log(error))

    Requirement

    Harvest uses PhantomJS behind the scenes, because of this you need to install it globally.

    $ npm install -g phantomjs 

    Getting started

    Just install as a dependency to your project.

    $ npm install @diogoazevedos/harvest --save

    License

    MIT

    Install

    npm i @diogoazevedos/harvest

    DownloadsWeekly Downloads

    2

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • diogoazevedos