Skip to content
JS
Package

url-to-options

Convert a WHATWG URL to an http(s).request options object.

v2.0.0, 23 Apr 2019MIT-Types: NoneURLs and query strings
$ npm install url-to-options

Key numbers

As of 25 Sept 2026
Weekly downloads
2m
+1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v2.0.0
GitHub stars
8
4 forks
Open issues / PRs
1 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.5m (28 Jul 2026)Low 969.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,952,352 downloads last week, 8,051,572 in the last month. The 12-month change of +1% 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
2.0.0, 23 Apr 20197 years ago
First published
6 Jun 2017
Last push to GitHub
25 Feb 20212,037 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
58

Major versions

  1. v2 first release 2.0.0, 23 Apr 2019
  2. v1 first release 1.0.0, 6 Jun 2017

Recent releases

VersionPublished
2.0.023 Apr 2019
1.0.16 Jun 2017
1.0.06 Jun 2017
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
>=8
Runtimes
-
Unpacked size (npm)
3.1 kB
Dependencies (0)
None
npm install url-to-options
  • jsDelivrhttps://cdn.jsdelivr.net/npm/url-to-options@2.0.0/
  • unpkghttps://unpkg.com/url-to-options@2.0.0/
  • esm.shhttps://esm.sh/url-to-options@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@oozcitak/url15.7m-7 months agoCommonJS-
url-regex307k-7 years ago--
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.