Skip to content

Releases: ripreact/hsl

Fix

23 Nov 14:39
Compare
Choose a tag to compare

Fixed cmake-js build.

NAPI

22 Nov 21:24
Compare
Choose a tag to compare

Now with NAPI version!

FTL

21 Nov 14:55
Compare
Choose a tag to compare
FTL

Experimented with WASM and C, but ended up with some JS optimizations. Now that’s up to 60% faster than original HSLᵤᵥ implementation!

GOTTA GO FAST

18 Nov 17:25
Compare
Choose a tag to compare
  • Performance: ≈23% faster than original (+10%).
  • Feature: explicit hsl and hsla exports.
  • Build:
    • Babel + TypeScript build.
    • Proper entry points for ES modules and CommonJS.

ES3

18 Nov 00:17
Compare
Choose a tag to compare
ES3

Now it’s ES3 compatible.

Fast

17 Nov 23:32
Compare
Choose a tag to compare

Performance

Now it is 200% faster than previous version and ≈13% faster than original version (at cost of slightly increased bundle size).

Tests

Now it is guaranteed to be compatible with original HSLᵤᵥ.

Hex RGBA

Now it returns '#rrggbbaa' string instead of 'rgba(r,g,b,a)'.

Node ESM & bundlers

Now it provides ES modules for NodeJS and bundlers.

v1.0.1

19 Oct 12:52
Compare
Choose a tag to compare

Fixes

  • Replaced map with forEach to slightly improve performance.

v1.0.0

18 Oct 21:47
Compare
Choose a tag to compare

Initial release