/object-to-query-params

A simple library for converting an object to query params

Primary LanguageTypeScriptMIT LicenseMIT

object-to-query-params

A simple library for converting an object to query params.

Usage

import objectToQueryParams from 'object-to-query-params';

const object = {
  name: 'testname',
  password: 'qwerty',
};

objectToQueryParams(object); // name=testname&password=qwerty

License

MIT