https://github.com/tomjs/joker
🤡 In order to support some bad development habits, its use is not recommended.
https://github.com/tomjs/joker
cjs cli commonjs esm module
Last synced: 5 months ago
JSON representation
🤡 In order to support some bad development habits, its use is not recommended.
- Host: GitHub
- URL: https://github.com/tomjs/joker
- Owner: tomjs
- License: mit
- Created: 2024-03-23T07:53:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T04:42:16.000Z (about 2 years ago)
- Last Synced: 2024-12-08T02:36:22.135Z (over 1 year ago)
- Topics: cjs, cli, commonjs, esm, module
- Language: TypeScript
- Homepage:
- Size: 110 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @tomjs/joker
[](https://www.npmjs.com/package/@tomjs/joker)  
**English** | [䏿–‡](./README.zh_CN.md)
> 🤡 In order to support some bad development habits, its use is not recommended.
## Features
- `joker cjs` let `Pure ESM packages` support both `cjs` and `esm`;
## Install
```bash
# pnpm
pnpm add @tomjs/joker -D
# yarn
yarn add @tomjs/joker -D
# npm
npm add @tomjs/joker -D
```
## Usage
```bash
joker -h
joker/0.0.0
Usage:
$ joker [options]
🤡 In order to support some bad development habits, its use is not recommended.
Commands:
cjs [...workspaces] let "Pure ESM packages" support both "cjs" and "esm"
For more info, run any command with the `--help` flag:
$ joker cjs --help
Options:
-h, --help Display this message
-v, --version Display version number
```