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·8 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

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

Open-source alternatives to P If

Similar open-source projects, ranked by how many features they share with P If.
  • 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
See all 30 alternatives to P If→

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.

What are some open-source alternatives to sindresorhus/p-if?

Open-source alternatives to sindresorhus/p-if 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.