1.0.1 • Published 4 years ago
facts-generator v1.0.1
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