NodePath
Node-backed provider for Effect's Path service.
This module turns Node's node:path and node:url APIs into Path layers. layer uses the host platform path implementation, while layerPosix and layerWin32 provide fixed POSIX and Windows variants. All three layers also include helpers for converting between file paths and file URLs.
Layers
Signature
declare const layer: Layer.Layer<Path>;layerPosix
Added in v4.0.0
Source
Provides the Path service using Node's POSIX path implementation plus file URL conversion helpers.
Signature
declare const layerPosix: Layer.Layer<Path>;layerWin32
Added in v4.0.0
Source
Provides the Path service using Node's Windows path implementation plus file URL conversion helpers.
Signature
declare const layerWin32: Layer.Layer<Path>;
Provides the default
Pathservice using the host platform's Node path implementation plus file URL conversion helpers.