🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

args-list

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

args-list

Extract method arguments names into array.

0.3.3
latest
npm
Version published
Weekly downloads
244
-20.52%
Maintainers
1
Weekly downloads
 
Created
Source

Args list

Extract method arguments names into array. Commonly used for dependency injection.

Install

npm install args-list --save
component install scottcorgan/args-list
bower install args-list --save

Usage


var argsList = require('args-list');

function someMethod (arg1, arg2, arg3) {
  // do something here
}

var list = argsList(someMethod); // Outputs ['arg1', 'arg2', 'arg3']

Keywords

injector

FAQs

Package last updated on 19 Aug 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