# chainr-proxy

> Chaining your magic methods

Latest version **1.0.0-beta** (published 2018-05-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install chainr-proxy
pnpm add chainr-proxy
yarn add chainr-proxy
bun add chainr-proxy
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-beta |
| Published | 2018-05-06 |
| First published | 2018-05-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 18.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jingkun Hua |
| Maintainers | hjkcai |
| Keywords | es6, proxy, chain, chainr, chaining |

## Links

- npm: https://www.npmjs.com/package/chainr-proxy
- Repository: https://github.com/hjkcai/chainr
- Homepage: https://github.com/hjkcai/chainr#readme
- Issues: https://github.com/hjkcai/chainr/issues
- npm.io page: https://npm.io/package/chainr-proxy

## Recent versions

- 1.0.0-beta (latest) — 2018-05-06
- 1.0.0-alpha — 2018-05-03

## README

# Chainr

Chainr is a tiny utility to make you possible to call undefined methods, by using
[Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy).

```javascript
import { createInstance } from 'chainr-proxy'
const chainr = createInstance(function dispatch (keys, args) {
  console.log(keys, args)
})

chainr()                        // [], []
chainr.what.is.this.method()    // ['what', 'is', 'this', 'method'], []
chainr['amazing!!!'](1, 2, 3)   // ['amazing!!!'], [1, 2, 3]
```

## API

Coming soon...

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