my-imgur

1.0.2 • Public • Published

"# 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

Readme

Keywords

none

Package Sidebar

Install

npm i my-imgur

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

1.97 kB

Total Files

3

Last publish

Collaborators

  • asad2