BunPath.ts
BunPath.ts overview
Section titled “BunPath.ts overview”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.
Since v4.0.0
Exports Grouped by Category
Section titled “Exports Grouped by Category”layers
Section titled “layers”Layer that provides the default Path service for Bun using the shared Node path implementation.
Signature
declare const layer: Layer.Layer<Path, never, never>Since v4.0.0
layerPosix
Section titled “layerPosix”Layer that provides the POSIX Path service for Bun using the shared Node path implementation.
Signature
declare const layerPosix: Layer.Layer<Path, never, never>Since v4.0.0
layerWin32
Section titled “layerWin32”Layer that provides the Win32 Path service for Bun using the shared Node path implementation.
Signature
declare const layerWin32: Layer.Layer<Path, never, never>Since v4.0.0