Upload images to imgur
Install
$ npm install --save imgur-uploader
Usage
const fs = ;const imgurUploader = ; ;
API
imgurUploader(input, [options])
input
Type: Buffer
Image to upload.
options
See the imgur options in addition to the ones below.
token
Type: string
Default: Client-ID 34b90e75ab1c04b
Override the default authorization token (you probably want to).
Related
- imgur-uploader-cli - CLI for this module
License
MIT © Kevin Martensson