# simple-methodize-x

> Methodize a prototype method. Compliant to 8 arguments.

Latest version **1.0.4** (published 2019-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install simple-methodize-x
pnpm add simple-methodize-x
yarn add simple-methodize-x
bun add simple-methodize-x
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-08-28 |
| First published | 2019-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8.11.4 |
| Dependencies | 2 |
| Unpacked size | 87.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Graham Fairweather |
| Maintainers | xotic750 |
| Keywords | bind, methodize, methodise, method, prototype, static, module, javascript, nodejs, browser |

## Links

- npm: https://www.npmjs.com/package/simple-methodize-x
- Repository: https://github.com/Xotic750/simple-methodize-x
- Issues: https://github.com/Xotic750/simple-methodize-x/issues
- npm.io page: https://npm.io/package/simple-methodize-x

## Dependencies (2)

- [simple-call-x](https://npm.io/package/simple-call-x.md) ^1.0.3
- [util-pusher-x](https://npm.io/package/util-pusher-x.md) ^1.0.3

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2019-08-28
- 1.0.3 — 2019-08-20
- 1.0.2 — 2019-08-16
- 1.0.1 — 2019-08-16
- 1.0.0 — 2019-08-16

## README

<a
  href="https://travis-ci.org/Xotic750/simple-methodize-x"
  title="Travis status">
<img
  src="https://travis-ci.org/Xotic750/simple-methodize-x.svg?branch=master"
  alt="Travis status" height="18">
</a>
<a
  href="https://david-dm.org/Xotic750/simple-methodize-x"
  title="Dependency status">
<img src="https://david-dm.org/Xotic750/simple-methodize-x/status.svg"
  alt="Dependency status" height="18"/>
</a>
<a
  href="https://david-dm.org/Xotic750/simple-methodize-x?type=dev"
  title="devDependency status">
<img src="https://david-dm.org/Xotic750/simple-methodize-x/dev-status.svg"
  alt="devDependency status" height="18"/>
</a>
<a
  href="https://badge.fury.io/js/simple-methodize-x"
  title="npm version">
<img src="https://badge.fury.io/js/simple-methodize-x.svg"
  alt="npm version" height="18">
</a>
<a
  href="https://www.jsdelivr.com/package/npm/simple-methodize-x"
  title="jsDelivr hits">
<img src="https://data.jsdelivr.com/v1/package/npm/simple-methodize-x/badge?style=rounded"
  alt="jsDelivr hits" height="18">
</a>
<a
  href="https://bettercodehub.com/results/Xotic750/simple-methodize-x"
  title="bettercodehub score">
<img src="https://bettercodehub.com/edge/badge/Xotic750/simple-methodize-x?branch=master"
  alt="bettercodehub score" height="18">
</a>
<a
  href="https://coveralls.io/github/Xotic750/simple-methodize-x?branch=master"
  title="Coverage Status">
<img src="https://coveralls.io/repos/github/Xotic750/simple-methodize-x/badge.svg?branch=master"
  alt="Coverage Status" height="18">
</a>

<a name="module_simple-methodize-x"></a>

## simple-methodize-x

Methodize a prototype method. Compliant to 8 arguments.

<a name="exp_module_simple-methodize-x--module.exports"></a>

### `module.exports` ⇒ <code>\*</code> ⏏

Methodize a prototype method. Compliant to 8 arguments.

**Kind**: Exported member  
**Returns**: <code>Function</code> - The static method.
**Throws**:

- <code>TypeError</code> If prototypeMethod is not a function.

| Param           | Type                  | Description           |
| --------------- | --------------------- | --------------------- |
| prototypeMethod | <code>Function</code> | The prototype method. |

**Example**

```js
import methodize from 'simple-methodize-x';

const push = methodize([].push);
const array = [];
push(array, 1);
push(array, 2);
console.log(array); // [1, 2]
```

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