facts-generator

1.0.1 • Public • Published

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 !

Package Sidebar

Install

npm i facts-generator

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

24.9 kB

Total Files

8

Last publish

Collaborators

  • morelmiles