{
 "kind": "tool",
 "slug": "p-queue",
 "path": "tools/p-queue/",
 "name": "p-queue",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Jobs, queues and workflows",
   "tools/jobs-workflows/"
  ]
 ],
 "lead": "Promise queue with concurrency control for managing async task execution.",
 "chips": [
  {
   "label": "Jobs, queues and workflows",
   "path": "tools/jobs-workflows/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install p-queue"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/sindresorhus/p-queue"
  },
  {
   "label": "Website",
   "href": "https://github.com/sindresorhus/p-queue#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/sindresorhus/p-queue"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 16, 2026",
   "note": "Latest GitHub release Oct 12, 2026. ",
   "src": "https://github.com/sindresorhus/p-queue"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "13 projects",
   "status": "info",
   "sub": "#10 of 48 in its category",
   "note": "Dependency in 13 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What p-queue does",
   "parts": [
    {
     "t": "prose",
     "text": "Promise queue with concurrency control for managing async task execution."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "p-queue popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "65",
       "of": "/ 100",
       "l": "Gid Score, #696 overall"
      },
      {
       "n": "58.7M",
       "l": "downloads a week, npm"
      },
      {
       "n": "4,304",
       "l": "GitHub stars"
      },
      {
       "n": "13",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How p-queue is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "p-queue is a dependency in 13 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 42 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is BullMQ (35 projects).",
      "Projects that use it most often also use Zod (76.2%), TypeScript (88.1%), dotenv (45.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "8 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "5 projects, 0.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 76.2% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 88.1% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 45.2% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 42.9% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 28.6% of its projects",
       "v": "AI SDK",
       "path": "tools/ai/"
      },
      {
       "l": "In 61.9% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 26.2% of its projects",
       "v": "OpenAI",
       "path": "tools/openai-npm/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about p-queue",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/sindresorhus",
        "Open Collective: https://opencollective.com/sindresorhus",
        "Buy Me a Coffee: https://buymeacoffee.com/sindresorhus",
        "Own page: https://sindresorhus.com/donate",
        "186 GitHub sponsors"
       ]
      },
      {
       "title": "More in Jobs, queues and workflows",
       "path": "tools/jobs-workflows/",
       "items": [
        {
         "text": "APScheduler",
         "path": "tools/apscheduler/"
        },
        {
         "text": "Croner",
         "path": "tools/croner/"
        },
        {
         "text": "node-cron",
         "path": "tools/node-cron/"
        },
        {
         "text": "Celery",
         "path": "tools/celery/"
        },
        {
         "text": "croniter",
         "path": "tools/croniter/"
        },
        {
         "text": "Inngest",
         "path": "tools/inngest/"
        },
        {
         "text": "schedule",
         "path": "tools/schedule/"
        },
        {
         "text": "Socket.IO Redis Adapter",
         "path": "tools/socket-io-redis-adapter/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "p-queue",
       "me": true,
       "facts": [
        "MIT",
        "Gid 65",
        "58.7M/wk"
       ]
      },
      {
       "name": "BullMQ",
       "why": "Fast, reliable Redis-backed queue for jobs and messages in Node.js.",
       "path": "tools/bullmq/",
       "facts": [
        "MIT",
        "Gid 67",
        "13.9M/wk"
       ]
      }
     ],
     "more": "Compare p-queue with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install p-queue"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for p-queue yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm p-queue"
  ],
  [
   "Category",
   "Jobs, queues and workflows"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "64.7"
  ],
  [
   "Rank in category",
   "#10 of 48"
  ],
  [
   "GitHub",
   "sindresorhus/p-queue"
  ],
  [
   "Last change",
   "Oct 16, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/sindresorhus.png"
}