BunPath
Bun-backed layers for Effect's Path service.
This module provides the Path service for Bun programs by reusing the shared Node-compatible path implementation. Provide one of these layers when Bun code should receive path operations from the Effect environment instead of importing runtime path helpers directly.
Layers
Signature
declare const layer: Layer.Layer<Path>;layerPosix
Added in v4.0.0
Source
Layer that provides the POSIX Path service for Bun using the shared Node path implementation.
Signature
declare const layerPosix: Layer.Layer<Path>;layerWin32
Added in v4.0.0
Source
Layer that provides the Win32 Path service for Bun using the shared Node path implementation.
Signature
declare const layerWin32: Layer.Layer<Path>;
Layer that provides the default
Pathservice for Bun using the shared Node path implementation.