
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
microtaskjs
Advanced tools
[](https://github.com/Arjun059/)
Microtask js add your promise in microtask-queu. this Lib Execute your promise concurrently manner. more better way to use promise with then method. Fast Code Better Performace. Benefit of concurrently programing
MicrotaskJs requires Node.js v4+ to run.
Install the dependencies and devDependencies and start the server.
npm i microtaskjs
or
yarn add microtaskjs
Dillinger is currently extended with the following plugins. Instructions on how to use them in your own application are linked below.
const Microtask = require("microtaskjs");
function Asynctask() {
return new Promise(async (next) => {
let tasks = 3 // total tasks
let { data, event, error } = new MicroTask(tasks);
// data a promies , errror if error occur, event pass data to the event
DB.findUser().then((data) => { // use then for promise
event.emit("done", {user: data})
})
DB.findProducts().then((data) => event.emit("done", {products: data}))
DB.findPosts().then((data) => event.emit("done", {posts: data}))
data.then((data) => {
next(data)
})
})
}
Want to contribute? Great! github Account Feel Free To Connect
MIT
Free Software
FAQs
[](https://github.com/Arjun059/)
We found that microtaskjs 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.