biome_fmt 0.1.10
Install from the command line:
Learn more about npm packages
$ npm install @wasm-fmt/biome_fmt@0.1.10
Install via package.json:
"@wasm-fmt/biome_fmt": "0.1.10"
About this version
npm install @wasm-fmt/biome_fmt
npx jsr add @fmt/biome-fmt
import init, { format } from "@wasm-fmt/biome_fmt";
await init();
const input = `function foo() {console.log("Hello, world!")}`;
const formatted = format(input, "app.js");
console.log(formatted);
For Vite users:
import init, { format } from "@wasm-fmt/biome_fmt/vite";
// ...