Skip to content

NodePath

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 Added in v4.0.0 Source

Layers

layer

Added in v4.0.0 Source

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

Signature

declare const layer: Layer.Layer<Path>;

layerPosix

Added in v4.0.0 Source

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

Signature

declare const layerPosix: Layer.Layer<Path>;

layerWin32

Added in v4.0.0 Source

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

Signature

declare const layerWin32: Layer.Layer<Path>;