{"id":29189358,"url":"https://github.com/coderaiser/wraptile","last_synced_at":"2025-07-01T23:07:18.919Z","repository":{"id":57399779,"uuid":"87446225","full_name":"coderaiser/wraptile","owner":"coderaiser","description":" Translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with a any count of arguments","archived":false,"fork":false,"pushed_at":"2021-11-07T10:38:08.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T19:43:59.687Z","etag":null,"topics":["fp","functional","javascript","nodejs","programming","wrap"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderaiser.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-06T15:37:30.000Z","updated_at":"2021-11-07T10:38:11.000Z","dependencies_parsed_at":"2022-09-26T17:01:17.642Z","dependency_job_id":null,"html_url":"https://github.com/coderaiser/wraptile","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/coderaiser/wraptile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fwraptile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fwraptile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fwraptile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fwraptile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderaiser","download_url":"https://codeload.github.com/coderaiser/wraptile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fwraptile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260318706,"owners_count":22991120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fp","functional","javascript","nodejs","programming","wrap"],"created_at":"2025-07-01T23:07:18.446Z","updated_at":"2025-07-01T23:07:18.887Z","avatar_url":"https://github.com/coderaiser.png","language":"JavaScript","readme":"# Wraptile [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![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) =\u003e 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[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[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/github/coderaiser/wraptile/badge.svg?branch=master\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderaiser%2Fwraptile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderaiser%2Fwraptile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderaiser%2Fwraptile/lists"}