synths
v0.3.0
Published
Synthesize property with type, methods, operators and more.
Readme
Synths
Synths is a JavaScript library that synthesize property with type, methods, operators and more.
Development is currently ongoing.
Usage
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