authorized-keys

0.4.0 • Public • Published

authorized-keys

Build Status NPM version NPM downloads LICENSE

Platform agnostic path resolution to a user's authorized_keys file Node.js.

OSX

keys();
#=> /Users/wilmoore/.ssh/authorized_keys

keys('git');
#=> /Users/git/.ssh/authorized_keys

Windows

keys();
#=> C:\Users\wilmoore\.ssh\authorized_keys

keys('git');
#=> C:\Users\git\.ssh\authorized_keys

Linux

keys();
#=> /home/wilmoore/.ssh/authorized_keys

keys('git');
#=> /home/git/.ssh/authorized_keys

Installation

npm install authorized-keys --save

License

MIT

Package Sidebar

Install

npm i authorized-keys

Weekly Downloads

2

Version

0.4.0

License

MIT

Last publish

Collaborators

  • wilmoore