ecmascript5

npm install ecmascript5
1 downloads in the last week
2 downloads in the last month

import console; module util { print: (m){console.log(m);}; }; export class Foo { use util; init: (v){this.v = isFinite(v) ? v:0, this;}; print: (m){util.print(m), this;}; class self.Bar { extends Foo; '+': (v){isFinite(v) ? v:this.v;}; print: (v){super(this + v);}; }; }; fb = new Foo.Bar(); fb.print(10);

npm loves you