Password confirmation for Nextcloud

Downloads in past


634.0.4a month ago3 years agoMinified + gzip package size for @nextcloud/password-confirmation in KB


npm Build Status
Promise-based password confirmation for Nextcloud.
This library exports a function that displays a password confirmation dialog when called and returns a promise. This makes it easier to integrate with other asynchronous operations.


npm add @nextcloud/password-confirmation


import { confirmPassword } from '@nextcloud/password-confirmation'
import '@nextcloud/password-confirmation/dist/style.css' // Required for dialog styles

const foo = async () => {
    try {
        await confirmPassword()
        // Your logic
    } catch (error) {
        // Your error handling logic


1) Create release branch 2) Adjust version using npm version vx.y.z --no-git-tag-version 3) Update CHANGELOG.md 4) Commit and open PR 5) After merge, pull latest master 6) git tag vx.y.z 7) git push origin vx.y.z 8) npm ci && npm run build && npm publish