I copied this from another NPM package from Yahoo. This should be updated to reflect the MIT license.