# @types/keygrip

> TypeScript definitions for keygrip

Latest version **1.0.6** (published 2023-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/keygrip
pnpm add @types/keygrip
yarn add @types/keygrip
bun add @types/keygrip
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2023-11-21 |
| First published | 2017-01-05 |
| 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 | 51431 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.6 (latest) — 2023-11-21
- 1.0.2 (ts2.8) — 2019-12-26
- 1.0.1 (ts2.0) — 2017-03-24
- 1.0.5 — 2023-11-07
- 1.0.4 — 2023-10-18
- 1.0.3 — 2023-09-14
- 1.0.0 — 2017-01-05

## README

# Installation
> `npm install --save @types/keygrip`

# Summary
This package contains type definitions for keygrip (https://github.com/crypto-utils/keygrip).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keygrip.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keygrip/index.d.ts)
````ts
interface Keygrip {
    sign(data: any): string;
    verify(data: any, digest: string): boolean;
    index(data: any, digest: string): number;
}

interface KeygripFunction {
    new(keys: readonly string[], algorithm?: string, encoding?: string): Keygrip;
    (keys: readonly string[], algorithm?: string, encoding?: string): Keygrip;
}

declare const Keygrip: KeygripFunction;

export = Keygrip;

````

### Additional Details
 * Last updated: Mon, 20 Nov 2023 23:36:24 GMT
 * Dependencies: none

# Credits
These definitions were written by [jKey Lu](https://github.com/jkeylu).

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