@types/sha256-file
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sha256-file

Weekly Downloads

3,103

Version

1.0.3

License

MIT

Unpacked Size

3.12 kB

Total Files

5

Last publish

Collaborators

  • types