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:
Read more details in documentation at https://docs.kunkun.sh, and generated docs at https://docs.api.kunkun.sh/
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