whydoidoit / parameters

Retrieves the query string parameters to a site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Creates an object with each of the query string parameters as keys, with their value as the value of the property.

Installation

npm install --save search-to-parameters

Usage

import parameters from 'search-to-parameters'

...

if(parameters.debugging==='yes') {
    ...
}
 

About

Retrieves the query string parameters to a site


Languages

Language:JavaScript 100.0%