@spree/storefront-api-v2-sdk
Version:
Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on
8 lines (7 loc) • 298 B
TypeScript
/**
* Serializes object into a query string understood by Spree.
* Spree uses the "brackets" format for serializing arrays which
* is a different format than used by URLSearchParams.
*/
declare const objectToQuerystring: (source: Record<string, any>) => string;
export { objectToQuerystring };