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

1.0.2 • Public • Published

Installation

npm install --save @types/short-hash

Summary

This package contains type definitions for short-hash (https://github.com/joakimbeng/short-hash#readme).

Details

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

index.d.ts

/**
 * Get a short hash from a string. Uses Bernstein's popular "times 33" hash algorithm but returns a hex string instead of a number.
 * @param str The string to hash.
 */
export default function shortHash(str: string): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Ericsson Schroeter.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/short-hash

Weekly Downloads

218

Version

1.0.2

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • types