🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
n

imgur-upload

imgur anonymous upload in nodejs using the imgur api

0.1.2
latest
69

Supply Chain Security

100

Vulnerability

74

Quality

76

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Network access

Supply chain risk

This module accesses the network.

Found 1 instance in 1 package

Dependencies have 9 high alerts.

High CVE

Version published
Weekly downloads
6
100%
Maintainers
1
Weekly downloads
 
Created
Issues
1

imgur anonymous upload in nodejs using the imgur api.

Getting Started

Install the module with: npm install imgur-upload

var imgur = require('imgur-upload'),
path = require('path');

imgur.setClientID(myClientID);
imgur.upload(path.join(__dirname, 'someimage.png'),function(err, res){
	console.log(res.data.link); //log the imgur url
});

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

  • 0.1.2: Fix to Handle non-JSON API responses as errors
  • 0.1.1: Initial release

License

Copyright (c) 2013 adamcoulombe
Licensed under the MIT license.

FAQs

Package last updated on 31 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts