# babel-preset-es2040

> Babel preset for a subset of ES6

Latest version **1.1.1** (published 2016-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-preset-es2040
pnpm add babel-preset-es2040
yarn add babel-preset-es2040
bun add babel-preset-es2040
```

## 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.1.1 |
| Published | 2016-06-29 |
| First published | 2016-06-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Maintainers | ahdinosaur |
| Keywords | babel, preset, es2020, es2040, tc39, es6, es2015, es2016, hindsight, nah-mate |

## Links

- npm: https://www.npmjs.com/package/babel-preset-es2040
- Repository: https://github.com/ahdinosaur/babel-preset-es2020
- Homepage: https://github.com/ahdinosaur/babel-preset-es2020#readme
- Issues: https://github.com/ahdinosaur/babel-preset-es2020/issues
- npm.io page: https://npm.io/package/babel-preset-es2040

## Dependencies (9)

- [babel-plugin-check-es2015-constants](https://npm.io/package/babel-plugin-check-es2015-constants.md) ^6.8.0
- [babel-plugin-transform-es2015-spread](https://npm.io/package/babel-plugin-transform-es2015-spread.md) ^6.8.0
- [babel-plugin-transform-es2015-parameters](https://npm.io/package/babel-plugin-transform-es2015-parameters.md) ^6.9.0
- [babel-plugin-transform-es2015-block-scoping](https://npm.io/package/babel-plugin-transform-es2015-block-scoping.md) ^6.9.0
- [babel-plugin-transform-es2015-destructuring](https://npm.io/package/babel-plugin-transform-es2015-destructuring.md) ^6.9.0
- [babel-plugin-transform-es2015-arrow-functions](https://npm.io/package/babel-plugin-transform-es2015-arrow-functions.md) ^6.8.0
- [babel-plugin-transform-es2015-template-literals](https://npm.io/package/babel-plugin-transform-es2015-template-literals.md) ^6.8.0
- [babel-plugin-transform-es2015-computed-properties](https://npm.io/package/babel-plugin-transform-es2015-computed-properties.md) ^6.8.0
- [babel-plugin-transform-es2015-shorthand-properties](https://npm.io/package/babel-plugin-transform-es2015-shorthand-properties.md) ^6.8.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2016-06-29
- 1.1.0 — 2016-06-29
- 1.0.0 — 2016-06-29

## README

# babel-preset-es2040
[![npm version][2]][3] [![downloads][8]][9] [![js-standard-style][10]][11]
> Babel preset for a subset of ES6, because in hindsight we can do without most
> of it

## Install
```sh
$ npm install --save-dev babel-preset-es2040
```

## Usage

### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
  "presets": ["es2040"]
}
```

### Via CLI
```sh
$ babel script.js --presets es2040
```

### Via Node API
```javascript
require('babel-core').transform('code', {
  presets: ['es2040']
})
```

## See Also
- [es2040](https://github.com/ahdinosaur/es2040) - browserify transform for a
  subset of ES6
- [babel-preset-es2020](https://github.com/yoshuawuyts/babel-preset-es2020) -
  babel preset for more minimal subset

## License
[MIT](https://tldrlegal.com/license/mit-license)

[0]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
[1]: https://nodejs.org/api/documentation.html#documentation_stability_index
[2]: https://img.shields.io/npm/v/babel-preset-es2040.svg?style=flat-square
[3]: https://npmjs.org/package/babel-preset-es2040
[4]: https://img.shields.io/travis/ahdinosaur/babel-preset-es2040/master.svg?style=flat-square
[5]: https://travis-ci.org/ahdinosaur/babel-preset-es2040
[6]: https://img.shields.io/codecov/c/github/ahdinosaur/babel-preset-es2040/master.svg?style=flat-square
[7]: https://codecov.io/github/ahdinosaur/babel-preset-es2040
[8]: http://img.shields.io/npm/dm/babel-preset-es2040.svg?style=flat-square
[9]: https://npmjs.org/package/babel-preset-es2040
[10]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[11]: https://github.com/feross/standard

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