You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
533 B
13 lines
533 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.RFC3986 = exports.RFC1738 = exports.formatters = exports.default_formatter = exports.default_format = void 0;
|
|
exports.default_format = 'RFC3986';
|
|
const default_formatter = (v) => String(v);
|
|
exports.default_formatter = default_formatter;
|
|
exports.formatters = {
|
|
RFC1738: (v) => String(v).replace(/%20/g, '+'),
|
|
RFC3986: exports.default_formatter,
|
|
};
|
|
exports.RFC1738 = 'RFC1738';
|
|
exports.RFC3986 = 'RFC3986';
|
|
//# sourceMappingURL=formats.js.map
|