@napi-rs/keyring

February 25, 2023 ยท View on GitHub

https://github.com/Brooooooklyn/keyring-node/actions install size Downloads

https://github.com/hwchen/keyring-rs Node.js binding via https://napi.rs

Usage

import { Entry } from '@napi-rs/keyring'

const entry = new Entry('my_service', 'my_name')
entry.setPassword('topS3cr3tP4$$w0rd')
const password = entry.getPassword()
console.log('My password is ', password)
entry.deletePassword()