Package
universalify
Make a callback- or promise-based function support both promises and callbacks.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 124.2m
- +56% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 2 years ago
- v2.0.1
- GitHub stars
- 111
- 14 forks
- Open issues / PRs
- 0 / 1
- Contributors
- 5
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
124,164,601 downloads last week, 593,827,189 in the last month. The 12-month change of +56% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 08 in total
- Latest version
- 2.0.1, 1 Nov 20232 years ago
- First published
- 8 Apr 2017
- Last push to GitHub
- 1 Nov 20231,058 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 1,473
Major versions
- v2 first release 2.0.0, 25 Jul 2020
- v1 first release 1.0.0, 6 Mar 2020
- v0 first release 0.0.1, 8 Apr 2017
Recent releases
| Version | Published |
|---|---|
| 2.0.1 | 1 Nov 2023 |
| 2.0.0 | 25 Jul 2020 |
| 1.0.0 | 6 Mar 2020 |
| 0.2.0 | 19 Feb 2020 |
| 0.1.2 | 20 Jun 2018 |
| 0.1.1 | 20 Jul 2017 |
| 0.1.0 | 22 Apr 2017 |
| 0.0.1 | 8 Apr 2017 |
- Module format
- -Not determined from package.json
- TypeScript types
- None
- Node.js engine range
- >= 10.0.0
- Runtimes
- -
- Unpacked size (npm)
- 4.6 kB
- Dependencies (0)
- None
npm install universalify- jsDelivr
https://cdn.jsdelivr.net/npm/universalify@2.0.1/ - unpkg
https://unpkg.com/universalify@2.0.1/ - esm.sh
https://esm.sh/universalify@2.0.1
Indexability: Indexed.