Skip to main content

Built and signed on GitHub Actions

Works with
This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers
It is unknown whether 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 Score100%
License
MIT
Downloads1/wk
Published2 months ago (0.2.9)

JavaScript/TypeScript formatter powered by WASM ported from OXC

WASM formatter for JavaScript/TypeScript using OXC (experimental).

Examples

Example 1

import { format } from "@wasm-fmt/oxc_fmt";

const input = "const x=1";
const output = format(input, "noindex.js");
Built and signed on
GitHub Actions

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:@fmt/oxc-fmt

Import symbol

import * as oxc_fmt from "@fmt/oxc-fmt";
or

Import directly with a jsr specifier

import * as oxc_fmt from "jsr:@fmt/oxc-fmt";