2.1.5 ā¢ Published 2 years ago
@ultirequiem/ranmess v2.1.5
ranmess
A Quotable API Wrapper and CLI Tool.
Quotable is a free, open source quotations API.
CLI
Install
deno install --allow-net https://deno.land/x/ranmess/src/ranmess.ts
npm install -g ranmess
A binary for multiple platforms is provided too!
Usage
ranmess
A random quote and its author will be printed!
Library
import { quotableRandom } from "https://deno.land/x/ranmess/mod.ts";
const quote = await quotableRandom();
console.log(` ${quote.content} \n - ${quote.author}`);
import { quotableRandom } from "ranmess";
The API is the same on both
Check the cli source for more.
Docs
Autogenerated Documentation š
Support
Open an Issue, I will check it a soon as possible š
If you want to hurry me up a bit send me a tweet š
Consider supporting me on Patreon if you like my work š
Don't forget to start the repo ā
Alternatives
I also developed this in Go, Rust, and Python.
Licence
Licensed under the MIT License.
2.1.5
2 years ago