0.0.4 • Published 4 months ago

tsx-to-jsx v0.0.4

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

tsx-to-jsx

npm version npm downloads bundle JSDocs License

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

Installation

Before using the tool, make sure you have Node.js installed on your machine. Please install the package using your preferred package manager.

npm install tsx-to-jsx
yarn add tsx-to-jsx
pnpm add tsx-to-jsx
bun install tsx-to-jsx

Usage

import { convertTsxToJsx } from 'tsx-to-jsx'
const srcDirectory = "/Users/pawan/ts/ReactApp/src"
const destDirectory = "/Users/pawan/js/ReactApp/src"
await convertTsxToJsx(srcDirectory, dstDirectory)

License

MIT License © 2023-PRESENT Pawan Paudel

0.0.4

4 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago