uri-query
v0.1.9
Published
Parse and manipulate URI queries according to pre-defined or custom strategies
Downloads
10
Maintainers
Readme
URI Query
Parse and manipulate URI queries according to pre-defined or custom strategies
The URI specification RFC3986 defines very few rules on how URI queries are to be parsed. It merely states that URI queries are "non-hierarchical data" (in contrast to URI paths) and that "key=value" pairs are "often used". This module supports using pre-defined or defining your own URI query parsing strategies that support your framework of choice, personal preferences, legacy requirements, etc.
Installation
npm add uri-query
This module makes use of ES2015 features, but does not polyfill them. You will need to implement your own if the environment you are deploying to does not support:
Strategies
default
The default strategy supports: