1.0.4 • Published 3 years ago

@adso-ts/build-query-string v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Build query string

Turns an objest into a query param string

Import

import { buildQueryString } from '@adso-ts/build-query-string';

How to use

const obj = {
    from: 1,
    to: 2,
    user: 'test-user',
}

const queryString = buildQueryString(obj);  // result ?from=1&to=2&user=test-user
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago