Package Exports
- imgur-uploader
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (imgur-uploader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
imgur-uploader 
Upload images to imgur
Install
$ npm install --save imgur-uploader
Usage
var fs = require('fs');
var imgurUploader = require('imgur-uploader');
imgurUploader(fs.readFileSync('cat.jpg'), function (err, res) {
console.log(res);
/*
{
data: {
id: 'OB74hEa',
title: null,
description: null,
datetime: 1432396824,
type: 'image/png',
...
}
}
});
License
MIT © Kevin Martensson