mirror of
https://github.com/kunkunsh/kunkun-ext-browser-bookmark.git
synced 2025-04-03 21:06:42 +00:00
14 lines
438 B
TypeScript
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
|