Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javiercejudo/modelico
Serialisable immutable models for JavaScript
https://github.com/javiercejudo/modelico
immutability json-schema models serialization
Last synced: 27 days ago
JSON representation
Serialisable immutable models for JavaScript
- Host: GitHub
- URL: https://github.com/javiercejudo/modelico
- Owner: javiercejudo
- License: mit
- Created: 2016-03-27T04:45:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T04:58:41.000Z (about 4 years ago)
- Last Synced: 2024-09-27T08:58:48.058Z (about 1 month ago)
- Topics: immutability, json-schema, models, serialization
- Language: JavaScript
- Homepage: https://modelico.javiercejudo.com
- Size: 7.33 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Modélico \[moˈðe.li.ko\] is a universal-JS library for serialisable immutable
models.[![Build Status](https://travis-ci.org/javiercejudo/modelico.svg?branch=master)](https://travis-ci.org/javiercejudo/modelico)
[![codecov.io](https://codecov.io/github/javiercejudo/modelico/coverage.svg?branch=master)](https://codecov.io/github/javiercejudo/modelico?branch=master)
[![Code Climate](https://codeclimate.com/github/javiercejudo/modelico/badges/gpa.svg)](https://codeclimate.com/github/javiercejudo/modelico)
[![Dependency Status](https://gemnasium.com/badges/github.com/javiercejudo/modelico.svg)](https://gemnasium.com/github.com/javiercejudo/modelico)**Docs: https://modelico.javiercejudo.com/quickstart**
## Installation
npm install modelico
To use it in the browser, grab the
[minified](https://raw.githubusercontent.com/javiercejudo/modelico/master/dist/modelico.min.js)
or the
[development](https://raw.githubusercontent.com/javiercejudo/modelico/master/dist/modelico.js)
files.[Run the current tests](https://rawgit.com/javiercejudo/modelico/master/test/browser/index.html)
directly on your target browsers to make sure things work as expected.*Note: [babel-polyfill](https://babeljs.io/docs/usage/polyfill/) might be
required for browsers other than Chrome, Firefox and Edge.*## Browser support
[![Build Status](https://saucelabs.com/browser-matrix/modelico.svg)](https://saucelabs.com/u/modelico)
## Acknowledgments :bow:
Inspired by [Immutable.js](https://github.com/facebook/immutable-js),
[Gson](https://github.com/google/gson) and initially designed to cover
the same use cases as an internal Skiddoo tool by
[Jaie Wilson](https://github.com/jaiew).