url-search-params
`url-search-params` provides ability to create search params (query string) from HashMap and vice versa.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Keywords
Repository
`url-search-params` provides ability to create search params (query string) from HashMap and vice versa.
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 7
Topics
Metadata Files
README.md
Welcome to url-search-params!
url-search-params provides the ability to create search params from HashMap and vice versa.
In URL (web address) search params correspond to query string.
Keep in mind it works with the query string part of the URL, it is not intended to work on the whole URL by design.
As per specification, the question mark ? URL delimiter is not part of a query string.
Also hash mark # url delimiter and fragment part of URL is not the parts of a query string.
In practice, it means, the fragment and preceding hash mark won't be sent in a request to a server.
Features
- Convert given string into a HashMap containing query string parameters as key-value pairs
- Convert given HashMap into a query string
Configuration
No additional configuration required.
Demo
Tests are available in the repository.
Documentation
Public functions definitions and usage can be found at git repository.
Build
If you want to build url-search-params on your own, make sure you have Rust installed.
$ cargo build
Test
If you want to test url-search-params.
$ cargo test
Community
Contact me on Discord where you can ask questions and share ideas. Follow the Rust code of conduct.
Donations
If you appreciate my work and want to support it, feel free to do it via PayPal.
Owner
- Name: Bohdan Tsap
- Login: bohdaq
- Kind: user
- Twitter: R3D04195791
- Repositories: 74
- Profile: https://github.com/bohdaq
Citation (CITATION.cff)
cff-version: 1.0.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Tsap
given-names: Bohdan
orcid: https://orcid.org/0000-0002-5221-5607
email: bohdan.tsap@tutanota.com
title: "url-search-params"
version: 11.0.0
doi: 10.5281/zenodo.7924390
date-released: 2023-05-11
url: "https://github.com/bohdaq/url-search-params"
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Bohdan Tsap | b****p@t****m | 17 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cargo 29,681 total
- Total dependent packages: 3
- Total dependent repositories: 1
- Total versions: 7
- Total maintainers: 1
crates.io: url-search-params
url-search-params provides the ability to create search params from HashMap and vice versa.
- Homepage: https://github.com/bohdaq/url-search-params
- Documentation: https://docs.rs/url-search-params/
- License: MIT OR Apache-2.0 OR ISC OR LGPL-3.0-or-later OR CC-BY-4.0
-
Latest release: 12.0.0
published over 2 years ago