JSPM

facts-generator

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q38795F
  • License MIT

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

Package Exports

  • facts-generator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (facts-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

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