npm.io
7.0.0 • Published 4 weeks ago

ember-decorators

Licence
MIT
Version
7.0.0
Deps
4
Size
12 kB
Vulns
0
Weekly
0
Stars
357

ember-decorators

npm version Build Status

Ember Decorators is a project dedicated to exploring and unlocking the future of native classes in Ember.js. Its goal is to provide a set of decorators which can be used to write native classes with every standard feature that is available in Ember, along with the transforms and build system required to polyfill and ship them in your app today!

This addon is the main ember-decorators addon which includes all of the other core Ember Decorators addons. Checkout the documentation website for detailed guides on using native classes with Ember today, along with detailed API documentation for all the decorators included in this library.

Installation

The addon is split into object and component decorators:

  • @ember-decorators/component
  • @ember-decorators/object

You can run the following command to install both packages:

npm install @ember-decorators/component @ember-decorators/object -D

If you're coming from v6 and earlier, the meta package ember-decorators no longer transitively ships the individual packages for your apps. You must install them directly.

License

This project is licensed under the MIT License.

Keywords