@napi-rs/keyring

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


Keywords
napi-rs, NAPI, N-API, Rust, node-addon, node-addon-api
License
MIT
Install
npm install @napi-rs/keyring@1.1.4

Documentation

@napi-rs/keyring

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()