Retrieve your password for a site saved in OS X Keychain
$ npm install --global site-password
$ site-password --help
Examples
$ site-password github.com
$ site-password github.com --account example@mail.com
Options
-a, --account <account> Get password for specific account
$ npm install --save site-password
const sitePassword = require('site-password');
sitePassword('github.com').then(password => {
console.log(password);
//=> 123456
});
MIT © Andreas Gillström