Skip to content

Simple function that convert js object and array to a queryString

License

Notifications You must be signed in to change notification settings

ydeshayes/to-querystring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4899958 · Mar 15, 2023

History

18 Commits
Feb 8, 2023
Jan 24, 2022
Jan 24, 2022
Sep 9, 2017
Sep 16, 2017
Jul 14, 2017
Sep 16, 2017
Mar 15, 2023
Sep 16, 2017
Feb 8, 2023
Feb 8, 2023
Jan 24, 2022
Jan 24, 2022

Repository files navigation

Build Status

to-querystring function

Simple function that convert js object and array to a queryString.

Installation

  npm install to-querystring

Getting started

import toQueryString from 'to-querystring';

const queryString = toQueryString({
  test: 'test1'
});
// queryString = 'test=test1'

Development

  • npm run build - produces production version
  • npm test - run the tests