# @types/kms-json

> TypeScript definitions for kms-json

Latest version **1.1.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/kms-json
pnpm add @types/kms-json
yarn add @types/kms-json
bun add @types/kms-json
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2023-11-07 |
| First published | 2018-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51393 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/kms-json
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kms-json
- npm.io page: https://npm.io/package/@types/kms-json

## Recent versions

- 1.1.3 (latest) — 2023-11-07
- 1.1.1 (ts3.6) — 2021-07-08
- 1.1.0 (ts2.0) — 2018-01-17
- 1.1.2 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kms-json/index.d.ts)
````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 09:09:38 GMT
 * Dependencies: none

# Credits
These definitions were written by [Yoichi Imai](https://github.com/sunnyone).

---
_Source: https://npm.io/package/@types/kms-json · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
