0.1.0 • Published 4 years ago
@wp-headless/qs-encode v0.1.0
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
0.1.0
4 years ago