Skip to main content

@mtcute/web@0.16.7
Built and signed on GitHub Actions

Web support package for mtcute

This package works with Node.js, Deno, Bun, Browsers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
76%
Published
a month ago (0.16.7)
class IdbStorageDriver
extends BaseStorageDriver

Constructors

new
IdbStorageDriver(_dbName: string)

Properties

Methods

_destroy(): void
_load(): Promise<void>
_save(): Promise<void>
registerMigration(
repo: string,
version: number,
migration: MigrationFunction,
): void
writeLater(
os: string,
obj: unknown,
): void

Add Package

deno add jsr:@mtcute/web

Import symbol

import { IdbStorageDriver } from "@mtcute/web";

---- OR ----

Import directly with a jsr specifier

import { IdbStorageDriver } from "jsr:@mtcute/web";

Add Package

npx jsr add @mtcute/web

Import symbol

import { IdbStorageDriver } from "@mtcute/web";

Add Package

yarn dlx jsr add @mtcute/web

Import symbol

import { IdbStorageDriver } from "@mtcute/web";

Add Package

pnpm dlx jsr add @mtcute/web

Import symbol

import { IdbStorageDriver } from "@mtcute/web";

Add Package

bunx jsr add @mtcute/web

Import symbol

import { IdbStorageDriver } from "@mtcute/web";