@teages/oxc-blank-space
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @teages/oxc-blank-space

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

24.5 kB

Total Files

6

Last publish

Collaborators

  • teages