args-utils

0.1.1 • Public • Published

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

License

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


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

Package Sidebar

Install

npm i args-utils

Weekly Downloads

0

Version

0.1.1

License

none

Last publish

Collaborators

  • doowb
  • jonschlinkert