1.0.0 • Published 4 years ago

@krisell/query-string v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

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