# esmtk

> ES Module Toolkit

Latest version **0.6.2** (published 2026-03-03) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install esmtk
pnpm add esmtk
yarn add esmtk
bun add esmtk
```

Provides the command `esmtk`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.6.2 |
| Published | 2026-03-03 |
| First published | 2020-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=17 |
| Dependencies | 4 |
| Unpacked size | 10.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 12 |
| Author | Evan Plaice |
| Maintainers | evanplaice |
| Keywords | esm, esmodules, nodejs, cli, developer-tools |

## Links

- npm: https://www.npmjs.com/package/esmtk
- Repository: https://github.com/vanillaes/esmtk
- Homepage: https://github.com/vanillaes/esmtk#readme
- Issues: https://github.com/vanillaes/esmtk/issues
- npm.io page: https://npm.io/package/esmtk

## Dependencies (4)

- [glob](https://npm.io/package/glob.md) ^13.0.6
- [esbuild](https://npm.io/package/esbuild.md) ^0.13.13
- [standard](https://npm.io/package/standard.md) ^17.1.2
- [commander](https://npm.io/package/commander.md) ^14.0.3

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.6.2 (latest) — 2026-03-03
- 0.6.1 — 2026-03-03
- 0.6.0 — 2026-03-02
- 0.5.14 — 2021-11-12
- 0.5.13 — 2021-11-09
- 0.5.12 — 2021-10-07
- 0.5.11 — 2021-05-17
- 0.5.10 — 2021-05-17
- 0.5.9 — 2021-05-17
- 0.5.8 — 2021-05-17
- 0.5.7 — 2021-05-16
- 0.5.6 — 2021-05-10
- 0.5.5 — 2021-05-10
- 0.5.4 — 2021-05-05
- 0.5.3 — 2021-05-01
- … 11 more at https://npm.io/package/esmtk/versions

## README

<h1 align="center">ES Module Toolkit</h1>

ESMTK, essential tools and libs for ES module development

<div align="center">
  <a href="https://github.com/vanillaes/esmtk/releases"><img src="https://badgen.net/github/tag/vanillaes/esmtk" alt="GitHub Release"></a>
  <a href="https://www.npmjs.com/package/esmtk"><img src="https://badgen.net/npm/v/esmtk" alt="NPM Releases"></a>
  <a href="https://github.com/vanillaes/esmtk/actions"><img src="https://github.com/vanillaes/esmtk/workflows/Latest/badge.svg" alt="Latest Status"></a>
  <a href="https://github.com/vanillaes/esmtk/actions"><img src="https://github.com/vanillaes/esmtk/workflows/Release/badge.svg" alt="Release Status"></a>

  <a href="https://discord.gg/aSWYgtybzV"><img alt="Discord" src="https://img.shields.io/discord/723296249121603604?color=%23738ADB"></a>
</div>

## Lint

Lint uses StandardJS to lint the source

### Arguments

`esmtk lint [--fix]`

- `--fix` - automatically fix problems

### Usage

```sh
esmtk lint
```

## Bundle

Bundle uses ESBuild to compile an ES module (and its deps) into a bundle

### Arguments

`esmtk bundle [input] [output]`

- `[input]` - the input source file path
- `[output]` - the output bundle file path

### Usage

```sh
esmtk bundle src/sample.js bundle.js
```

## Minify

Minify uses ESBuild to compile an ES module (and its deps) into a minified bundle

### Arguments

`esmtk minify [input] [output]`

- `[input]` - the input source file path
- `[output]` - the output bundle file path

### Usage

```sh
esmtk minify src/sample.js bundle.min.js
```

## CommonJS

CommonJS uses ESBuild to compile an ES module (and its deps) into a CommonJS bundle

### Arguments

`esmtk commonjs [input] [output]`

- `[input]` - the input source file path
- `[output]` - the output bundle file path

### Usage

```sh
esmtk commonjs src/sample.js bundle.cjs
```

## Copy

Copy us a cross-platform clone of the `cp` command in Linux

### Arguments

`esmtk cp -rf [source] [destination]`

- `[source]` - the source file/glob
- `[destination]` - the destination file/directory
- `-r, --recursive` - copy files/directories recursively
- `-f --force` - force overwrite existing files

### Usage

```sh
esmtk cp src/* dest/
```

---
_Source: https://npm.io/package/esmtk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
