flex-url v1.6.0
FlexUrl
FlexUrl is a utility with almost zero dependencies that aims simplicity at the time of parsing and modifying a URL on a browser or node based app.
Note: For now this package focuses on the query params side.
Documentation
Check the official documentation here.
Benchmarks
And here some benchmarks to show up why this library is not only the easiest to use alternative (even for native ones):
createFlexUrl x 3,040,944 ops/sec ±1.47% (89 runs sampled)
url-parse x 562,052 ops/sec ±3.57% (87 runs sampled)
URL (browser native) x 407,001 ops/sec ±2.09% (86 runs sampled)
Also note that this is the result of just doing parsing on the query search part of the URL.
License
This package is open-sourced software licensed under the MIT license.
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago