@types/ssh-key-decrypt
TypeScript definitions for ssh-key-decrypt
Version 0.1.3 License MIT
<script type="module"> import typessshKeyDecrypt from 'https://cdn.jsdelivr.net/npm/@types/ssh-key-decrypt@0.1.3/+esm' </script>
Installation
npm install --save @types/ssh-key-decrypt
Summary
This package contains type definitions for ssh-key-decrypt (https://github.com/isaacs/ssh-key-decrypt#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ssh-key-decrypt.
index.d.ts
/// <reference types="node" />
export = decrypt;
declare function decrypt(data: string | Buffer, passphrase: string, outEnc?: "buffer"): Buffer;
declare function decrypt(data: string | Buffer, passphrase: string, outEnc: BufferEncoding): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/node
Credits
These definitions were written by BendingBender.