@sz-sw/modfn

1.1.1 • Public • Published

@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")

Readme

Keywords

none

Package Sidebar

Install

npm i @sz-sw/modfn

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

1.37 kB

Total Files

4

Last publish

Collaborators

  • sz-coder