node package manager

docparse-scraper-dates

Parse the scraper date strings formatted as "YYYY MM DD" into moment.js objects

Docparse Add Invoice

Parse the scraper date strings formatted as "YYYY MM DD" into moment.js objects

Build Status Dependency Status Dependency tracking by David

Usage

var eyespect = require('eyespect').inspector()
var getDates = require('docparse-scraper-dates');
var data = {
  fromDate: '2011 01 19',
  toDate: '2011 02 19',
}
getDates(data, function(err, dates) {
  if (err) {
    inspect(err, 'error adding invoice ids to upload')
    return;
  }
  inspect(dates, 'parsed dates');
});

Installation

npm install docparse-scraper-dates

Example Installation

npm install docparse-scraper-dates eyespect