Skip to content

NodePath.ts

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



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

Signature

declare const layer: Layer.Layer<Path, never, never>

Source

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, never, never>

Source

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, never, never>

Source

Since v4.0.0