@lifaon/path
Version:
Useful tool to manage paths like the URL object
10 lines • 376 B
JavaScript
import { forcePathSegmentsAsRelative, } from '../mutate/force-path-segments-as-relative.js';
/**
* @see forcePathSegmentsAsRelative
*/
export function makePathSegmentsAsRelative(segments, options) {
const _segments = segments.slice();
forcePathSegmentsAsRelative(_segments, options);
return _segments;
}
//# sourceMappingURL=make-path-segments-as-relative.js.map