@lucid-softworks/tap
v0.1.0
Published
Run a side effect and return the original value.
Downloads
160
Maintainers
Readme
@lucid-softworks/tap
Run a synchronous side effect and return the original value.
import { tap } from "@lucid-softworks/tap";
const config = tap(loadConfig(), (value) => logger.debug(value));