@tanstack/react-location-jsurl
Version:
See https://react-location.tanstack.com/tools/jsurl
28 lines (23 loc) • 703 B
JavaScript
/**
* react-location-jsurl
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
var reactLocation = require('@tanstack/react-location');
var jsurl = require('./jsurl.js');
function stringifySearch(search) {
return reactLocation.stringifySearchWith(jsurl.stringify)(search);
}
function parseSearch(searchStr) {
return reactLocation.parseSearchWith(jsurl.parse)(searchStr);
}
exports.parseSearch = parseSearch;
exports.stringifySearch = stringifySearch;
//# sourceMappingURL=index.js.map