object-to-query-params
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i object-to-query-params

    Weekly Downloads

    16

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    5.91 kB

    Total Files

    12

    Last publish

    Collaborators

    • deadkff01