synths

Synthesize property with type, methods, operators and more.

Synths

Synths is a JavaScript library that synthesize property with type, methods, operators and more.

Development is currently ongoing.

var synthesize = require('synths');
var john = {
    name: synthesize('string'),
    age: synthesize('integer')
};
john.name('John').age(25);
console.log(john.name());           // 'John' 
console.log(john.age());            // 25