Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

Latest commit

 

History

History
18 lines (15 loc) · 552 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 552 Bytes

chuck-norris-api

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

Example

const api = require('chuck-norris-api');
api.getRandom(options).then(function (data) {
    console.log(data.value.joke);
});