JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15919719
  • Score
    100M100P100Q231396F
  • License MIT

A MurmurHash2 implementation

Package Exports

  • @emotion/hash
  • @emotion/hash/dist/hash.browser.cjs.js
  • @emotion/hash/dist/hash.browser.esm.js
  • @emotion/hash/dist/hash.cjs.js
  • @emotion/hash/dist/hash.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@emotion/hash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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.