npm.io
1.0.2 • Published 2 years ago

@types/quick-hash

Licence
MIT
Version
1.0.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/quick-hash

Summary

This package contains type definitions for quick-hash (https://github.com/vigour-io/quick-hash#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/quick-hash.

index.d.ts

/**
 * Murmur hash optimized for performance, not collision avoidance.
 * @param key the string to hash
 * @param seed a seed for hashing
 * @returns A string of 5 to 7 alpha-numeric characters
 */
declare function quickHash(key: string, seed?: number): string;
export = quickHash;

Additional Details

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

Credits

These definitions were written by Florian Keller.