awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
sindresorhus avatar

sindresorhus/p-if

0
View on GitHub↗
64 stars·7 forks·TypeScript·MIT·12 views

P If

Conditional promise chains

Features

  • Chain Management - Conditional promise chains.
  • Promise Utilities - Enables conditional promise chaining.

Star history

Star history chart for sindresorhus/p-ifStar history chart for sindresorhus/p-if

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with P If

These projects share indexed features with P If. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • sindresorhus/p-catch-ifsindresorhus avatar

    sindresorhus/p-catch-if

    40View on GitHub↗

    Conditional promise catch handler

    JavaScript
    View on GitHub↗40
  • sindresorhus/p-logsindresorhus avatar

    sindresorhus/p-log

    30View on GitHub↗

    Log the value/error of a promise

    JavaScript
    View on GitHub↗30
  • sindresorhus/p-breaksindresorhus avatar

    sindresorhus/p-break

    24View on GitHub↗

    Break out of a promise chain

    JavaScript
    View on GitHub↗24
  • sindresorhus/p-memoizesindresorhus avatar

    sindresorhus/p-memoize

    442View on GitHub↗

    Memoize promise-returning & async functions

    TypeScript
    View on GitHub↗442
Compare all 30 related projects→

Frequently asked questions

What does sindresorhus/p-if do?

Conditional promise chains

What are the main features of sindresorhus/p-if?

The main features of sindresorhus/p-if are: Chain Management, Promise Utilities.

Which projects share features with sindresorhus/p-if?

Projects with overlapping indexed features include: sindresorhus/p-log — Log the value/error of a promise. sindresorhus/p-retry — Retry a promise-returning or async function. sindresorhus/p-break — Break out of a promise chain. sindresorhus/p-catch-if — Conditional promise catch handler. sindresorhus/p-memoize — Memoize promise-returning & async functions. sindresorhus/p-tap — Tap into a promise chain without affecting its value or state.