1.0.3 • Published 2 years ago

@types/sha256-file v1.0.3

Weekly downloads
451
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for sha256-file 1.0
// Project: https://github.com/so-ta/sha256-file
// Definitions by: Florian Imdahl <https://github.com/ffflorian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Sun, 25 Jul 2021 16:01:14 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Florian Imdahl.

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

4 years ago

1.0.0

5 years ago