Bug#1138495: ITP: node-class-plus -- build and extend classes in Node.js, with mixins and more
| Newsgroups | gmane.linux.debian.devel.general |
|---|---|
| Message-ID | <cbfe78927bef07d26e3c26f246471720__2345.26851433969$1780195420$gmane$org@nahmias.net> |
Package: wnpp Severity: wishlist Owner: Joseph Nahmias <[email protected]> Control: block 1138186 by -1 X-Debbugs-CC: [email protected] * Package name : node-class-plus Version : 2.0.0 Upstream Author : Joseph Huckaby <[email protected]> * URL : https://github.com/jhuckaby/class-plus * License : Expat Programming Lang: JavaScript Description : build and extend classes in Node.js, with mixins and more class-plus is a simple class builder utility, which adds support for specifying class member variables as well as mix-ins. It does this by providing a custom API that augments an ES2015 class with custom features: . - Provide an easy API to generate classes with additions. - Support for adding properties right above the class definition (as close to inside it as we can get). - Support for multiple mix-ins, will merge both properties and methods from multiple classes. - Support for adding static properties. - Optional easy way to mix-in the Node.js EventEmitter class. - Optional hook system (async event emitters). - Optional automatic conversion of callback methods to async ones. . Node.js is an event-based server-side JavaScript engine. dep for pixl-logger i plan to maintain this under the js-team