BREAKING_CHANGE(iso): rename pathJoin to join for better API consistency

This commit is contained in:
2025-07-28 22:31:00 +00:00
parent ff1e6242a3
commit 047d7fcab9
5 changed files with 43 additions and 35 deletions

View File

@@ -25,7 +25,7 @@ For cross-platform path operations that work in any JavaScript environment (Node
import * as isoPath from '@push.rocks/smartpath/iso';
// Join paths with automatic platform detection
const joinedPath = isoPath.pathJoin('/home/user', 'documents', 'file.txt');
const joinedPath = isoPath.join('/home/user', 'documents', 'file.txt');
// Unix: /home/user/documents/file.txt
// Windows: C:\Users\documents\file.txt