JSPM

@wp-headless/qs-encode

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q13218F
  • License MIT

tiny query string encoder

Package Exports

  • @wp-headless/qs-encode

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@wp-headless/qs-encode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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