0.1.1 • Published 2 months ago

@teages/oxc-blank-space v0.1.1

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

@teages/oxc-blank-space

npm version npm downloads

ts-blank-space, but base on oxc-parser.

!WARNING It is a experimental package, and not finished yet.

Usage

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`

Development

  • 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

License

Published under MIT License.

0.1.1

2 months ago

0.1.0

2 months ago

0.0.1

2 months ago