Skip to content

AmitGujar/allfacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

allfacts

A NPM Package for quotes. The database currently includes more than 15000 facts.

allfacts library is just wrapper around https://github.com/AmitGujar/freeFacts

Install

npm install allfacts --save

Usage

Get random fact

const { getRandomFacts } = require("allfacts");

getRandomFacts()
  .then((fact) => {
    console.log(fact);
  })
  .catch((err) => {
    console.log(err);
  });

Contributing

All feedback and contributions are welcome!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published