biome_fmt 0.1.4
Install from the command line:
Learn more about npm packages
$ npm install @wasm-fmt/biome_fmt@0.1.4
Install via package.json:
"@wasm-fmt/biome_fmt": "0.1.4"
About this version
npm install @wasm-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);
console.log(formatted);
For Vite users:
import init, { format } from "@wasm-fmt/biome_fmt/vite";
// ...