# get-func-parameters

> get the function parameters

Latest version **1.0.0** (published 2018-07-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install get-func-parameters
pnpm add get-func-parameters
yarn add get-func-parameters
bun add get-func-parameters
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-07-25 |
| First published | 2018-07-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | wenzhe |
| Maintainers | dearzoe |
| Keywords | get, func, parameters, getParameters, getParams, getFuncParams, getFuncParameters |

## Links

- npm: https://www.npmjs.com/package/get-func-parameters
- Repository: https://github.com/dearzoe/get-func-parameters
- Homepage: https://github.com/dearzoe/get-func-parameters#readme
- Issues: https://github.com/dearzoe/get-func-parameters/issues
- npm.io page: https://npm.io/package/get-func-parameters

## Recent versions

- 1.0.0 (latest) — 2018-07-25

## README

### get-func-parameters
获取函数形参个数。
Obtaining the number of function parameters.

<a href="https://www.npmjs.com/package/get-func-parameters"><img src="https://img.shields.io/npm/v/get-func-parameters.svg?style=flat-square"></a>
<a href="https://www.npmjs.com/package/get-func-parameters"><img src="https://img.shields.io/npm/dm/get-func-parameters.svg?style=flat-square"></a>


### install

```bash
npm install --save get-func-parameters
```

### use

```js
const getFuncParameters = require('get-func-parameters');

function func(a,b,c,d){
    return a+b*c*d
}
//参数 functionName
getFuncParameters(func);

// 输出 =>
["a", "b", "c", "d"]
```

---
_Source: https://npm.io/package/get-func-parameters · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
