Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
denoland/std(Streaming) parsing and serializing of JSON files
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
8 months ago (1.0.2)
Utilities for parsing streaming JSON data.
import { JsonStringifyStream } from "@std/json"; import { assertEquals } from "@std/assert"; const stream = ReadableStream.from([{ foo: "bar" }, { baz: 100 }]) .pipeThrough(new JsonStringifyStream()); assertEquals(await Array.fromAsync(stream), [ `{"foo":"bar"}\n`, `{"baz":100}\n` ]);
Built and signed on
GitHub Actions
Add Package
deno add jsr:@std/json
Import symbol
import * as json from "@std/json";
Import directly with a jsr specifier
import * as json from "jsr:@std/json";
Add Package
pnpm i jsr:@std/json
pnpm dlx jsr add @std/json
Import symbol
import * as json from "@std/json";
Add Package
yarn add jsr:@std/json
yarn dlx jsr add @std/json
Import symbol
import * as json from "@std/json";
Add Package
vlt install jsr:@std/json
Import symbol
import * as json from "@std/json";
Add Package
npx jsr add @std/json
Import symbol
import * as json from "@std/json";
Add Package
bunx jsr add @std/json
Import symbol
import * as json from "@std/json";