github →

Overview

sindresorhus/p-timeout

Last analyzed 6/4/2026, 12:20:54 AM · default branch main

30236 forksJavaScript0 open issues

Summary

A JavaScript library that wraps promises to reject with a timeout error if they don't settle within a specified duration. It supports clearing the timeout and will invoke cancel methods on underlying cancelable promises to abort pending work.

Features
0
Owners
16
Issues
0
Requests
0
Recent requests

No change requests yet. Open one from the Issues page and gitgot will draft a PR to fix it.

Architecture
  • Promise Timeout Libraryshared

    Decorates promises to reject with a timeout error if they do not settle within a specified duration. Supports clearing the timeout and invoking cancel methods on cancelable promises.

Top owners
  • Sindre Sorhus49 commits
  • Federico Brigante2 commits
  • Ronen Amiel2 commits
  • Gyubong2 commits
  • Kiko Beats2 commits
View all 16