# babel-preset-swifty

> Babel preset used by Swifty.js, a modular, scalable, and light-weight framework for Node.js APIs!

Latest version **0.1.0** (published 2017-01-08) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-01-08 |
| First published | 2017-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 28 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Taylor Brooks |
| Maintainers | swift-developer |
| Keywords | babel, preset, swiftyjs, swifty.js, swifty, decorators, es2017 |

## Links

- npm: https://www.npmjs.com/package/babel-preset-swifty
- Repository: https://git-codecommit.us-west-2.amazonaws.com/v1/repos/babel-preset-swifty
- npm.io page: https://npm.io/package/babel-preset-swifty

## Dependencies (28)

- [babel-plugin-transform-regenerator](https://npm.io/package/babel-plugin-transform-regenerator.md) ^6.16.0
- [babel-plugin-check-es2015-constants](https://npm.io/package/babel-plugin-check-es2015-constants.md) ^6.3.13
- [babel-plugin-transform-es2015-for-of](https://npm.io/package/babel-plugin-transform-es2015-for-of.md) ^6.18.0
- [babel-plugin-transform-es2015-spread](https://npm.io/package/babel-plugin-transform-es2015-spread.md) ^6.3.13
- [babel-plugin-transform-es2015-classes](https://npm.io/package/babel-plugin-transform-es2015-classes.md) ^6.18.0
- [babel-plugin-transform-es2015-literals](https://npm.io/package/babel-plugin-transform-es2015-literals.md) ^6.3.13
- [babel-plugin-transform-decorators-legacy](https://npm.io/package/babel-plugin-transform-decorators-legacy.md) ^1.3.4
- [babel-plugin-transform-es2015-parameters](https://npm.io/package/babel-plugin-transform-es2015-parameters.md) ^6.18.0
- [babel-plugin-transform-async-to-generator](https://npm.io/package/babel-plugin-transform-async-to-generator.md) ^6.16.0
- [babel-plugin-transform-es2015-modules-amd](https://npm.io/package/babel-plugin-transform-es2015-modules-amd.md) ^6.18.0
- [babel-plugin-transform-es2015-modules-umd](https://npm.io/package/babel-plugin-transform-es2015-modules-umd.md) ^6.18.0
- [babel-plugin-transform-es2015-object-super](https://npm.io/package/babel-plugin-transform-es2015-object-super.md) ^6.3.13
- [babel-plugin-transform-es2015-sticky-regex](https://npm.io/package/babel-plugin-transform-es2015-sticky-regex.md) ^6.3.13
- [babel-plugin-transform-es2015-block-scoping](https://npm.io/package/babel-plugin-transform-es2015-block-scoping.md) ^6.18.0
- [babel-plugin-transform-es2015-destructuring](https://npm.io/package/babel-plugin-transform-es2015-destructuring.md) ^6.18.0
- [babel-plugin-transform-es2015-function-name](https://npm.io/package/babel-plugin-transform-es2015-function-name.md) ^6.9.0
- [babel-plugin-transform-es2015-typeof-symbol](https://npm.io/package/babel-plugin-transform-es2015-typeof-symbol.md) ^6.18.0
- [babel-plugin-transform-es2015-unicode-regex](https://npm.io/package/babel-plugin-transform-es2015-unicode-regex.md) ^6.3.13
- [babel-plugin-syntax-trailing-function-commas](https://npm.io/package/babel-plugin-syntax-trailing-function-commas.md) ^6.8.0
- [babel-plugin-transform-es2015-duplicate-keys](https://npm.io/package/babel-plugin-transform-es2015-duplicate-keys.md) ^6.6.0
- [babel-plugin-transform-es2015-arrow-functions](https://npm.io/package/babel-plugin-transform-es2015-arrow-functions.md) ^6.3.13
- [babel-plugin-transform-es2015-modules-commonjs](https://npm.io/package/babel-plugin-transform-es2015-modules-commonjs.md) ^6.18.0
- [babel-plugin-transform-es2015-modules-systemjs](https://npm.io/package/babel-plugin-transform-es2015-modules-systemjs.md) ^6.18.0
- [babel-plugin-transform-exponentiation-operator](https://npm.io/package/babel-plugin-transform-exponentiation-operator.md) ^6.3.13
- [babel-plugin-transform-es2015-template-literals](https://npm.io/package/babel-plugin-transform-es2015-template-literals.md) ^6.6.0
- [babel-plugin-transform-es2015-computed-properties](https://npm.io/package/babel-plugin-transform-es2015-computed-properties.md) ^6.3.13
- [babel-plugin-transform-es2015-shorthand-properties](https://npm.io/package/babel-plugin-transform-es2015-shorthand-properties.md) ^6.18.0
- [babel-plugin-transform-es2015-block-scoped-functions](https://npm.io/package/babel-plugin-transform-es2015-block-scoped-functions.md) ^6.3.13

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

- 0.1.0 (latest) — 2017-01-08
- 0.0.7 — 2017-01-08
- 0.0.6 — 2017-01-08
- 0.0.5 — 2017-01-08
- 0.0.3 — 2017-01-08

## README

# babel-preset-swifty

> Babel preset for all swifty plugins.


## What it includes

All your favorite es2017 functionality, but with decorators thrown into the mix. You can read up on decorators [here](https://github.com/wycats/javascript-decorators)!

Made with love for the Node.js API Framework known as **Swift.js**

## Install

```sh
npm install --save-dev babel-preset-swifty
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "presets": ["swifty"]
}
```

### Via CLI

```sh
babel script.js --presets swifty
```

### Via Node API

```javascript
require("babel-core").transform("code", {
  presets: ["swifty"]
});
```

## Options

* `loose` - Enable "loose" transformations for any plugins in this preset that allow them (Disabled by default).
* `modules` - Enable transformation of ES6 module syntax to another module type (Enabled by default to `"commonjs"`).
  * Can be `false` to not transform modules, or one of `["amd", "umd", "systemjs", "commonjs"]`
* `spec` - Enable "spec" transformations for any plugins in this preset that allow them (Disabled by default)

```js
{
  presets: [
    ["swifty", { "loose": true }]
  ]
}
{
  presets: [
    ["swifty", { "modules": false }]
  ]
}
{
  presets: [
    ["swifty", { "loose": true, "modules": false }]
  ]
}
{
  presets: [
    ["swifty", { "spec": true }]
  ]
}
```

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