tsx-to-jsx-cli

0.0.3 • Public • Published

tsx-to-jsx-cli

npm version npm downloads bundle JSDocs License

tsx-to-jsx-cli is a CLI tool that converts TypeScript (ts/tsx) files to JavaScript (js/jsx) files from a specified source directory, saving the result in a destination directory.

Usage

Usage: tsx-to-jsx [options]

A CLI for converting tsx to jsx

Options:
  -s, --srcDir <path>  Source directory to convert
  -d, --dstDir <path>  Destination directory to save to
  -v, --version        Display the version number
  -h, --help           display help for command
# Using npx
npx tsx-to-jsx-cli -s <source-directory> -d <destination-directory>

# Using pnpx
pnpx tsx-to-jsx-cli -s <source-directory> -d <destination-directory>

# Using bunx
bunx tsx-to-jsx-cli -s <source-directory> -d <destination-directory>

Replace <source-directory> with the path to your TypeScript source files and <destination-directory> with the desired path for the compiled JavaScript files.

License

MIT License © 2023-PRESENT Pawan Paudel

Readme

Keywords

none

Package Sidebar

Install

npm i tsx-to-jsx-cli

Weekly Downloads

11

Version

0.0.3

License

MIT

Unpacked Size

6.35 kB

Total Files

4

Last publish

Collaborators

  • pawanpaudel93