# @types/simple-sha1

> TypeScript definitions for simple-sha1

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

## Install

```sh
npm install @types/simple-sha1
pnpm add @types/simple-sha1
yarn add @types/simple-sha1
bun add @types/simple-sha1
```

## 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 | 3.0.3 |
| Published | 2023-11-07 |
| First published | 2020-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Recent versions

- 3.0.3 (latest) — 2023-11-07
- 3.0.0 (ts3.2) — 2020-10-25
- 3.0.2 — 2023-10-18
- 3.0.1 — 2023-09-25

## README

# Installation
> `npm install --save @types/simple-sha1`

# Summary
This package contains type definitions for simple-sha1 (https://github.com/michaelrhodes/simple-sha1).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-sha1.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-sha1/index.d.ts)
````ts
export = sha1;

declare function sha1(buf: string | sha1.ArrayBufferView, cb: (data: string) => void): void;

declare namespace sha1 {
    type TypedArray =
        | Uint8Array
        | Uint8ClampedArray
        | Uint16Array
        | Uint32Array
        | Int8Array
        | Int16Array
        | Int32Array
        | Float32Array
        | Float64Array;
    type ArrayBufferView = TypedArray | DataView;
    function sync(buf: string | ArrayBufferView): string;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Emily M Klassen](https://github.com/forivall).

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