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');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i bind-fn

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • joshwnj