xkcd
A small typed client for the xkcd API.
Usage
ESM only, types included: the same import works in Node.js, Bun and browsers.
import { latestXkcd, xkcd } from "@ultirequiem/xkcd";
const myFavoriteXKCD = await xkcd(304);
myFavoriteXKCD.title; //=> Nighttime Stories
await latestXkcd(); // Metadata...
Support
Open an Issue, I will check it as soon as possible π
If you want to hurry me up a bit send me a tweet π
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 π