mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-11 17:29:44 +00:00

* refactor: rename WorkerExtension to TemplateUiCommand, HeadlessWorkerExtension to HeadlessCommand * ci: update npm publish workflow to include refactor branch * ci: add push trigger for JSR publish workflow and bump API package version * ci: add pnpm setup to npm publish workflow * chore: add repository field to package.json for @kksh/api
32 lines
817 B
Markdown
32 lines
817 B
Markdown
# @kksh/api
|
|
|
|
[](https://www.npmjs.com/package/@kksh/api)
|
|
[](https://jsr.io/@kunkun/api)
|
|
|
|
[Kunkun API](https://www.npmjs.com/package/@kksh/api) is an NPM package designed for developers to create extensions for Kunkun.
|
|
|
|
On NPM this package is published as `@kksh/api`, and on JSR it is published as `@kunkun/api`.
|
|
|
|
`@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/
|