Skip to content

adamcoulombe/node-imgur-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

node js imgur api anonymous upload

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published