Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

NodePath unstable

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.

3 exports Since v4.0.0 Source

Layers

layer

unstable
Since v4.0.0

Provides the default Node Path service using the platform's node:path implementation.

Signature

declare const layer: Layer.Layer<Path>

layerPosix

unstable
Since v4.0.0

Provides the Path service using Node's POSIX path implementation, regardless of the host platform.

Signature

declare const layerPosix: Layer.Layer<Path>

layerWin32

unstable
Since v4.0.0

Provides the Path service using Node's Windows path implementation, regardless of the host platform.

Signature

declare const layerWin32: Layer.Layer<Path>