🚀 Socket Launch Week 🚀 Day 4: Introducing Historical Analytics.Learn More
Socket
Sign inDemoInstall
Socket

tsx-to-jsx-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsx-to-jsx-cli

Convert tsx to jsx

0.0.3
latest
Source
npm
Version published
Weekly downloads
60
22.45%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 21 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts