1.0.0 • Published 6 years ago
arg-counter v1.0.0
Argument counter
This method counts how many argumets that were provided in a function
Installation
# Install with npm
npm i -S arg-counter
# Install with yarn
yarn add arg-counter
# Install with Bower
bower install arg-counter
Usage
const ArgCounter = require('arg-counter');
ArgCounter('some', 'arguments', 'provided', 1, 2, 3, 4, 5, 6)
// Will return <number:9> (9)
1.0.0
6 years ago