This is a re-created debounce version with less codes in ES6 built with Rollup.
npm install easy-debounce
or
yarn add easy-debounce
<script src="https://unpkg.com/easy-debounce@1.0.2/dist/easyDebounce.umd.js"></script>
import debounce from 'easy-debounce'
const debounce = require('easy-debounce')
var debounce = window.easyDebounce;
MIT