1.0.8 • Published 7 years ago

search-to-obj v1.0.8

Weekly downloads
10
License
MIT
Repository
github
Last release
7 years ago

search-to-obj

search-to-obj is a small module to quickly parse location.search, or the query string in an url to an object. Build Status Coverage Status Code Climate Deps

Installation

npm install search-to-obj

Usage

import searchToObj from 'search-to-obj';

or in node land

var searchToObj = require('search-to-obj');

and then just

const dls = document.location.search;
const searchParams = searchToObj(dls);
console.dir(searchParams);

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago