Skip to content

croman/lightweight-url-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightweight url query library

How to use

Include it in the page.

<script src="query.min.js"></script>

Use it:

  • UrlQuery.get(url, queryFieldName) -> return queryFieldName value
  • UrlQuery.update(url, queryFieldName, queryFieldValue) -> return url with added / updated field
  • UrlQuery.remove(url, queryFieldName) -> return url without the queryFieldName

License

This project is licensed under the MIT license.

About

Lightweight url query string functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •