@sz-sw/modfn
v1.1.1
Published
Creates a function that can be supplied with modifiers:
Downloads
10
Readme
@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")