pacifiquem / facts.js

Get random facts in your project with facts.js

Home Page:https://npmjs.com/package/facts.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChartJS

Get random facts in your project with one function call

Usage

    import fetchFacts from "@murangwapacifique/facts.js";

    const fact = await fetchFacts(); // get one fact.
    const facts = await fetchFacts({ limit: 10 }); // specify number of facts you want.

Contributing

You can contribute by opening a pull request or add a new issue. Also you can support community by giving this repository a ⭐

About

Get random facts in your project with facts.js

https://npmjs.com/package/facts.js

License:MIT License


Languages

Language:TypeScript 96.2%Language:Shell 3.8%