master-class

0.5.9 • Public • Published

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

Package Sidebar

Install

npm i master-class

Weekly Downloads

8

Version

0.5.9

License

AGPL-3.0

Last publish

Collaborators

  • amitport