bind-fn

1.0.1 • Public • Published

bind-fn

Build Status

Very small module to make binding functions easier.

Eg. instead of repeating the context in

var f = obj.func.bind(obj);

we can just do

var bind = require('bind-fn');
var f = bind(obj, 'func');

Readme

Keywords

Package Sidebar

Install

npm i bind-fn

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • joshwnj