NodePath.ts
NodePath.ts overview
Section titled “NodePath.ts overview”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.
Since v4.0.0
Exports Grouped by Category
Section titled “Exports Grouped by Category”layers
Section titled “layers”Provides the default Path service using the host platform’s Node path
implementation plus file URL conversion helpers.
Signature
declare const layer: Layer.Layer<Path, never, never>Since v4.0.0
layerPosix
Section titled “layerPosix”Provides the Path service using Node’s POSIX path implementation plus
file URL conversion helpers.
Signature
declare const layerPosix: Layer.Layer<Path, never, never>Since v4.0.0
layerWin32
Section titled “layerWin32”Provides the Path service using Node’s Windows path implementation plus
file URL conversion helpers.
Signature
declare const layerWin32: Layer.Layer<Path, never, never>Since v4.0.0