Installation
npm install --save @types/kms-json
Summary
This package contains type definitions for kms-json (https://github.com/AlexanderMS/kms-json).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kms-json.
index.d.ts
// TypeScript Version: 2.2
declare namespace KmsJson {
interface KmsJsonOptions {
awsKmsSettings?: object | undefined;
keyId: string;
encoding?: string | undefined;
}
}
declare class KmsJson {
constructor(options: KmsJson.KmsJsonOptions);
encrypt(inputJson: object): string;
decrypt(cipherText: string): object;
}
export = KmsJson;
Additional Details
- Last updated: Tue, 07 Nov 2023 0938 GMT
- Dependencies: none
Credits
These definitions were written by Yoichi Imai.