# wraptile

> translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with any count of arguments

Latest version **3.0.0** (published 2019-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install wraptile
pnpm add wraptile
yarn add wraptile
bun add wraptile
```

## 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 | 3.0.0 |
| Published | 2019-09-07 |
| First published | 2017-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | wraptile, partial, functional |

## Links

- npm: https://www.npmjs.com/package/wraptile
- Repository: https://github.com/coderaiser/wraptile
- Issues: https://github.com/coderaiser/wraptile/issues
- npm.io page: https://npm.io/package/wraptile

## Recent versions

- 3.0.0 (latest) — 2019-09-07
- 2.0.0 — 2018-05-03
- 1.0.0 — 2017-04-06

## README

# Wraptile [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

Translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with a any count of arguments.

## Install

```
npm i wraptile --save
```

## How to use?

```js
const wraptile = require('wraptile');
const log = wraptile((data) => console.log(data));

window.addEventListener('click', logwrap('click'));
// every time someone click log
'click'
```

## Related

- [zames](https://github.com/coderaiser/zames "zames") - converts callback-based functions to Promises and apply currying to arguments.

- [currify](https://github.com/coderaiser/currify "currify") - translate the evaluation of a function that takes multiple arguments into evaluating a sequence of functions, each with a single or more arguments.

- [fullstore](https://github.com/coderaiser/fullstore "fullstore") - functional variables.

## License

MIT

[NPMIMGURL]:                https://img.shields.io/npm/v/wraptile.svg?style=flat
[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/wraptile/master.svg?style=flat
[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/wraptile.svg?style=flat
[LicenseIMGURL]:            https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
[NPMURL]:                   https://npmjs.org/package/wraptile "npm"
[BuildStatusURL]:           https://travis-ci.org/coderaiser/wraptile  "Build Status"
[DependencyStatusURL]:      https://david-dm.org/coderaiser/wraptile "Dependency Status"
[LicenseURL]:               https://tldrlegal.com/license/mit-license "MIT License"

[CoverageURL]:              https://coveralls.io/github/coderaiser/wraptile?branch=master
[CoverageIMGURL]:           https://coveralls.io/repos/coderaiser/wraptile/badge.svg?branch=master&service=github

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