0.0.3 • Published 4 months ago

tsx-to-jsx-cli v0.0.3

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

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

0.0.3

4 months ago

0.0.2

5 months ago

0.0.1

5 months ago