Bind and partially apply functions with memoization.
npm install @dlmanning/bind
const bind = require('@dlmanning/bind')
function fn (str) {
console.log(this + ' ' + str)
}
const hi = bind('hello', fn)
hi('world') // => hello world
const yo = hi.partial('earth')
yo() // => hello earth
See API.md for detailed documentation.