1.0.1 • Published 4 years ago
fortune-cookies v1.0.1
Fortune Cookie Fetch
A NodeJs API Wrapper for The Fortune Cookie API to allow users to get a random fortune cookie, without the hastle of writing out large arrays!
Usage
npm install fortune-cookies
const randCookie = require('fortune-cookies')
randCookie.fetchCookie()
.then((c) => {console.log(c)})
.catch((e) => {console.error('An error occured! ', e)})