Socket
Socket
Sign inDemoInstall

quicktask

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"name": "quicktask",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tiny microtask queue scheduler for all environments",

@@ -30,2 +30,2 @@ "main": "index.js",

}
}
}

@@ -17,4 +17,6 @@ # Quicktask

In JavaScript / Node.js:
```js
const quicktask = require('quicktask')
const quicktask = require('quicktask').default
const schedule = quicktask()

@@ -27,2 +29,13 @@

In TypeScript:
```typescript
import quicktask from 'quicktask';
const schedule = quicktask();
schedule(() => {
console.log('resolved at the start of the next frame');
});
```
## API

@@ -29,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc