qsane

1.1.1 • Public • Published

qsane

A Javascript library to get all the things you may require from your URL bar.

Currently this package has these functions available & ready to use anywhere using npm: getQuery, getLocation, getPathname, getQuery, getSearch, getOnly All the names are self explanatory & returns exactly what is mentioned in the function name.

The getOnly function requires a param. If you need the value of a specific query from your url, then you can pass that exact query name & it will return the value. Suppose your URL is: 'https://www.something.com/newPage?name=qsane?valid=true If you need the value of only 'name', then you can call getOnly('name') and you'll get 'qsane' as the output.

Any contributions are welcome.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    0
  • 1.1.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i qsane

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

1.63 kB

Total Files

3

Last publish

Collaborators

  • sangram-mkj