1.1.1 • Published 3 years ago
@sz-sw/modfn v1.1.1
@sz-sw/modfn
Creates a function that can be supplied with modifiers:
const modfn = require("@sz-sw/modfn")
const fun = modfn((modifiers, name) => {
console.log(modifiers, name) // ["a", "b", "c"] test
})
fun.a.b.c("test")