DCL

An elegant OOP with mixins + AOP for JavaScript.

Documentation

dcl is a micro library written in JavaScript for node.js and browsers. It implements OOP with mixins + AOP at both “class” and object level.

Currently it exists in two versions:

  • 2.x - targets ES5 browsers with support for property descriptors, and getters/setters.
  • 1.x - targets legacy browsers (goes back at least to IE8).

Both versions work fine on node.js.