NodePath.ts
NodePath.ts overview
Section titled “NodePath.ts overview”Node.js layers for Effect’s Path service.
This module provides the default, POSIX, and Windows variants of the
platform-independent Path service by reusing the shared Node path
implementation. The provided path services include Node file URL conversion
behavior.
Since v4.0.0
Exports Grouped by Category
Section titled “Exports Grouped by Category”layers
Section titled “layers”Provides the default Node Path service using the platform’s node:path
implementation.
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,
regardless of the host platform.
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,
regardless of the host platform.
Signature
declare const layerWin32: Layer.Layer<Path, never, never>Since v4.0.0