ts-blank-space
, but base on oxc-parser
.
[!WARNING] It is a experimental package, and not finished yet.
Install package:
# npm
npm install @teages/oxc-blank-space
# yarn
yarn add @teages/oxc-blank-space
# pnpm
pnpm install @teages/oxc-blank-space
# bun
bun install @teages/oxc-blank-space
Import:
// ESM
import { test } from '@teages/oxc-blank-space'
// Sorry we don't support CommonJS, but you can use `require('@teages/oxc-blank-space')` in latest LTS version of Node.js
Usage:
import { transpile } from '@teages/oxc-blank-space'
console.log(transpile(`const a: number = 1`))
// result: `const a = 1`
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
npm install -g corepack@latest
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm test
Published under MIT License.