/paramalama

Dead simple, unidirectional query string parsing.

Primary LanguageJavaScriptMIT LicenseMIT

ProperJS // paramalama

Dead simple, unidirectional query string parsing.

Install

# npm
npm i paramalama --save-dev

Usage

Parse a query string into an Object. Supports query string Arrays ?foo=bar&baz=bot&arr[]=hey&arr[]=how

import paramalama from "paramalama";

// Query string becomes Object
console.log( paramalama( window.location.href ) );