npm.io
2.3.0 • Published 4 years agoCLI

ranmess

Licence
MIT
Version
2.3.0
Deps
1
Size
308 kB
Vulns
0
Weekly
0
Stars
7

ranmess

Code Coverage Deno Doc

The most complete Quotable API Wrapper and CLI Tool.

Quotable is a free, open source quotations API.

Usage

The API is the same on all this platforms

Deno

import * as ranmess from "https://deno.land/x/ranmess/mod.ts";

ranmess.cleanQuote(); //=> "In seed time learn, in harvest teach, in winter enjoy."
ranmess.cleanQuote(); //=> "A leader is one who knows the way, goes the way, and shows the way."

ranmess.cleanTags(); //=> ["business", "education", "faith", "famous-quotes", ...etc]
Node.js
import * as ranmess from "ranmess";
Browser

You can use any CDN

Eg ESM SkyPack Script Tag JSDelivr

Documentation

Is hosted on Deno Doc

This module is fully typed, includes lot of utils and interfaces!

CLI

Install
Deno
deno install --allow-net https://deno.land/x/ranmess/ranmess.ts
Node.js
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

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

Versioning

We use Semantic Versioning. For the versions available, see the tags

Other Art

I also made this on Rust, Python, and Go. Even a website!

Licence

Licensed under the MIT License