# bablyfill

> polyfill to run esnext code in node

Latest version **1.13.0** (published 2018-04-06) · MIT license · 0 weekly downloads

## Install

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

Provides the commands `es6`, `es6ify`, `devnode`, `bablyfill`.

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.13.0 |
| Published | 2018-04-06 |
| First published | 2016-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=9.0.0 |
| Dependencies | 29 |
| Unpacked size | 16 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Sönke Kluth |
| Maintainers | soenkekluth |
| Keywords | node, transform, transpile, no-config, bundle, bundler, esnext, instant, browser, config, es7, magic, cli, babel, bablify, bablyfill, devnode, es6ify, compile, es6, esnext |

## Links

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

## Dependencies (29)

- [pify](https://npm.io/package/pify.md) ^3.0.0
- [sade](https://npm.io/package/sade.md) ^1.4.0
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [babel-cli](https://npm.io/package/babel-cli.md) ^6.26.0
- [babel-core](https://npm.io/package/babel-core.md) ^6.26.0
- [glob-adapter](https://npm.io/package/glob-adapter.md) ^1.2.0
- [module-alias](https://npm.io/package/module-alias.md) ^2.0.6
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0
- [babel-register](https://npm.io/package/babel-register.md) ^6.26.0
- [babel-preset-env](https://npm.io/package/babel-preset-env.md) ^1.6.1
- [babel-preset-flow](https://npm.io/package/babel-preset-flow.md) ^6.23.0
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) ^6.24.1
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.24.1
- [babel-preset-es2016](https://npm.io/package/babel-preset-es2016.md) ^6.24.1
- [babel-preset-es2017](https://npm.io/package/babel-preset-es2017.md) ^6.24.1
- [babel-preset-stage-0](https://npm.io/package/babel-preset-stage-0.md) ^6.24.1
- [babel-preset-stage-1](https://npm.io/package/babel-preset-stage-1.md) ^6.24.1
- [babel-preset-stage-2](https://npm.io/package/babel-preset-stage-2.md) ^6.24.1
- [babel-preset-stage-3](https://npm.io/package/babel-preset-stage-3.md) ^6.24.1
- [babel-plugin-syntax-dynamic-import](https://npm.io/package/babel-plugin-syntax-dynamic-import.md) ^6.18.0
- [babel-plugin-transform-regenerator](https://npm.io/package/babel-plugin-transform-regenerator.md) ^6.26.0
- [babel-plugin-transform-class-properties](https://npm.io/package/babel-plugin-transform-class-properties.md) ^6.24.1
- [babel-plugin-transform-flow-strip-types](https://npm.io/package/babel-plugin-transform-flow-strip-types.md) ^6.22.0
- [babel-plugin-transform-export-extensions](https://npm.io/package/babel-plugin-transform-export-extensions.md) ^6.22.0
- [babel-plugin-transform-async-to-generator](https://npm.io/package/babel-plugin-transform-async-to-generator.md) ^6.24.1
- [babel-plugin-transform-object-rest-spread](https://npm.io/package/babel-plugin-transform-object-rest-spread.md) ^6.26.0
- [babel-plugin-syntax-trailing-function-commas](https://npm.io/package/babel-plugin-syntax-trailing-function-commas.md) ^6.22.0
- [babel-plugin-transform-es2015-modules-commonjs](https://npm.io/package/babel-plugin-transform-es2015-modules-commonjs.md) ^6.26.0
- [babel-plugin-transform-exponentiation-operator](https://npm.io/package/babel-plugin-transform-exponentiation-operator.md) ^6.24.1

## 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.13.0 (latest) — 2018-04-06
- 1.12.0 — 2018-03-31
- 1.11.0 — 2018-03-30
- 1.10.0 — 2018-03-30
- 1.9.0 — 2018-01-20
- 1.8.0 — 2017-12-29
- 1.3.1 — 2017-10-24
- 1.2.5 — 2017-10-24
- 1.2.0 — 2017-10-24
- 1.0.3 — 2016-03-30
- 1.0.2 — 2016-03-30
- 1.0.1 — 2016-03-30
- 1.0.0 — 2016-03-30

## README

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

# bablyfill

run your es6+ node code without any installs but bablyfill

## Install

#### local

```bash
npm install [--save[-dev]] bablyfill
```

```bash
yarn add bablyfill
```

#### global

```bash
npm i -g bablyfill
```

```bash
yarn global add bablyfill
```

## Usage

### CLI

bablyfill installs 4 binaries that are only aliases for each other.
you can use each following shell command to start the magic:

```bash
bablyfill
devnode
es6ify
es6
```

### run es6 code

to run es6+ code you can simply call:

```bash
es6 path/to/es6-app.js
```

#### transpile to stdout

```bash
es6 path/to/es6-app.js -t
```

#### transpile and save es6 file

```bash
es6 path/to/es6-app.js path/lib/dest.js
```

#### transpile / transform multiple es6 sources using glob or path

```bash
es6 'path/to/es6/**/*.js' path/to/lib/
es6 path/to/es6 path/to/lib/
```

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