# babel-preset-urban

> Babel preset for es2015, react, class props and async

Latest version **1.0.1** (published 2017-09-12) · ISC license · 0 weekly downloads

## Install

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

## 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 | 2017-09-12 |
| First published | 2015-11-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 27 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Matt Styles |
| Maintainers | mattstyles |
| Keywords | babel, preset, urban, react, es2015, async, class, properties |

## Links

- npm: https://www.npmjs.com/package/babel-preset-urban
- Repository: https://github.com/mattstyles/babel-preset-urban
- Issues: https://github.com/mattstyles/babel-preset-urban/issues
- npm.io page: https://npm.io/package/babel-preset-urban

## Dependencies (27)

- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) ^6.24.1
- [babel-plugin-transform-regenerator](https://npm.io/package/babel-plugin-transform-regenerator.md) ^6.26.0
- [babel-plugin-transform-es2015-for-of](https://npm.io/package/babel-plugin-transform-es2015-for-of.md) ^6.23.0
- [babel-plugin-transform-es2015-spread](https://npm.io/package/babel-plugin-transform-es2015-spread.md) ^6.22.0
- [babel-plugin-transform-es2015-classes](https://npm.io/package/babel-plugin-transform-es2015-classes.md) ^6.24.1
- [babel-plugin-transform-async-functions](https://npm.io/package/babel-plugin-transform-async-functions.md) ^6.22.0
- [babel-plugin-transform-es2015-literals](https://npm.io/package/babel-plugin-transform-es2015-literals.md) ^6.22.0
- [babel-plugin-transform-class-properties](https://npm.io/package/babel-plugin-transform-class-properties.md) ^6.24.1
- [babel-plugin-transform-es2015-constants](https://npm.io/package/babel-plugin-transform-es2015-constants.md) ^6.1.4
- [babel-plugin-transform-es2015-parameters](https://npm.io/package/babel-plugin-transform-es2015-parameters.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-transform-react-display-name](https://npm.io/package/babel-plugin-transform-react-display-name.md) ^6.25.0
- [babel-plugin-transform-es2015-object-super](https://npm.io/package/babel-plugin-transform-es2015-object-super.md) ^6.24.1
- [babel-plugin-transform-es2015-sticky-regex](https://npm.io/package/babel-plugin-transform-es2015-sticky-regex.md) ^6.24.1
- [babel-plugin-transform-es2015-block-scoping](https://npm.io/package/babel-plugin-transform-es2015-block-scoping.md) ^6.26.0
- [babel-plugin-transform-es2015-destructuring](https://npm.io/package/babel-plugin-transform-es2015-destructuring.md) ^6.23.0
- [babel-plugin-transform-es2015-function-name](https://npm.io/package/babel-plugin-transform-es2015-function-name.md) ^6.24.1
- [babel-plugin-transform-es2015-typeof-symbol](https://npm.io/package/babel-plugin-transform-es2015-typeof-symbol.md) ^6.23.0
- [babel-plugin-transform-es2015-unicode-regex](https://npm.io/package/babel-plugin-transform-es2015-unicode-regex.md) ^6.24.1
- [babel-plugin-transform-async-to-module-method](https://npm.io/package/babel-plugin-transform-async-to-module-method.md) ^6.24.1
- [babel-plugin-transform-class-constructor-call](https://npm.io/package/babel-plugin-transform-class-constructor-call.md) ^6.24.1
- [babel-plugin-transform-es2015-arrow-functions](https://npm.io/package/babel-plugin-transform-es2015-arrow-functions.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-es2015-template-literals](https://npm.io/package/babel-plugin-transform-es2015-template-literals.md) ^6.22.0
- [babel-plugin-transform-es2015-computed-properties](https://npm.io/package/babel-plugin-transform-es2015-computed-properties.md) ^6.24.1
- [babel-plugin-transform-es2015-shorthand-properties](https://npm.io/package/babel-plugin-transform-es2015-shorthand-properties.md) ^6.24.1
- [babel-plugin-transform-es2015-block-scoped-functions](https://npm.io/package/babel-plugin-transform-es2015-block-scoped-functions.md) ^6.22.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-09-12
- 1.0.0 — 2016-11-29
- 0.5.0 — 2016-04-07
- 0.4.0 — 2016-02-05
- 0.3.0 — 2015-11-19
- 0.2.1 — 2015-11-19
- 0.2.0 — 2015-11-03
- 0.1.0 — 2015-11-02

## README

[![npm](https://img.shields.io/npm/v/babel-preset-urban.svg?style=flat)](https://www.npmjs.com/package/babel-preset-urban)
[![License](https://img.shields.io/npm/l/babel-preset-urban.svg)](https://www.npmjs.com/package/babel-preset-urban)
[![Dependency
Status](https://david-dm.org/mattstyles/babel-preset-urban.svg)](https://david-dm.org/mattstyles/babel-preset-urban)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

# babel-preset-urban

> Babel preset for es2015 transforms, with a bit of react, class props and async shizzle thrown in

## Install

```sh
npm i -D babel-preset-urban
```

## Usage

Add the following preset to your babel config

```json
"babel": {
  "presets": [ "urban" ]
}
```

## Polyfill

The async transformation uses
[regenerator](https://www.npmjs.com/package/regenerator) so any code
transformed using this preset requires the runtime. The easiest way to
include this is to use the
[babel-polyfill](https://www.npmjs.com/package/babel-polyfill).

The polyfill is **only** required if you actually write any `async`
code.

```sh
npm i babel-polyfill
```

```js
import 'babel-polyfill'
```

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