@napi-rs/keyring
Version:
https://github.com/hwchen/keyring-rs Node.js binding via https://napi.rs
20 lines (14 loc) • 739 B
Markdown
# `@napi-rs/keyring`

[](https://packagephobia.com/result?p=@napi-rs/keyring)
[](https://npmcharts.com/compare/@napi-rs/keyring?minimal=true)
> https://github.com/hwchen/keyring-rs Node.js binding via https://napi.rs
# Usage
```js
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()
```