🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

arg-deps

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arg-deps

statically parse out properties from arguments in a function

latest
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

arg-deps

Statically inspect a function to get the properties of its arguments. Works with minified code.

Example

var deps = require('arg-deps');

var out = deps(function(props, arr) {
  props.width = 700;
  props.height = 900;
  arr[0] = 20;
  arr[1] = 40;
});

// [
//   ['width', 'height'],
//   [0, 1]
// ]

Installation

npm install arg-deps

Test

npm install
make test

License

MIT

Keywords

arguments

FAQs

Package last updated on 08 Apr 2015

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