2.1.0 ā€¢ Published 2 years ago

@ultirequiem/xkcd v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

xkcd

Code Coverage Deno Doc

Interact with the XKCD API.

Usage

The API is the same on all this platforms āœ”ļø

Deno šŸ¦•

import { latestXkcd, xkcd } from "https://deno.land/x/xkcd/mod.ts";

const myFavoriteXKCD = await xkcd(304);

myFavoriteXKCD.title; //=> Nighttime Stories

await latestXkcd(); // Metadata...

Node.js šŸ¢šŸš€

import { latestXkcd, xkcd } from "@ultirequiem/xkcd";

Browser šŸŒ

You can use any CDN šŸ”„

Eg šŸ‘‰ ESM ā†”ļø SkyPack šŸ†š Script Tag ā†”ļø JSDelivr

It includes other helper methods, check the docs.

Documentation

Is hosted on Deno Doc šŸ“„

CLI

Install

  • Deno šŸŽƒ
deno install --allow-net https://deno.land/x/xkcd/xkcd.ts
  • Node.js šŸ¼
npm install -g @ultirequiem/xkcd

Usage

xkcd --help

A binary for multiple platforms is provided too!

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 star the repo ā­

Authors

Eliaz Bobadilla - Creator and Maintainer šŸ’Ŗ

See also the full list of contributors who participated in this project āœØ

Versioning

We use Semantic Versioning. For the versions available, see the tags šŸ·ļø

Licence

Licensed under the MIT License šŸ“„