# ababel

> Compile with babel only when file changed from last time.

Latest version **6.1.5** (published 2020-10-01) · MIT license · 0 weekly downloads

## Install

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

## 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 | 6.1.5 |
| Published | 2020-10-01 |
| First published | 2016-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 9 |
| Unpacked size | 15.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Taka Okunishi |
| Maintainers | okunishinishi |
| Keywords | babel |

## Links

- npm: https://www.npmjs.com/package/ababel
- Repository: https://github.com/a-labo/ababel
- Homepage: https://github.com/a-labo/ababel#readme
- Issues: https://github.com/a-labo/ababel/issues
- npm.io page: https://npm.io/package/ababel

## Dependencies (9)

- [asfs](https://npm.io/package/asfs.md) ^2.3.0
- [aglob](https://npm.io/package/aglob.md) ^3.0.2
- [asenv](https://npm.io/package/asenv.md) ^3.0.2
- [filedel](https://npm.io/package/filedel.md) ^4.1.2
- [writeout](https://npm.io/package/writeout.md) ^2.3.4
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.11.6
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.11.5
- [convert-source-map](https://npm.io/package/convert-source-map.md) ^1.7.0
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.11.5

## 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

- 6.1.5 (latest) — 2020-10-01
- 6.1.4 — 2020-05-26
- 6.1.3 — 2020-04-30
- 6.1.2 — 2020-01-12
- 6.1.1 — 2020-01-12
- 6.1.0 — 2019-12-20
- 6.0.3 — 2019-07-06
- 6.0.0 — 2019-03-23
- 5.0.12 — 2019-03-05
- 5.0.11 — 2019-03-05
- 5.0.10 — 2019-02-24
- 5.0.9 — 2019-02-16
- 5.0.8 — 2018-12-16
- 5.0.6 — 2018-08-28
- 5.0.5 — 2018-08-24
- … 61 more at https://npm.io/package/ababel/versions

## README

ababel
==========

<!---
This file is generated by ape-tmpl. Do not update manually.
--->

<!-- Badge Start -->
<a name="badges"></a>

[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]

[bd_repo_url]: https://github.com/a-labo/ababel
[bd_travis_url]: http://travis-ci.org/a-labo/ababel
[bd_travis_shield_url]: http://img.shields.io/travis/a-labo/ababel.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/a-labo/ababel
[bd_travis_com_shield_url]: https://api.travis-ci.com/a-labo/ababel.svg?token=
[bd_license_url]: https://github.com/a-labo/ababel/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/a-labo/ababel
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/a-labo/ababel.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/a-labo/ababel.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/a-labo/ababel
[bd_gemnasium_shield_url]: https://gemnasium.com/a-labo/ababel.svg
[bd_npm_url]: http://www.npmjs.org/package/ababel
[bd_npm_shield_url]: http://img.shields.io/npm/v/ababel.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg

<!-- Badge End -->


<!-- Description Start -->
<a name="description"></a>

Compile with babel only when file changed from last time.

<!-- Description End -->


<!-- Overview Start -->
<a name="overview"></a>



<!-- Overview End -->


<!-- Sections Start -->
<a name="sections"></a>

<!-- Section from "doc/guides/01.Installation.md.hbs" Start -->

<a name="section-doc-guides-01-installation-md"></a>

Installation
-----

```bash
$ npm install ababel --save
```


<!-- Section from "doc/guides/01.Installation.md.hbs" End -->

<!-- Section from "doc/guides/02.Usage.md.hbs" Start -->

<a name="section-doc-guides-02-usage-md"></a>

Usage
---------

```javascript
'use strict'

const ababel = require('ababel')

void async function () {
  await ababel('**/*.jsx', {
    cwd: 'src',
    out: 'dest',
    minified: true,
    presets: ['es2015', 'react']
  })
}().catch((err) => console.error(err))


```


<!-- Section from "doc/guides/02.Usage.md.hbs" End -->

<!-- Section from "doc/guides/03.Signature.md.hbs" Start -->

<a name="section-doc-guides-03-signature-md"></a>

Signature
---------

`ababel(pattern, options) -> Promise`

### Params

| Name | Type | Description |
| ----- | --- | -------- |
| pattern | string | Glob file name pattern |
| options | Object | Optional settings |
| options.cwd | string | Current working directory path |
| options.out | string | Output directory path |
| options.minified | boolean | Minified or not |
| options.reflects | string[] | File patterns to reflects changes |



<!-- Section from "doc/guides/03.Signature.md.hbs" End -->


<!-- Sections Start -->


<!-- LICENSE Start -->
<a name="license"></a>

License
-------
This software is released under the [MIT License](https://github.com/a-labo/ababel/blob/master/LICENSE).

<!-- LICENSE End -->


<!-- Links Start -->
<a name="links"></a>

Links
------

+ [Babel][babel_url]

[babel_url]: https://babeljs.io/

<!-- Links End -->

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