Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ecraft/ember-objectify
https://github.com/ecraft/ember-objectify
ember
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ecraft/ember-objectify
- Owner: ecraft
- License: mit
- Created: 2018-06-29T10:19:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T07:11:50.000Z (almost 6 years ago)
- Last Synced: 2024-11-01T20:47:37.907Z (about 2 months ago)
- Topics: ember
- Language: JavaScript
- Size: 72.3 KB
- Stars: 1
- Watchers: 9
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
ember-objectify
==============================================================================An Ember addon to recursively turn POJOs and Arrays into Ember Objects and Ember Arrays.
Installation
------------------------------------------------------------------------------```
ember install ember-objectify
```Usage
------------------------------------------------------------------------------```js
import { objectify, deepObjectify } from 'ember-objectify';
``````js
const pojo = {
foo: 'bar',
baz: {
zot: [1, 2, 3]
}
};const result = deepObjectify(pojo);
```Contributing
------------------------------------------------------------------------------### Installation
* `git clone `
* `cd ember-objectify`
* `yarn install`### Linting
* `yarn lint:js`
* `yarn lint:js --fix`### Running tests
* `ember test` – Runs the test suite on the current Ember version
* `ember test --server` – Runs the test suite in "watch mode"
* `ember try:each` – Runs the test suite against multiple Ember versionsFor more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
License
------------------------------------------------------------------------------This project is licensed under the [MIT License](LICENSE.md).