Skip to content

Takeafile/urlsearchparams-to-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

URLSearchParams to CLI

Convert URL query params to a command line arguments array

This is useful for example to process URL query params using minimist or unify-config, or any other command line arguments parser.

Install

npm install urlsearchparams-to-cli

API

  • searchParams: URLSearchParams instance. If it's a string, it gets parsed first. By default it uses the value located at window.location.search.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published