imgur-file-upload

1.1.0 • Public • Published

NPM version GitHub license GitHub license

imgur-file-upload

Module Usage

Installation

Install the project dependencies.You can use npm or yarn(recommended) for dependency management。

## npm
npm i imgur-file-upload

Usage

You can through this website to get your project's client id.

https://api.imgur.com/oauth2/addclient

// Requiring the module
const imgur = require('imgur-file-upload');

// intilize client id
imgur.setClientId('Your Client Id');

// uploading image file
imgur.uploadImgur(yourFile).then((result) => {
  console.log(result);
});

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i imgur-file-upload

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

3.65 kB

Total Files

4

Last publish

Collaborators

  • asad2