0.2.0 • Published 11 months ago

ts-rename v0.2.0

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

ts-rename

Renames .js files to .mjs or *.cjs

This package solves the problem described in issue.

Installation

npm i ts-rename

Usage

Renaming ESM modules

--esm

ts-rename --esm ./dist/esm

Renaming CommonJS modules

--cjs

ts-rename --cjs ./dist/cjs

Recursive renaming

--r, --recursive

ts-rename --cjs -r ./dist/cjs

Verbose mode

--verbose

ts-rename --cjs -v ./dist/cjs

Show help

-h, --help

ts-rename -h

License

MIT

0.2.0

11 months ago

0.1.0

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago