Skip to main content
Home
Works with
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 Score88%
License
WTFPL
Downloads6/wk
Published4 weeks ago (0.0.1)

LibSQL adapter for the Worlds client.

Worlds LibSQL

Standalone LibSQL package extracted from @worlds/client.

Install

deno add jsr:@worlds/libsql

Usage

import { createClient } from "@libsql/client";
import { createLibsqlClient } from "@worlds/libsql";
import { LibsqlQuadStore } from "@worlds/libsql/quad-store";
import { LibsqlSearchIndex } from "@worlds/libsql/search-index";
import { LibsqlRdfjsStore } from "@worlds/libsql/rdfjs-store";

Development

deno task ci

Dry-run a JSR publish locally:

deno task publish:dry

Publishing to JSR

Releases publish automatically when changes merge to main. Bump "version" in deno.json in each release PR — JSR rejects duplicate versions.

One-time setup on jsr.io/@worlds/libsql:

  1. Open package settings and link https://github.com/wazootech/worlds-libsql.
  2. Enable GitHub Actions publishing (OIDC). The publish workflow uses id-token: write; no JSR token secret is required when OIDC is configured.
  3. Confirm your GitHub account can publish to the @worlds org.

After setup, merging to main runs CI, a publish dry-run, and deno publish.

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:@worlds/libsql

Import symbol

import * as libsql from "@worlds/libsql";
or

Import directly with a jsr specifier

import * as libsql from "jsr:@worlds/libsql";