Master-Class
JavaScript classes with an edge.
This is library provides a class factory. The instances of its generated classes have many features that will eventually allow them to:
- Be distributively managed between machines
- Be differently viewed in different contexts (e.g., depending on the viewer or an internal state)
- Be efficiently stored
- Keep precise track of their changes
All while still feeling like plain JavaScript objects.
Install
$ npm install --save master-class
Usage
-
Require the library
const M = ; -
Create a new class:
const MyMClass = ; -
Create an instance:
const myInstance = ;or
const myInstance = MyMClass;
Features
API Reference
[WIP] For now, you could just read through the tests.