npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

args-utils

0.1.1

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:67
$ npm install args-utils
DailyWeeklyMonthlyYearly

args-utils NPM version

JavaScript utils for working with arguments.

Install

Install with npm:

npm i args-utils --save-dev

Run tests

npm test

Usage

var utils = require('args-utils');

API

destructure

  • arr {Array}: Arguments object.
  • types {Array}: Array of types, each with an object of schemas to check.
  • returns: {Array}

This is more like "mapping" args to types, but it's purpose is conceptually close to destructuring.

Author

Jon Schlinkert

  • github/jonschlinkert
  • twitter/jonschlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on October 04, 2014.