Skip to main content
Home

A library providing TypeScript types and Zod schemas for the sona API

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
29%
Published
a year ago (0.3.7)

sona API

This folder holds the code for the sona API, hosted at https://api.linku.la/.

The API is built using TypeScript, Vite, and Hono, using Zod schemas verified against the source data.

Contributing

Requirements:

How to contribute:

  • Fork the repo and make any changes you want.
  • Build the schemas in with pnpm run generate
  • Run the dev server using pnpm run dev and verify that your changes work.
  • Create a pull request back to the main branch and request a review from a maintainer.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@linku/sona

Import symbol

import * as sona from "@linku/sona";
or

Import directly with a jsr specifier

import * as sona from "jsr:@linku/sona";

Add Package

pnpm i jsr:@linku/sona
or (using pnpm 10.8 or older)
pnpm dlx jsr add @linku/sona

Import symbol

import * as sona from "@linku/sona";

Add Package

yarn add jsr:@linku/sona
or (using Yarn 4.8 or older)
yarn dlx jsr add @linku/sona

Import symbol

import * as sona from "@linku/sona";

Add Package

vlt install jsr:@linku/sona

Import symbol

import * as sona from "@linku/sona";

Add Package

npx jsr add @linku/sona

Import symbol

import * as sona from "@linku/sona";

Add Package

bunx jsr add @linku/sona

Import symbol

import * as sona from "@linku/sona";