Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

debounce-fn

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debounce-fn - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

4

index.js

@@ -7,2 +7,6 @@ module.exports = debounce;

if (arguments.length == 1) {
wait = 250;
}
return function () {

@@ -9,0 +13,0 @@ if (timer != undefined) {

2

package.json
{
"name": "debounce-fn",
"version": "0.0.0",
"version": "0.1.0",
"description": "Return a debounced version of the given function",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,3 +15,3 @@ ## debounce-fn

var debounce = require('debounce-fn')
var yo = debounce(printYo, 250) // debounce for 250ms
var yo = debounce(printYo, 300) // debounce for 300ms. default is 250ms.

@@ -18,0 +18,0 @@ yo()

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc