Something went wrong. Try again.
opencode v2 mirror
Something went wrong. Try again.
429 B · 12 lines
TypeScript
12345678910111213import { bind } from "./fff.js"
export type { Directory, DirSearch, File, Init, Mixed, MixedSearch, Picker, Result, Search } from "./fff.js"
const { FileFinder } = await import("@ff-labs/fff-node").catch(() => ({ FileFinder: undefined }))
const adapter = bind(FileFinder, "fff unavailable on node runtime")
export const available = adapter.availableexport const create = adapter.create
export * as Fff from "./fff.node.js"