Bind all methods to an object.
npm install bind-all

Create singletons from objects.
``sh`
$ npm install bind-all
`js
function User() {
this.x = 4;
}
User.prototype.y = function y() {
return this.x;
};
var user = bindAll(new User());
user.y.apply(this); // 4
``