Package
protocols
Get the protocols of an input url.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 5.3m
- +12% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v2.0.2
- GitHub stars
- 6
- 3 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
5,282,875 downloads last week, 25,109,423 in the last month. The 12-month change of +12% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 017 in total
- Latest version
- 2.0.2, 14 Feb 20251 year ago
- First published
- 5 Aug 2015
- Last push to GitHub
- 14 Feb 2025588 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 348
Major versions
- v2 first release 2.0.0, 27 Jun 2022
- v1 first release 1.0.0, 5 Aug 2015
Recent releases
| Version | Published |
|---|---|
| 2.0.2 | 14 Feb 2025 |
| 2.0.1 | 27 Jun 2022 |
| 2.0.0 | 27 Jun 2022 |
| 1.4.8 | 9 Aug 2020 |
| 1.4.7 | 3 Jan 2019 |
| 1.4.6 | 8 Sept 2017 |
| 1.4.5 | 23 Mar 2017 |
| 1.4.4 | 20 Mar 2017 |
| 1.4.3 | 11 Oct 2016 |
| 1.4.2 | 11 Oct 2016 |
| 1.4.1 | 25 May 2016 |
| 1.4.0 | 18 Jan 2016 |
| 1.3.1 | 14 Jan 2016 |
| 1.3.0 | 3 Dec 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 7.1 kB
- Dependencies (0)
- None
npm install protocols- jsDelivr
https://cdn.jsdelivr.net/npm/protocols@2.0.2/ - unpkg
https://unpkg.com/protocols@2.0.2/ - esm.sh
https://esm.sh/protocols@2.0.2
Indexability: Indexed.