1.0.0 • Published 9 years ago

octodex v1.0.0

Weekly downloads
2
License
-
Repository
github
Last release
9 years ago

octodex Build Status

Get random octodex img URLs.

Getting Started

Install the module with: npm install octodex

var cat = require('octodex');

cat.img(function(err,url){
    if(!err){
        console.log(url);
       // This will give a random img url.
    }
});

You can also pass the second parameter indicating to the module to do in memory cache of the parsed content. Using it, he will perform the parce only once. making the other invocations faster.

var cat = require('octodex');

cat.img(function(err,url){
    if(!err){
        console.log(url);
       // This will give a random img url.
    }
}, true);

License

Copyright (c) 2013 Hemanth.HM
Licensed under the MIT license.

1.0.0

9 years ago

0.4.0

9 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

11 years ago