{"_id":"wraptile","_rev":"4138674","name":"wraptile","description":"translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with any count of arguments","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T19:04:05.000Z","created":"2017-04-06T15:38:18.607Z","3.0.0":"2019-09-07T12:46:05.086Z","2.0.0":"2018-05-03T16:08:47.084Z","1.0.0":"2017-04-06T15:38:18.607Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"repository":{"type":"git","url":"git://github.com/coderaiser/wraptile.git"},"versions":{"3.0.0":{"name":"wraptile","version":"3.0.0","description":"translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with any count of arguments","main":"lib/wraptile.js","scripts":{"test":"madrun test","coverage":"madrun coverage","lint":"madrun lint","fix:lint":"madrun fix:lint","report":"madrun report","watcher":"madrun watcher","watch:test":"madrun watch:test","watch:lint":"madrun watch:lint","watch:tape":"madrun watch:tape","watch:coverage:base":"madrun watch:coverage:base","watch:coverage:tape":"madrun watch:coverage:tape","watch:coverage":"madrun watch:coverage"},"repository":{"type":"git","url":"git://github.com/coderaiser/wraptile.git"},"keywords":["wraptile","partial","functional"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/wraptile/issues"},"homepage":"https://github.com/coderaiser/wraptile","devDependencies":{"@cloudcmd/stub":"^2.3.0","coveralls":"^3.0.0","eslint":"^6.3.0","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0","madrun":"^3.0.1","nodemon":"^1.11.0","nyc":"^14.1.1","putout":"^5.11.2","redrun":"^7.1.7","supertape":"^1.2.3"},"gitHead":"a1c4083caa48ba7360b59c91faf4b1958a84dbb1","_id":"wraptile@3.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.0","dist":{"shasum":"c78933561a76848e42ba8d2156f89e7102412c19","size":2411,"noattachment":false,"key":"/wraptile/-/wraptile-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wraptile/download/wraptile-3.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wraptile_3.0.0_1567860364958_0.6320805576856556"},"_hasShrinkwrap":false,"publish_time":1567860365086,"_cnpm_publish_time":1567860365086,"_cnpmcore_publish_time":"2021-12-16T17:28:49.325Z"},"2.0.0":{"name":"wraptile","version":"2.0.0","description":"translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with any count of arguments","main":"lib/wraptile.js","scripts":{"test":"tape test/*.js","coverage":"nyc npm test","lint":"eslint lib test","report":"nyc report --reporter=text-lcov | coveralls","build":"redrun clean 6to5 legacy:*","6to5":"babel -d legacy/lib lib","wisdom":"npm run build","clean":"rimraf legacy/*","watcher":"nodemon -w test -w lib --exec","watch:test":"npm run watcher -- npm test","watch:lint":"npm run watcher -- 'npm run lint'","watch:tape":"nodemon -w test -w lib --exec tape","watch:coverage:base":"npm run watcher -- nyc npm test","watch:coverage:tape":"npm run watcher -- nyc tape","watch:coverage":"bin/redrun.js watch:coverage:base","legacy:index":"echo \"module.exports = require('./lib/wraptile');\" > legacy/index.js"},"repository":{"type":"git","url":"git://github.com/coderaiser/wraptile.git"},"keywords":["wraptile","partial","functional"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/wraptile/issues"},"homepage":"https://github.com/coderaiser/wraptile","devDependencies":{"babel-cli":"^6.1.1","babel-preset-env":"^1.6.1","coveralls":"^3.0.0","eslint":"^4.0.0","nodemon":"^1.11.0","nyc":"^11.0.2","redrun":"^6.0.0","rimraf":"^2.4.3","sinon":"^5.0.3","sinon-called-with-diff":"^2.0.0","tape":"^4.2.0"},"gitHead":"d38c6a1f7e591995a61240e4a25569190854f7a6","_id":"wraptile@2.0.0","_npmVersion":"6.0.0","_nodeVersion":"8.11.1","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"fc893b8c3b10113ce219234ee6f17b5b48654c8a","size":2836,"noattachment":false,"key":"/wraptile/-/wraptile-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wraptile/download/wraptile-2.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wraptile_2.0.0_1525363726945_0.8553917056436235"},"_hasShrinkwrap":false,"publish_time":1525363727084,"_cnpm_publish_time":1525363727084,"_cnpmcore_publish_time":"2021-12-16T17:28:49.575Z"},"1.0.0":{"name":"wraptile","version":"1.0.0","description":"translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with any count of arguments","main":"lib/wraptile.js","scripts":{"test":"tape test/*.js","coverage":"nyc npm test","lint":"eslint lib test","build":"redrun clean 6to5 legacy:*","6to5":"babel -d legacy/lib lib","wisdom":"npm run build","clean":"rimraf dist/* legacy/*","watcher":"nodemon -w test -w lib --exec","watch:test":"npm run watcher -- npm test","watch:lint":"npm run watcher -- 'npm run lint'","watch:tape":"nodemon -w test -w lib --exec tape","watch:coverage:base":"npm run watcher -- nyc npm test","watch:coverage:tape":"npm run watcher -- nyc tape","watch:coverage":"bin/redrun.js watch:coverage:base","legacy:index":"echo \"module.exports = require('./lib/wraptile');\" > legacy/index.js"},"repository":{"type":"git","url":"git://github.com/coderaiser/wraptile.git"},"keywords":["wraptile","partial","functional"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/wraptile/issues"},"homepage":"https://github.com/coderaiser/wraptile","devDependencies":{"babel-cli":"^6.1.1","babel-preset-es2015":"^6.0.15","eslint":"^3.10.2","nodemon":"^1.11.0","nyc":"^10.0.0","redrun":"^5.0.1","rimraf":"^2.4.3","sinon":"^2.1.0","tape":"^4.2.0"},"gitHead":"a0c08ea2e016715ccc605ff96cee3ca388d381e8","_id":"wraptile@1.0.0","_shasum":"ee67b9c36835993f8c1d0b38f19ef2fb9ef16cff","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.8.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"ee67b9c36835993f8c1d0b38f19ef2fb9ef16cff","size":2848,"noattachment":false,"key":"/wraptile/-/wraptile-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wraptile/download/wraptile-1.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/wraptile-1.0.0.tgz_1491493097877_0.9769280371256173"},"directories":{},"publish_time":1491493098607,"_hasShrinkwrap":false,"_cnpm_publish_time":1491493098607,"_cnpmcore_publish_time":"2021-12-16T17:28:49.818Z"}},"readme":"# Wraptile [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\nTranslate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with a any count of arguments.\n\n## Install\n\n```\nnpm i wraptile --save\n```\n\n## How to use?\n\n```js\nconst wraptile = require('wraptile');\nconst log = wraptile((data) => console.log(data));\n\nwindow.addEventListener('click', logwrap('click'));\n// every time someone click log\n'click'\n```\n\n## Related\n\n- [zames](https://github.com/coderaiser/zames \"zames\") - converts callback-based functions to Promises and apply currying to arguments.\n\n- [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.\n\n- [fullstore](https://github.com/coderaiser/fullstore \"fullstore\") - functional variables.\n\n## License\n\nMIT\n\n[NPMIMGURL]:                https://img.shields.io/npm/v/wraptile.svg?style=flat\n[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/wraptile/master.svg?style=flat\n[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/wraptile.svg?style=flat\n[LicenseIMGURL]:            https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[NPMURL]:                   https://npmjs.org/package/wraptile \"npm\"\n[BuildStatusURL]:           https://travis-ci.org/coderaiser/wraptile  \"Build Status\"\n[DependencyStatusURL]:      https://david-dm.org/coderaiser/wraptile \"Dependency Status\"\n[LicenseURL]:               https://tldrlegal.com/license/mit-license \"MIT License\"\n\n[CoverageURL]:              https://coveralls.io/github/coderaiser/wraptile?branch=master\n[CoverageIMGURL]:           https://coveralls.io/repos/coderaiser/wraptile/badge.svg?branch=master&service=github\n\n","_attachments":{},"homepage":"https://github.com/coderaiser/wraptile","bugs":{"url":"https://github.com/coderaiser/wraptile/issues"},"license":"MIT"}