# esfuture

> Update your project to the latest ECMAScript syntax.

Latest version **1.0.1** (published 2015-12-02) · MIT license · 0 weekly downloads

## Install

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

Provides the command `esfuture`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-12-02 |
| First published | 2015-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brian Donovan |
| Maintainers | forsigner |
| Keywords | es6, es7, ast |

## Links

- npm: https://www.npmjs.com/package/esfuture
- npm.io page: https://npm.io/package/esfuture

## Dependencies (7)

- [escope](https://npm.io/package/escope.md) ^3.2.0
- [espree](https://npm.io/package/espree.md) ^2.2.5
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [estraverse](https://npm.io/package/estraverse.md) ^4.1.1
- [magic-string](https://npm.io/package/magic-string.md) ^0.8.0
- [strip-indent](https://npm.io/package/strip-indent.md) ^1.0.1
- [shebang-regex](https://npm.io/package/shebang-regex.md) ^1.0.0

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-12-02
- 1.0.0 — 2015-12-01

## README

# esnext

Bring your JavaScript into the future.

## Installation

```
$ npm install -g esnext
```

## Usage

After installing, run `esnext -h` for comprehensive usage instructions.

## Features

### Modules

Translate CommonJS modules into ES6 modules:

```js
var readFile = require('fs').readFile;
const MagicString = require('magic-string');
let { ok, strictEqual: eq } = require('assert');

exports.doSomething = function() {
  ok(1);
};

// ↑ becomes ↓

import { readFile } from 'fs';
import MagicString from 'magic-string';
import { ok, strictEqual as eq } from 'assert';

export function doSomething() {
  ok(1);
}
```

### Functions

Translate some regular functions to arrow functions:

```js
list.map(function(item) { return item.name; });

// ↑ becomes ↓

list.map(item => item.name);
```

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