3.0.0 • Published 4 years ago
@trousers/hash v3.0.0
@trousers/hash
@trousers/hash
is a simple hash package which accepts a string and returns the hashed equivalent.
API
hash
Accepts a string and returns a hashed number. Calling it twice with the same input should yield the same result.
Example:
import hash from '@trousers/hash';
hash(`
.yomama {
width: 99999999px;
}
`);
// Outputs: 4658051
4.0.0-alpha9
4 years ago
4.0.0-alpha8
4 years ago
4.0.0-alpha7
4 years ago
4.0.0-alpha6
4 years ago
4.0.0-alpha5
4 years ago
4.0.0-alpha4
4 years ago
4.0.0-alpha3
4 years ago
4.0.0-alpha2
4 years ago
4.0.0-alpha1
4 years ago
3.0.0
5 years ago