1.1.3 • Published 6 months ago
@types/kms-json v1.1.3
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
// Type definitions for kms-json 1.1
// Project: https://github.com/AlexanderMS/kms-json
// Definitions by: Yoichi Imai <https://github.com/sunnyone>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// 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: Thu, 08 Jul 2021 16:23:16 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Yoichi Imai.