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

0.6.2 • Public • Published

Installation

npm install --save @types/js-sha1

Summary

This package contains type definitions for js-sha1 (https://github.com/emn178/js-sha1).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-sha1.

index.d.ts

interface JsSha1 {
    (message: string): string;
    update(message: string): string;
    hex(message: string): string;
    array(message: string): number[];
    digest(message: string): number[];
    arrayBuffer(message: string): ArrayBuffer;
}

declare var sha1: JsSha1;

export = sha1;
export as namespace sha1;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Igor N. Dultsev.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/js-sha1

Weekly Downloads

2,584

Version

0.6.2

License

MIT

Unpacked Size

3.15 kB

Total Files

5

Last publish

Collaborators

  • types