npm.io
3.0.3 • Published 2 years ago

@types/murmurhash3js-revisited

Licence
MIT
Version
3.0.3
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/murmurhash3js-revisited

Summary

This package contains type definitions for murmurhash3js-revisited (https://github.com/cimi/murmurhash3js-revisited#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/murmurhash3js-revisited.

index.d.ts

export interface X86 {
    hash32: (bytes: Uint8Array, seed?: number) => number;
    hash128: (bytes: Uint8Array, seed?: number) => string;
}
export interface X64 {
    hash128: (bytes: Uint8Array, seed?: number) => string;
}
export const x86: X86;
export const x64: X64;

export const MurmurHash3: {
    x86: X86;
    x64: X64;
};

export as namespace MurmurHash3;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Carlo Francisco, and Junxiao Shi.