@nextcloud/sharing
Common front-end utils for files sharing on Nextcloud and Nextcloud apps.
npm i -S @nextcloud/sharing
There are three entry points provided:
@nextcloud/sharing
provides general utils for file sharing@nextcloud/sharing/public
provides utils for handling public file shares@nextcloud/sharing/ui
provides API bindings to interact with the files sharing interface in the files app.