Skip to main content

ranmess

CI codecov deno doc

Custom badge Custom badge Custom badge

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!

Video Showcase

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.