1.0.2 • Published 3 years ago

my-imgur v1.0.2

Weekly downloads
7
License
MIT
Repository
-
Last release
3 years ago

"# my-imgur"

npm registry:-https://www.npmjs.com/package/my-imgur

Module Usage

Installation

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

## npm
npm i my-imgur

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('my-imgur');

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

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

License

MIT