npm.io
0.1.1 • Published 6 years ago

@dalisoft/args

Licence
MIT
Version
0.1.1
Deps
0
Size
10 kB
Vulns
0
Weekly
0

args

Greenkeeper badge

A performant argument pass library

Features

  • Ability handle up to 10 arguments
  • Performant
  • Easy
  • Fallback to fn.apply(this, args)
  • UMD compatible

Installation

We recommend install via npm because of it's cache and flat node modules tree

npm i @dalisoft/args

then you able to import to Node.js/Browser easily

// Node.js
const args = require("@dalisoft/args");

// Browser
// window.args OR args

// ES6
import args from "@dalisoft/args";

Usage

args(fn: Function, arguments: any[])

License

MIT

Keywords