Miss any of our Open RFC calls?Watch the recordings here! »

chuck-norris-api

1.0.9 • Public • Published

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);
});

Install

npm i chuck-norris-api

DownloadsWeekly Downloads

24

Version

1.0.9

License

BSD-2-Clause

Last publish

Collaborators

  • avatar
  • avatar