export function join(a, b) {
    const safeA = a.replace(/\/$/, '');
    const safeB = b.replace(/^\//, '');
    return `${safeA}/${safeB}`;
}
export function extname(p) {
    return p.substring(p.lastIndexOf('.') + 1) || null;
}
//# sourceMappingURL=path.js.map