0.0.5 • Published 1 year ago
macos-keychain-passwords v0.0.5
Description
Allows access to macOS Keychain via the the native OS X Security Framework API (SecItemAdd, SecItemCopyMatching)
Usage
Install with
npm install macos-keychain-passwords
Then use it:
var keychain = require("macos-keychain-passwords");
keychain.set_password("myservice_or_app", "myusername", "mypassword")
keychain.get_password("myservice_or_app", "myusername") // returns "mypassword"