UNPKG

@lifaon/path

Version:

Useful tool to manage paths like the URL object

9 lines 546 B
import { convertStringPathToUncheckedPathSegments } from './convert-string-path-to-unchecked-path-segments.js'; import { convertUncheckedPathSegmentsIntoPathSegments, } from './convert-unchecked-path-segments-into-path-segments.js'; /** * Converts a string path to some `IPathSegments`. */ export function convertStringPathToPathSegments(path, options) { return convertUncheckedPathSegmentsIntoPathSegments(convertStringPathToUncheckedPathSegments(path, options), options); } //# sourceMappingURL=convert-string-path-to-path-segments.js.map