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

3.0.0 • Public • Published

@trousers/hash

@trousers/hash is a simple hash package which accepts a string and returns the hashed equivalent.

API

toHash

Accepts a string and returns a hashed number. Calling it twice with the same input should yield the same result.

Example:

import toHash from '@trousers/hash';

toHash(`
    .yomama {
        width: 99999999px;
    }
`);

// Outputs: 4658051

Readme

Keywords

none

Package Sidebar

Install

npm i @trousers/hash

Weekly Downloads

2

Version

3.0.0

License

MIT

Unpacked Size

163 kB

Total Files

17

Last publish

Collaborators

  • delcore92