UNPKG
@pfantato/printful-ts
Version:
latest (0.0.1)
0.0.1
Typescript SDK to integrate with Printful
github.com/pfantato/printful-ts
pfantato/printful-ts
@pfantato/printful-ts
/
lib
/
schemas
/
utils
/
array-to-query-string.util.js
6 lines
(5 loc)
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
arrayToQueryString
=
void
0
;
const
arrayToQueryString
= (
values
) => values.
length
===
1
?
`
${values[
0
]}
`
: values.
join
(
','
);
exports
.
arrayToQueryString
= arrayToQueryString;