Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/hashed/common/hasher.ts>Hasher.stringHasher

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function Hasher.stringHasher
import { Hasher } from "https://deno.land/x/rimbu@0.14.0/hashed/common/hasher.ts";
const { stringHasher } = Hasher;

Returns a Hasher instance for string values.

Examples

Example 1

const h = Hasher.stringHasher()
h.hash('abc')