amis-rpc-design/node_modules/@emotion/hash
2023-10-07 19:42:30 +08:00
..
dist v1.0.0 2023-10-07 19:42:30 +08:00
src v1.0.0 2023-10-07 19:42:30 +08:00
types v1.0.0 2023-10-07 19:42:30 +08:00
CHANGELOG.md v1.0.0 2023-10-07 19:42:30 +08:00
LICENSE v1.0.0 2023-10-07 19:42:30 +08:00
package.json v1.0.0 2023-10-07 19:42:30 +08:00
README.md v1.0.0 2023-10-07 19:42:30 +08:00

@emotion/hash

A MurmurHash2 implementation

import hash from '@emotion/hash'

hash('some-string') // 12fj1d

The source of this is from https://github.com/garycourt/murmurhash-js/blob/master/murmurhash2_gc.js.