JSPM

  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q56600F
  • License MIT

Package Exports

  • @kksh/api
  • @kksh/api/commands
  • @kksh/api/dev
  • @kksh/api/models
  • @kksh/api/package.json
  • @kksh/api/permissions
  • @kksh/api/runtime/deno
  • @kksh/api/ui
  • @kksh/api/ui/iframe
  • @kksh/api/ui/worker

Readme

@kksh/api

NPM Version

Kunkun API is an NPM package designed for developers to create extensions for Kunkun.

@kksh/api provides a set of APIs for extensions to interact with Kunkun and System APIs. The APIs include:

  • Clipboard
  • Database
  • Dialog
  • Event
  • Fetch
  • File System
  • Logger
  • Network
  • Notification
  • Open
  • OS
  • Path
  • Shell
  • System Info
  • System Commands
  • Toast
  • UI
  • etc.

Read more details in documentation at https://docs.kunkun.sh, and generated docs at https://docs.api.kunkun.sh/

Dev

Dependency Graph

To detect circular dependencies

pnpm madge ./src/ui/worker/index.ts --circular # detect circular dependencies
pnpm dep-tree ./src/ui/worker/index.ts


pnpm test # this will detect circular dependencies in all files