Node JS interface into the Internet Chuck Norris Database API
All calls return promises which can be accessed by calling
.then( function(data) {...})
Full technical documentation available here
const api = require('chuck-norris-api');
api.getRandom(options).then(function (data) {
console.log(data.value.joke);
});