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

/chuck-norris-api/

    Package Sidebar

    Install

    npm i chuck-norris-api

    Weekly Downloads

    32

    Version

    1.0.9

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • geoff-pitman
    • psimmons