Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1.97 KB

README.md

File metadata and controls

67 lines (45 loc) · 1.97 KB

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.

NPM version Build Status Dependency Status

Install

$ npm install --save master-class

Usage

  1. Require the library

    const M = require('master-class');
  2. Create a new class:

    const MyMClass = M({/* options */});
  3. 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.

License

AGPL-3.0 © Amit Portnoy