JSPM

wraptile

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 51506
  • Score
    100M100P100Q149721F
  • License MIT

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

Package Exports

  • wraptile

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wraptile) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Wraptile License NPM version Dependency Status Build Status Coverage Status

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?

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

window.addEventListener('click', logwrap('click'));
// every time someone click log
'click'
  • zames - converts callback-based functions to Promises and apply currying to arguments.

  • 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 - functional variables.

License

MIT