Package
native-or-another
Guaranteed way for getting a Promise. Always native Promise if available, otherwise looks for common promise libraries and loads which is installed. Allows registering custom Promise implementation in node < 0.12 versions
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 8.2k
- +3% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 9 years ago
- v5.0.1
- GitHub stars
- 3
- 0 forks
- Open issues / PRs
- 0 / 12
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
8,209 downloads last week, 29,492 in the last month. The 12-month change of +3% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.0.1, 17 Mar 20179 years ago
- First published
- -
- Last push to GitHub
- 12 Jan 20231,351 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 12
- Commits, last 52 weeks
- 0
- Dependents on npm
- 8
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (4)
semverextend-shallownative-promisetry-catch-callback
npm install native-or-another- jsDelivr
https://cdn.jsdelivr.net/npm/native-or-another@5.0.1/ - unpkg
https://unpkg.com/native-or-another@5.0.1/ - esm.sh
https://esm.sh/native-or-another@5.0.1
Indexability: Not indexed (discovery only): downloads_week 8209 < 10000.