JSPM

authorized-keys

0.4.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q34204F
  • License MIT

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

Package Exports

  • authorized-keys

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (authorized-keys) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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