https://github.com/scientific-dev/factful.deno
Simple way to get random facts using deno...
https://github.com/scientific-dev/factful.deno
Last synced: 2 months ago
JSON representation
Simple way to get random facts using deno...
- Host: GitHub
- URL: https://github.com/scientific-dev/factful.deno
- Owner: scientific-dev
- License: mit
- Created: 2020-09-18T10:49:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-18T15:24:28.000Z (almost 6 years ago)
- Last Synced: 2026-01-14T05:44:47.995Z (5 months ago)
- Language: TypeScript
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Factful.Deno
Factful.deno is actually the same as **Factful.js** and **Factful.py**!
This package is actually my very first package on Deno so this is just my test package but maintained and working!
### Quick Example
```ts
import { facts, search } from "https://raw.githubusercontent.com/Scientific-Guy/factful.deno/master/mod.ts"
// Get Random Facts from Random Category
console.log(facts().all)
// Getting Random Facts from Selected Category
// Current Categories: Space, Food, Computer, Emoji
console.log(facts().space)
console.log(facts().food)
console.log(facts().computer)
console.log(facts().emoji)
// Get array of facts by search!
console.log(search('space'))
// Will return you the set of facts which includes the word 'space'
```
Use Issues for Issues. Like the Project? Star it!
**For further Issues:** [Join our Discord Server](https://discord.gg/FrduEZd)