ssh2 icon indicating copy to clipboard operation
ssh2 copied to clipboard

feat: add SUPPORTED_* constants to module exports

Open dhensby opened this issue 1 year ago • 0 comments

It's really useful to have access to these constants when implementing some lower level integrations with the library.

For example, I want to filter out SSH keys that aren't supported.

It is possible to pull these constants out by doing require('ssh2/lib/protocol/constants') but it would be nice to see them given "first class" support.

dhensby avatar Feb 09 '24 13:02 dhensby