Socket
Socket
Sign inDemoInstall

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.0.1-security

28

package.json
{
"name": "debounce-fn",
"version": "0.0.0",
"description": "Return a debounced version of the given function",
"version": "0.0.1-security",
"description": "",
"main": "index.js",
"scripts": {
"test": "node test"
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"debounce",
"debounced"
],
"repository": {
"url": "git@github.com:azer/debounce-fn.git",
"type": "git"
"type": "git",
"url": "git+https://github.com/npm/security-holder.git"
},
"author": "azer",
"license": "BSD",
"devDependencies": {
"prova": "^1.14.0"
}
}
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/npm/security-holder/issues"
},
"homepage": "https://github.com/npm/security-holder#readme"
}

@@ -1,29 +0,9 @@

## debounce-fn
# Security holding package
Return a debounced version of the given function
This package name is not currently in use, but was formerly occupied
by a popular package. To avoid malicious use, npm is hanging on to
the package name, but loosely, and we'll probably give it to you if
you want it.
## Install
```bash
$ npm install debounce-fn
```
## Usage
```js
var debounce = require('debounce-fn')
var yo = debounce(printYo, 250) // debounce for 250ms
yo()
yo()
yo()
setTimeout(yo, 300)
// first two calls will be debounced, and will give two outputs:
// "yo"
// "yo"
function printYo () {
console.log('yo')
}
```
You may adopt this package by contacting support@npmjs.com and
requesting the name.
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