1.1.0 • Published 3 years ago
freefacts v1.1.0
freeFacts
A NPM Package for quotes. The database currently includes more than 15000 facts.
freefactsdk library is just wrapper around https://github.com/AmitGujar/freeFacts
Install
npm install freefacts
Usage
Get random fact
const { getRandomFacts } = require("freefacts");
getRandomFacts()
.then((fact) => {
console.log(fact);
})
.catch((err) => {
console.log(err);
});
Contributing
All feedback and contributions are welcome!