Socket
Socket
Sign inDemoInstall

wraptile

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wraptile

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


Version published
Weekly downloads
42K
increased by29.77%
Maintainers
1
Install size
6.18 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 07 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc