Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@meanie/angular-debounce
Advanced tools
A simple Angular service for debouncing function calls
You can install this package using yarn
or npm
:
#yarn
yarn add @meanie/angular-debounce
#npm
npm install @meanie/angular-debounce --save
Include the script node_modules/@meanie/angular-debounce/release/angular-debounce.js
in your build process, or add it via a <script>
tag to your index.html
:
<script src="node_modules/@meanie/angular-debounce/release/angular-debounce.js"></script>
Add Debounce.Service
as a dependency for your app.
Include the $debounce
service in your controller or component:
angular.module('App.MyModule').controller('MyController', function($debounce) => {
function someFunction() {
console.log('I am debounced');
}
//Debounce
$debounce(someFunction, 1000);
});
The $debounce
service returns a promise which will be resolved with the return value of the debounced function once the underlying timeout resolves.
Please report any bugs, issues, suggestions and feature requests in the @meanie/angular-debounce issue tracker.
Pull requests are welcome! If you would like to contribute to Meanie, please check out the Meanie contributing guidelines.
(MIT License)
Copyright 2015-2017, Adam Reis
FAQs
A simple service for debouncing function calls
The npm package @meanie/angular-debounce receives a total of 3 weekly downloads. As such, @meanie/angular-debounce popularity was classified as not popular.
We found that @meanie/angular-debounce demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.