Skip to content
rome_fmt / 0.0.2

rome_fmt 0.0.2

Install from the command line:
Learn more about npm packages
$ npm install @wasm-fmt/rome_fmt@0.0.2
Install via package.json:
"@wasm-fmt/rome_fmt": "0.0.2"

About this version

Test npm

Install

npm install @wasm-fmt/rome_fmt

Usage

import init, { format } from "@wasm-fmt/rome_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/rome_fmt/vite";

// ...

Details


Assets

  • rome_fmt-0.0.2.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all