Repository
Current version released
2 years ago
Dependencies
deno.land/x
ranmess
A Quotable API Wrapper and CLI Tool.
CLI
Install
deno install --allow-net https://deno.land/x/ranmess/ranmess.ts
npm install -g ranmess
Usage
ranmess
A random quote and its author will be printed!
Library
Usage
On Deno π
import { randomQuotable } from "https://deno.land/x/ranmess/mod.ts";
const quote = await randomQuotable();
console.log(` ${quote.content} \n - ${quote.author}`);
On Node.js the API is the same but the import is π
import { randomQuotable } from "ranmess";
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.