https://github.com/emberjs/ember-copy
https://github.com/emberjs/ember-copy
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emberjs/ember-copy
- Owner: emberjs
- License: mit
- Created: 2018-04-21T15:05:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T17:28:57.000Z (over 3 years ago)
- Last Synced: 2025-08-21T01:39:20.805Z (11 months ago)
- Language: JavaScript
- Size: 4.71 MB
- Stars: 4
- Watchers: 4
- Forks: 6
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
ember-copy
==============================================================================
This addon supplies a copy() function and Copyable mixin to replace the function and mixin now being [deprecated](https://github.com/emberjs/rfcs/pull/322) in Ember.js.
Compatibility
------------------------------------------------------------------------------
* Ember.js v3.16 or above
* Ember CLI v2.13 or above
* Node.js v10 or above
Installation
------------------------------------------------------------------------------
```
ember install ember-copy
```
Usage
------------------------------------------------------------------------------
To use the addon, wherever you were using:
`import {copy, Copyable} from '@ember/object/internals'`
instead use:
`import {copy, Copyable} from 'ember-copy'`
Contributing
------------------------------------------------------------------------------
See the [Contributing](CONTRIBUTING.md) guide for details.
License
------------------------------------------------------------------------------
This project is licensed under the [MIT License](LICENSE.md).