master-class
v0.5.9
Published
JavaScript classes with an edge.
Downloads
16
Maintainers
Readme
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 = require('master-class');
Create a new class:
const MyMClass = M({/* options */});
Create an instance:
const myInstance = new MyMClass();
or
const myInstance = MyMClass.createInstance();
Features
API Reference
[WIP] For now, you could just read through the tests.