facts-generator
v1.0.1
Published
An NPM package that returns amazing facts. Be knowledgeable by reading a fact everytime you like!
Downloads
5
Maintainers
Readme
INTRODUCTION
What's the project about? Facts generator is an NPM package that returns an amazing and suprising fact on a daily.
Installation
npm i facts-generator
Usage
Example
const fact = require("./index.js");
Then ...
const fetchFact = fact.getFact();
And finally,
console.log(fetchFact.fact + " - " + fetchFact.category);
License
This repository is licensed with MIT License