BREAKING_CHANGE(iso): rename pathJoin to join for better API consistency
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user