UNPKG

@favware/cliff-jumper

Version:

A small CLI tool to create a semantic release and git-cliff powered Changelog

10 lines 302 B
import { Result } from '@sapphire/result'; import { access } from 'node:fs/promises'; export async function fileExists(path) { const result = await Result.fromAsync(() => access(path)); if (result.isErr()) { return false; } return true; } //# sourceMappingURL=file-exists.js.map