0.0.3 • Published 5 years ago

set-query-params v0.0.3

Weekly downloads
15
License
-
Repository
github
Last release
5 years ago

Set query params Build Status

Set/ override url query parameters

Table of Contents

Install

npm i set-query-params

# Or with Yarn
yarn add set-query-params

Usage

import setQueryParams from `set-query-params`;

const url = setQueryParams('http://example.org/?foo=test&hello=user', { hello: 'world' });

console.log(url); // http://example.org/?foo=test&bar=test&hello=world

Contributing

See the contribute file!

PRs accepted.

License

MIT © Michael Leaney

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago