Skip to content

10xly/specific-args-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

specific-args-wrapper

Create a wrapper function that always called the specified function with specific arguments.

Installation

npm install specific-args-wrapper

Usage

var specificArgsWrapper = require("specific-args-wrapper")

var add = require("countingup").add // add function for exmaple

var return3 = specificArgsWrapper(add, [1, 2])

console.log(return3()) // 3

Licence

EGPSL10X-1.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published