Skip to content

Instantly share code, notes, and snippets.

View joetemp's full-sized avatar
🏆
Leveling up

Joe joetemp

🏆
Leveling up
View GitHub Profile
module.exports = function (API_KEY, deals, activities, app, type, pbl, address, test){
const request = require('request-promise');
const moment = require('moment');
// Basic reimpl of Bluebird's Promise.try
const promiseTry = function (syncFn) { return new Promise(function (resolve) { return resolve(syncFn()); }); };
moment().format();
var soon = {};
var soonPart = {};
var later = {};