A collection of functional programming functions
npm i lb-f
// node modules
const {curry} = require('lb-f')
// ES2015 modules
import {curry} from 'lb-f'
// create a standard function
const add = (a + b) => a + b
// wrap it in a curry
const sum = curry(add)
// now you can call argument by argument
sum(1, 2) // 3
sum(1)(2) // 3