mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
12 lines
429 B
TypeScript
12 lines
429 B
TypeScript
import { 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.available
|
|
export const create = adapter.create
|
|
|
|
export * as Fff from "./fff.node.js"
|