# stringify-parameters

> Stringifies function's parameters definition

Latest version **0.0.7** (published 2018-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install stringify-parameters
pnpm add stringify-parameters
yarn add stringify-parameters
bun add stringify-parameters
```

Provides the command `stringify-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.0.7 |
| Published | 2018-10-24 |
| First published | 2017-08-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Diego ZoracKy |
| Maintainers | diegozoracky |
| Keywords | functions, function, parameters, parameter, string, stringify, stringified |

## Links

- npm: https://www.npmjs.com/package/stringify-parameters
- npm.io page: https://npm.io/package/stringify-parameters

## Dependencies (2)

- [magicli](https://npm.io/package/magicli.md) 0.0.8
- [unpack-string](https://npm.io/package/unpack-string.md) 0.0.2

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 0.0.7 (latest) — 2018-10-24
- 0.0.6 — 2018-10-24
- 0.0.5 — 2017-11-09
- 0.0.4 — 2017-08-24
- 0.0.3 — 2017-08-23
- 0.0.2 — 2017-08-23
- 0.0.1 — 2017-08-23

## README

# stringify-parameters

[![Build Status](https://api.travis-ci.org/DiegoZoracKy/stringify-parameters.svg)](https://travis-ci.org/DiegoZoracKy/stringify-parameters)

Stringifies function's parameters definition. Useful to create automated tasks, intellisense, .

## Installation

```bash
npm install stringify-parameters
```

**CLI**
```bash
npm install stringify-parameters -g
```
```bash
npx stringify-parameters --help
```

## Usage

`stringifyParameters(fn);`

Where **fn** is a *function* reference or a *function* definition stringified (e.g. fn.toString())

```javascript
const stringifyParameters = require('stringify-parameters');

// Just a function to test
const testFunction = (a = "z", b = [1,2,3], c, {d,e: {f}, g} = {}) => console.log("noop");

// `result` will be: 'a = "z, b = [1,2,3], c, {d,e: {f}, g} = {}'
const result = stringifyParameters(testFunction);
```

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