@krisell/query-string

1.0.0 • Public • Published

QueryString

This packages makes it easy to read URL query string data, and to specify default values, in a very simple way.

Installation

npm install @krisell/query-string

How to use

import QueryString from '@krisell/query-string'

// The following will return query string value of name, or Martin if the value is not set or is empty.
QueryString.get('name', 'Martin')

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    4

Package Sidebar

Install

npm i @krisell/query-string

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

3.75 kB

Total Files

7

Last publish

Collaborators

  • krisell