# @types/sha256-file

> TypeScript definitions for sha256-file

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

## Install

```sh
npm install @types/sha256-file
pnpm add @types/sha256-file
yarn add @types/sha256-file
bun add @types/sha256-file
```

## 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.0.3 |
| Published | 2023-11-07 |
| First published | 2020-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51420 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.3 (latest) — 2023-11-07
- 1.0.1 (ts3.6) — 2021-07-25
- 1.0.0 (ts3.1) — 2020-08-28
- 1.0.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/sha256-file`

# Summary
This package contains type definitions for sha256-file (https://github.com/so-ta/sha256-file).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sha256-file.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sha256-file/index.d.ts)
````ts
declare namespace sha256File {
    type CallbackFunction = (error: Error | null, sum: string | null) => void;
}

declare function sha256File(filename: string, callback: sha256File.CallbackFunction): void;
declare function sha256File(filename: string): string;

export = sha256File;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Florian Imdahl](https://github.com/ffflorian).

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