New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

util-lib-debounce

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

util-lib-debounce

Debounce method of encapsulation integration

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

util-lib-debounce

Debounce method of encapsulation integration

Useage


    const utils = require('util-lib-debounce');

    function sdjk (e) {
        console.log('触发');
        console.log(11);
    }

    let success =  utils.debounce(sdjk, 2000);
    
    // 绑定滚动事件
    window.addEventListener('scroll', success)


Keywords

debounce

FAQs

Package last updated on 19 Feb 2021

Did you know?

Socket

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