Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pacifiquem/facts.js
Get random facts in your project with facts.js
https://github.com/pacifiquem/facts.js
fact facts node npm package random
Last synced: 13 days ago
JSON representation
Get random facts in your project with facts.js
- Host: GitHub
- URL: https://github.com/pacifiquem/facts.js
- Owner: pacifiquem
- License: mit
- Created: 2023-02-08T07:37:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T10:03:47.000Z (about 1 year ago)
- Last Synced: 2024-09-24T06:36:02.430Z (about 1 month ago)
- Topics: fact, facts, node, npm, package, random
- Language: TypeScript
- Homepage: https://npmjs.com/package/facts.js
- Size: 22.5 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChartJS
Get random facts in your project with one function call
## Usage
```js
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 ⭐