2.0.1 • Published 7 years ago
imgur-up v2.0.1
# IMGUR-UP
Upload images anonymously to IMGUR
Usage
$ npm i imgur-up --save
#or
$ yarn add imgur-up
API
upload(filename, [options])
filename
- Type:String()
- Descr: 'Path to file (ex. ./myImage.png)'options
- Type: 'Object()' - Parameters: - title: The post title (Default: filename without extension) - name: The image name (Default: the title) - description: The image description (Default: empty) - client_id: IMGUR Api Client-ID (Default:775904bf84b8658
)