@zakkster/lite-color-engine 1.0.1 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +12 -7
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # @zakkster/lite-color-engine
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@zakkster/lite-color-engine.svg?style=for-the-badge&color=latest)](https://www.npmjs.com/package/@zakkster/lite-color-engine)
4
+ [![sponsor](https://img.shields.io/badge/sponsor-PeshoVurtoleta-ea4aaa.svg?logo=github)](https://github.com/sponsors/PeshoVurtoleta)
4
5
  [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@zakkster/lite-color-engine?style=for-the-badge)](https://bundlephobia.com/result?p=@zakkster/lite-color-engine)
5
6
  [![npm downloads](https://img.shields.io/npm/dm/@zakkster/lite-color-engine?style=for-the-badge&color=blue)](https://www.npmjs.com/package/@zakkster/lite-color-engine)
7
+ [![npm total downloads](https://img.shields.io/npm/dt/@zakkster/lite-color-engine?style=for-the-badge&color=blue)](https://www.npmjs.com/package/@zakkster/lite-color-engine)
6
8
  ![TypeScript](https://img.shields.io/badge/TypeScript-Types-informational)
7
9
  ![Dependencies](https://img.shields.io/badge/dependencies-1-brightgreen)
8
10
  [![License](https://img.shields.io/badge/License-See_LICENSE-yellow.svg?style=for-the-badge)](./LICENSE.txt)
@@ -159,7 +161,7 @@ flowchart TD
159
161
  W --> X[OKLCH → linear sRGB<br/><sub>cube + matrix</sub>]:::math
160
162
  X --> Y[hard gamut clamp]:::math
161
163
  Y --> Z[sRGB transfer<br/><sub>pow 1/2.4</sub>]:::math
162
- Z --> AA[byte pack<br/><sub>A&lt;&lt;24 | B&lt;&lt;16 | G&lt;&lt;8 | R</sub>]:::math
164
+ Z --> AA["byte pack<br/><sub>A&lt;&lt;24 | B&lt;&lt;16 | G&lt;&lt;8 | R</sub>"]:::math
163
165
  AA --> AB[Uint32 RGBA-LE]:::buf
164
166
 
165
167
  classDef start fill:#e0f2fe,stroke:#0284c7
package/package.json CHANGED
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "name": "@zakkster/lite-color-engine",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "author": "Zahary Shinikchiev <shinikchiev@yahoo.com>",
5
5
  "description": "Zero-GC, data-oriented OKLCH color engine and WebGL/Canvas buffer pipeline.",
6
6
  "type": "module",
7
7
  "sideEffects": false,
8
- "main": "index.js",
9
- "module": "index.js",
10
- "types": "index.d.ts",
8
+ "main": "./index.js",
9
+ "module": "./index.js",
10
+ "types": "./index.d.ts",
11
11
  "exports": {
12
12
  ".": {
13
- "types": "index.d.ts",
14
- "import": "index.js",
15
- "default": "index.js"
13
+ "node": "./index.js",
14
+ "types": "./index.d.ts",
15
+ "import": "./index.js",
16
+ "default": "./index.js"
16
17
  }
17
18
  },
18
19
  "files": [
@@ -58,6 +59,10 @@
58
59
  "url": "https://github.com/PeshoVurtoleta/lite-color-engine/issues",
59
60
  "email": "shinikchiev@yahoo.com"
60
61
  },
62
+ "funding": {
63
+ "type": "github",
64
+ "url": "https://github.com/sponsors/PeshoVurtoleta"
65
+ },
61
66
  "engines": {
62
67
  "node": ">=18"
63
68
  }