Huakun Shen 8de45322f0
init
2025-01-18 07:07:36 -05:00

14 lines
438 B
TypeScript

import { expose } from "@kunkun/api/runtime/deno"
import { readFirefoxBookmarks } from "./lib.ts"
expose({
readFirefoxBookmarks
})
// console.log(
// readFirefoxBookmarks(
// "/Users/hacker/Library/Application Support/Firefox/Profiles/czahqvgw.default-release/places.sqlite"
// )
// )
// deno run --allow-env=DENO_SQLITE_PATH,DENO_SQLITE_LOCAL,DENO_DIR,HOME --allow-read=/Users/hacker/Library/Caches/deno/plug --allow-ffi index.ts