Package
requires-port
Check if a protocol requires a certain port number to be added to an URL.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 40m
- +37% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 10 years ago
- v1.0.0
- GitHub stars
- 11
- 5 forks
- Open issues / PRs
- 1 / 1
- Contributors
- 4
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
40,035,509 downloads last week, 170,523,117 in the last month. The 12-month change of +37% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 03 in total
- Latest version
- 1.0.0, 30 Oct 201510 years ago
- First published
- 7 Nov 2014
- Last push to GitHub
- 14 Jul 20231,168 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 643
Major versions
- v1 first release 1.0.0, 30 Oct 2015
- v0 first release 0.0.0, 7 Nov 2014
Recent releases
| Version | Published |
|---|---|
| 1.0.0 | 30 Oct 2015 |
| 0.0.1 | 26 May 2015 |
| 0.0.0 | 7 Nov 2014 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install requires-port- jsDelivr
https://cdn.jsdelivr.net/npm/requires-port@1.0.0/ - unpkg
https://unpkg.com/requires-port@1.0.0/ - esm.sh
https://esm.sh/requires-port@1.0.0
Indexability: Indexed.