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 

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i keychain-sync

Weekly Downloads

0

Version

0.0.2

License

none

Last publish

Collaborators

  • elentok