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

patronum

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

patronum - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

throttle/index.d.ts

5

package.json
{
"name": "patronum",
"version": "0.3.0",
"version": "0.4.0",
"description": "☄️ Effector utility library delivering modularity and convenience",

@@ -53,4 +53,5 @@ "scripts": {

"dependencies": {
"effector-debounce": "^1.1.0"
"effector-debounce": "^1.1.0",
"effector-throttle": "^1.1.0"
}
}

12

README.md

@@ -42,7 +42,7 @@ # effecto patronum ✨

## ⏺ Debounce
## [🧁 Debounce](/debounce 'Documentation')
```ts
import { createEvent } from 'effector';
import { createDebounce } from 'patronum/debounce';
import { debounce } from 'patronum/debounce';

@@ -52,3 +52,3 @@ // You should call this event

const target = createDebounce(trigger, 200);
const target = debounce(trigger, 200);

@@ -65,7 +65,7 @@ target.watch((payload) => console.info('debounced', payload));

## ⏺ Throttle
## [🧁 Throttle](/throttle 'Documentation')
```ts
import { createEvent } from 'effector';
import { createThrottle } from 'patronum/throttle';
import { throttle } from 'patronum/throttle';

@@ -75,3 +75,3 @@ // You should call this event

const target = createThrottle(trigger, 200);
const target = throttle(trigger, 200);

@@ -78,0 +78,0 @@ target.watch((payload) => console.info('throttled', payload));

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