1.1.1 • Published 6 years ago

easy-debounce v1.1.1

Weekly downloads
22
License
-
Repository
github
Last release
6 years ago

easyDebounce

This is a re-created debounce version with less codes in ES6 built with Rollup.

Installation

Node JS (>=8.4.0)

    npm install easy-debounce
    or
    yarn add easy-debounce

browser

<script src="https://unpkg.com/easy-debounce@1.0.2/dist/easyDebounce.umd.js"></script>

Usage

ES Modules

import  debounce from 'easy-debounce'

common js

const debounce = require('easy-debounce')

browser js

var debounce = window.easyDebounce;

API

debounce(fn, wait, immediate || false )

License

MIT

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago