@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')

Readme

Keywords

none

Package Sidebar

Install

npm i @krisell/query-string

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.75 kB

Total Files

7

Last publish

Collaborators

  • krisell