Skip to content

Instantly share code, notes, and snippets.

View mattwiller's full-sized avatar

Matt Willer mattwiller

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mattwiller on github.
  • I am mattwiller (https://keybase.io/mattwiller) on keybase.
  • I have a public key whose fingerprint is A315 139E 7927 4089 98A2 408A 1706 93F1 53B2 7AC8

To claim this, I am signing this object:

'use strict';
// Require in some useful utilities and a request library
const request = require('request-promise');
const fs = require('fs');
const path = require('path');
const crypto = require('crypto');
// Node.js streams don't provide strong guarantees about reading exactly the
// amount of data you request, so we might need to buffer data in some cases