@types/js-md5
TypeScript definitions for js-md5
Last updated 9 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/js-md5 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/js-md5

Summary

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

Details

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

index.d.ts

// Type definitions for js-md5 0.4
// Project: https://github.com/emn178/js-md5
// Definitions by: Michael McCarthy <https://github.com/mwmccarthy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare namespace md5 {
    type message = string | any[] | Uint8Array | ArrayBuffer;

    interface Md5 {
        array(): number[];
        arrayBuffer(): ArrayBuffer;
        buffer(): ArrayBuffer;
        digest(): number[];
        hex(): string;
        toString(): string;
        update(message: message): Md5;
        base64(): string;
    }

    interface md5 {
        (message: message): string;
        hex(message: message): string;
        array(message: message): number[];
        digest(message: message): number[];
        arrayBuffer(message: message): ArrayBuffer;
        buffer(message: message): ArrayBuffer;
        create(): Md5;
        update(message: message): Md5;
        base64(message: message): string;
    }
}

declare const md5: md5.md5;
export = md5;

Additional Details

  • Last updated: Fri, 09 Jul 2021 02:32:30 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Michael McCarthy.

Current Tags

  • 0.4.3                                ...           latest (5 years ago)
  • 0.4.2                                ...           ts2.0 (8 years ago)
  • 0.4.2                                ...           ts2.1 (8 years ago)
  • 0.4.2                                ...           ts2.2 (8 years ago)
  • 0.4.2                                ...           ts2.3 (8 years ago)
  • 0.4.2                                ...           ts2.4 (8 years ago)
  • 0.4.2                                ...           ts2.5 (8 years ago)
  • 0.4.2                                ...           ts2.6 (8 years ago)
  • 0.4.2                                ...           ts2.7 (8 years ago)
  • 0.4.2                                ...           ts2.8 (8 years ago)
  • 0.4.2                                ...           ts2.9 (8 years ago)
  • 0.4.2                                ...           ts3.0 (8 years ago)
  • 0.4.2                                ...           ts3.1 (8 years ago)
  • 0.4.2                                ...           ts3.2 (8 years ago)
  • 0.4.2                                ...           ts3.3 (8 years ago)
  • 0.4.2                                ...           ts3.4 (8 years ago)
  • 0.4.2                                ...           ts3.5 (8 years ago)
  • 0.4.3                                ...           ts3.6 (5 years ago)
  • 0.4.3                                ...           ts3.7 (5 years ago)
  • 0.4.3                                ...           ts3.8 (5 years ago)
  • 0.4.3                                ...           ts3.9 (5 years ago)
  • 0.4.3                                ...           ts4.0 (5 years ago)
  • 0.4.3                                ...           ts4.1 (5 years ago)
  • 0.4.3                                ...           ts4.2 (5 years ago)
  • 0.4.3                                ...           ts4.3 (5 years ago)
  • 0.4.3                                ...           ts4.4 (5 years ago)
  • 0.4.3                                ...           ts4.5 (5 years ago)
  • 0.4.3                                ...           ts4.6 (5 years ago)
  • 0.4.3                                ...           ts4.7 (5 years ago)
  • 0.4.3                                ...           ts4.8 (5 years ago)

15 Versions

  • 0.4.3                                ...           5 years ago
  • 0.4.2                                ...           8 years ago
  • 0.4.1                                ...           9 years ago
  • 0.4.0                                ...           9 years ago
  • 0.3.29                                ...           10 years ago
  • 0.0.28                                ...           10 years ago
  • 0.0.27-alpha                                ...           10 years ago
  • 0.0.26-alpha                                ...           10 years ago
  • 0.0.25-alpha                                ...           10 years ago
  • 0.0.24-alpha                                ...           10 years ago
  • 0.0.23-alpha                                ...           10 years ago
  • 0.0.22-alpha                                ...           10 years ago
  • 0.0.21-alpha                                ...           10 years ago
  • 0.0.16-alpha                                ...           10 years ago
  • 0.0.15-alpha                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |