0.1.1 • Published 10 years ago
args-utils v0.1.1
args-utils
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.
0.1.1
10 years ago