An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# @tomjs/joker

[![npm](https://img.shields.io/npm/v/@tomjs/joker)](https://www.npmjs.com/package/@tomjs/joker) ![node-current (scoped)](https://img.shields.io/node/v/@tomjs/joker) ![NPM](https://img.shields.io/npm/l/@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
```