# ember-decorators-polyfill

> Polyfills Ember's built-in decorators

Latest version **1.1.5** (published 2020-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-decorators-polyfill
pnpm add ember-decorators-polyfill
yarn add ember-decorators-polyfill
bun add ember-decorators-polyfill
```

## 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.5 |
| Published | 2020-03-26 |
| First published | 2019-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 8.* \|\| >= 10.* |
| Dependencies | 3 |
| Unpacked size | 382.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Author | Chris Garrett |
| Maintainers | pzuraq |
| Keywords | ember-addon |

## Links

- npm: https://www.npmjs.com/package/ember-decorators-polyfill
- Repository: https://github.com/pzuraq/ember-decorators-polyfill
- Homepage: https://github.com/pzuraq/ember-decorators-polyfill#readme
- Issues: https://github.com/pzuraq/ember-decorators-polyfill/issues
- npm.io page: https://npm.io/package/ember-decorators-polyfill

## Dependencies (3)

- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^7.1.2
- [ember-cli-version-checker](https://npm.io/package/ember-cli-version-checker.md) ^3.1.3
- [ember-compatibility-helpers](https://npm.io/package/ember-compatibility-helpers.md) ^1.2.0

## Recent versions

- 1.1.5 (latest) — 2020-03-26
- 1.1.4 — 2020-03-25
- 1.1.3 — 2020-02-19
- 1.1.2 — 2020-01-22
- 1.1.1 — 2019-10-24
- 1.1.0 — 2019-10-24
- 1.0.6 — 2019-06-26
- 1.0.5 — 2019-05-30
- 1.0.4 — 2019-04-19
- 1.0.3 — 2019-04-08
- 1.0.2 — 2019-04-06
- 1.0.1 — 2019-04-06
- 1.0.0 — 2019-04-05

## README

# ember-decorators-polyfill

Polyfills Ember's built-in decorators

## Compatibility

- Ember.js v2.18 or above
- Ember CLI v2.13 or above

This addon is not needed in Ember 3.10+

## Installation

```
ember install ember-decorators-polyfill
```

## Usage

Polyfills Ember's built-in decorators API:

```js
import { action, computed } from '@ember/object';

import { inject as service } from '@ember/service';
import { inject as controller } from '@ember/controller';

import {
  alias,
  and,
  bool,
  collect,
  deprecatingAlias,
  empty,
  equal,
  filter,
  filterBy,
  gt,
  gte,
  intersect,
  lt,
  lte,
  map,
  mapBy,
  match,
  max,
  min,
  none,
  not,
  notEmpty,
  oneWay,
  or,
  reads,
  readOnly,
  setDiff,
  sort,
  sum,
  union,
  uniq,
  uniqBy,
} from '@ember/object/computed';
```

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).

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