# @inf3rno/function-parameters

> Parsing function parameter list even for ES6 syntax.

Latest version **0.1.0** (published 2020-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @inf3rno/function-parameters
pnpm add @inf3rno/function-parameters
yarn add @inf3rno/function-parameters
bun add @inf3rno/function-parameters
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2020-02-01 |
| First published | 2020-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | László Lajos Jánszky |
| Maintainers | inf3rno |
| Keywords | JSON, appendable |

## Links

- npm: https://www.npmjs.com/package/@inf3rno/function-parameters
- Repository: https://github.com/inf3rno/function-parameters
- Homepage: https://github.com/inf3rno/function-parameters#readme
- Issues: https://github.com/inf3rno/function-parameters/issues
- npm.io page: https://npm.io/package/@inf3rno/function-parameters

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.0 (latest) — 2020-02-01

## README

# function-parameters
[![Build Status](https://travis-ci.org/inf3rno/function-parameters.svg?branch=master)](https://travis-ci.org/inf3rno/function-parameters)
Parsing function parameter list even for ES6 syntax.

```sh
npm install function-parameters
```

implemented in v0.1.0
```js
var parameters = require("function-parameters");
parameters(function (a, b){}); // ["a","b"]
parameters((a,b) => {}); // ["a","b"]
parameters((a,b) => null); // ["a","b"]
parameters((class A{x(a,b){}}).prototype.x); // ["a","b"]
```

todo
```js
var parameters = require("function-parameters");
parameters(([a,b]) => {}); // ["[a,b]"]
parameters(({a,b}) => {}); // ["{a,b}"]
parameters((a, ...b) => {}); // ["a","...b"]
parameters(class A{constructor(a,b){}}); // ["a","b"]
parameters(function (a, b /*, c*/) {}); // ["a","b"]
```

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