API Reference
p-reflect
getPromise(), getPromiseThatRejects(), getPromise() ]; console.log(results); / [ { status: 'fulfilled', value: 'π¦' isFulfilled: true, isRejected: false },β¦
Official Documentation βCompatibilityThis documentation covers version
v3.0.0. Check the official docs for the latest API surface.Installation
npm
npm install p-reflectpnpm
pnpm add p-reflectMethods
No methods match this filter.
Overview
getPromise(), getPromiseThatRejects(), getPromise() ]; console.log(results); / [ { status: βfulfilledβ, value: βπ¦β isFulfilled: true, isRejected: false }, { status: βrejectedβ, reason: [Error: πΉ] isFulfilled: false, isRejected: true }, {
API reference status
This page lists only entry points that appear verbatim in the official README examples: getPromise, getPromiseThatRejects, all. Parameter and return types are not given by the official README, so signatures are marked unverified.
Verification notes
- Official source: https://github.com/sindresorhus/p-reflect
- Evidence: https://cdn.jsdelivr.net/gh/sindresorhus/p-reflect@latest/readme.md
- Checked on 2026-11-04 by
scripts/phase11/build-api-profiles.mjs
FAQ
- What does p-reflect do?
- getPromise(), getPromiseThatRejects(), getPromise() ]; console.log(results); / [ { status: 'fulfilled', value: 'π¦' isFulfilled: true, isRejected: false }, { status: 'rejected', reason: [Error: πΉ] is
- How do I install p-reflect?
- Run `npm install p-reflect`.
- Where can I verify the API details?
- Official repository/documentation: https://github.com/sindresorhus/p-reflect. Checked on 2026-11-04; signatures and return values not stated in the official README are marked unverified.
Report a problem with this API docOpens a pre-filled issue on GitHub.