Socket
Socket
Sign inDemoInstall

color-hash

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.0.2

Diff

Changelog

Source

v2.0.2

  • Expose ESM in package.json
zenozeng
published 2.0.1 •

Changelog

Source

v2.0.1

  • chore: dist/color-hash.js: tsc --module commonjs
zenozeng
published 2.0.0 •

Changelog

Source

v2.0.0

Note: default options were changed in v2.x. Use the following options to get the same result of v1.x

const colorHash = new ColorHash({hash: 'bkdr', saturation: [0.65, 0.35, 0.5], lightness: [0.65, 0.35, 0.5]})
  • refactor: rewrite using deno
  • feat: New default hash function: SHA256
  • feat: Deno Module: https://deno.land/x/color_hash
  • feat: ESM Module: dist/esm.js
  • feat: UMD Module: dist/color-hash.js
zenozeng
published 1.1.1 •

zenozeng
published 1.0.3 •

zenozeng
published 1.0.2 •

zenozeng
published 1.0.1 •

zenozeng
published 1.0.0 •

zenozeng
published 0.1.3 •

zenozeng
published 0.1.2 •

2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc