Package Exports
- @napi-rs/keyring
- @napi-rs/keyring/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@napi-rs/keyring) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@napi-rs/keyring
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()