0.1.0 • Published 8 months ago

@wasm-fmt/sql_fmt v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Test

Install

npm

npm install @wasm-fmt/sql_fmt

jsr.io

npx jsr add @fmt/sql-fmt

Usage

import init, { format } from "@wasm-fmt/sql_fmt";

await init();

const input = `SELECT count(*),Column1 FROM Table1;`;

const formatted = format(input, "query.sql");
console.log(formatted);

For Vite users:

import init, { format } from "@wasm-fmt/sql_fmt/vite";

// ...
0.1.0

8 months ago

0.0.3

8 months ago

0.0.2

1 year ago

0.0.1

1 year ago