luigimorel / facts-generator-

An NPM package that returns amazing facts. Be knowledgeable by reading a fact every time that you like!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Refer to CONTRIBUTING.md to get a better idea on this !

About

An NPM package that returns amazing facts. Be knowledgeable by reading a fact every time that you like!

License:MIT License


Languages

Language:JavaScript 100.0%