# esperanto

> An easier way to convert ES6 modules to AMD and CommonJS

Latest version **0.7.6** (published 2016-07-21) · MIT license · 0 weekly downloads

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

## Install

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

Provides the command `esperanto`.

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.7.6 |
| Published | 2016-07-21 |
| First published | 2014-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 234 |
| Author | Rich Harris |
| Maintainers | rich_harris, stefanpenner |

## Links

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

## Dependencies (5)

- [acorn](https://npm.io/package/acorn.md) ^1.0.1
- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [sander](https://npm.io/package/sander.md) ^0.5.1
- [minimist](https://npm.io/package/minimist.md) ^1.1.0
- [magic-string](https://npm.io/package/magic-string.md) ^0.4.9

## Recent versions

- 0.7.6 (latest) — 2016-07-21
- 0.7.5 — 2015-08-21
- 0.7.4 — 2015-07-29
- 0.7.3 — 2015-07-06
- 0.7.2 — 2015-05-29
- 0.7.1 — 2015-05-28
- 0.7.0 — 2015-05-11
- 0.6.34 — 2015-05-08
- 0.6.33 — 2015-05-03
- 0.6.32 — 2015-05-03
- 0.6.31 — 2015-05-02
- 0.6.30 — 2015-04-25
- 0.6.29 — 2015-04-18
- 0.6.28 — 2015-04-15
- 0.6.27 — 2015-04-07
- … 60 more at https://npm.io/package/esperanto/versions

## README

# esperanto [![Build Status](https://travis-ci.org/esperantojs/esperanto.svg?branch=master)](https://travis-ci.org/esperantojs/esperanto)

## This project is no longer under active development. To bundle ES6 modules, use [Rollup](https://github.com/rollup/rollup). To convert ES6 modules to another format, use [Babel](https://babeljs.io/docs/usage/modules/). See [#191](https://github.com/esperantojs/esperanto/pull/191) for details.

A better way to transpile ES6 modules to AMD and CommonJS:

* Easier - no laborious configuration
* Simpler - doesn't make dangerous assumptions about your project setup
* Smarter - non-destructive source code transformation, no runtime Traceur dependency, and no ES5-only features
* Faster - roughly 10x quicker than the alternatives

Try it online here: [esperantojs.org](http://esperantojs.org)

## Installation

Install esperanto from npm:

```bash
npm install esperanto
```

## Usage

You can use Esperanto in one of two modes:

* [Converting a single module](https://github.com/esperantojs/esperanto/wiki/Converting-a-single-module)
* [Bundling multiple ES6 modules](https://github.com/esperantojs/esperanto/wiki/Bundling-multiple-ES6-modules)


## Why not use existing module transpilers?

See [comparisons with other tools](https://github.com/esperantojs/esperanto/wiki/Comparisons-with-other-tools) for some of the reasons to use Esperanto.


## Credits

Many thanks to [Marijn Haverbeke](http://marijnhaverbeke.nl/) for [Acorn](https://github.com/marijnh/acorn), which does all the heavy lifting.


## License

Copyright 2014 Rich Harris. MIT Licensed.

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