🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

args-utils

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

args-utils

JavaScript utils for working with arguments.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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.

Keywords

docs

FAQs

Package last updated on 10 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts