args-to-array

    1.0.2 • Public • Published

    args-to-array

    Build Status Code Climate Version Downloads

    Coverts a javascript arguments object into an array

    Install

    $ npm install --save args-to-array

    Usage

    var argsToArray = require('args-to-array')
     
    function add (1, 2) {
      args = argsToArray(arguments)
      // => [1, 2]
      ...
    }

    API

    argsToArray(arguments) -> array

    arguments

    Required
    Type: object

    The javascript arguments object

    Keywords

    none

    Install

    npm i args-to-array

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • bsiddiqui