@wp-headless/qs-encode

0.1.0 • Public • Published

drone Coverage Status npm Bundle size

WP-Headless query string encoder

Simple tiny package for encoding a query string

Install

yarn add @wp-headless/qs-encode

Usage

import qsEncode from 'wp-headless/qs-encode';

qsEncode({ foo:'hello', bar:[1,2,3], baz:true });
//=> 'foo=hello&bar[]=1&bar[]=2&bar[]=3&baz=true'

MIT

Package Sidebar

Install

npm i @wp-headless/qs-encode

Weekly Downloads

4

Version

0.1.0

License

MIT

Unpacked Size

3.74 kB

Total Files

7

Last publish

Collaborators

  • andrewmclagan