keychain-sync

0.0.2 • Public • Published

Keychain-Sync

Build Status

Access the mac keychain synchronously

Usage

First, add 'keychain-sync' to your package.json dependencies, or run:

npm install keychain-sync

Then use the following code:

 
keychainSync = require 'keychain-sync'
 
keychainSync.setPassword('myAccount''myService''12345')
 
keychainSync.getPassword('myAccount''myService')
# returns '12345' 
 
keychainSync.getPassword('myAccount''wrongService')
# returns null 

Readme

Keywords

none

Package Sidebar

Install

npm i keychain-sync

Weekly Downloads

2

Version

0.0.2

License

none

Last publish

Collaborators

  • elentok