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 !

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    1

Package Sidebar

Install

npm i facts-generator

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

24.9 kB

Total Files

8

Last publish

Collaborators

  • morelmiles