Skip to main content

Encode and decode Protobuf-style varint bytes from a buffer

This package works with Bun, Cloudflare Workers, Node.js, Deno, Browsers
JSR Score
100%
Published
3 months ago (0.1.0)

Add Package

deno add @mary/varint

Import symbol

import { encode } from "@mary/varint";

Add Package

npx jsr add @mary/varint

Import symbol

import { encode } from "@mary/varint";

Add Package

yarn dlx jsr add @mary/varint

Import symbol

import { encode } from "@mary/varint";

Add Package

pnpm dlx jsr add @mary/varint

Import symbol

import { encode } from "@mary/varint";

Add Package

bunx jsr add @mary/varint

Import symbol

import { encode } from "@mary/varint";