mac-keychain
v1.0.0
Published
## Function - unlock-keychain - lock-keychain
Downloads
5
Readme
mac-keychain
Function
- unlock-keychain
- lock-keychain
How to use
var unlockKeychain = require('../index').unlockKeychain;
unlockKeychain('111')
.then((d) => {
console.log(d);
})
.catch((e) => {
console.log(e);
})
Return value
success
{
success: true,
}
fail
{
success: false,
error: '******\n'
}
Command line
security unlock-keychain -p <password>