{
  "_id": "pixel-utils",
  "maintainers": [
    {
      "name": "danieljdufour",
      "email": "daniel.j.dufour@gmail.com"
    }
  ],
  "keywords": [
    "color",
    "pixel",
    "rgb",
    "rgba"
  ],
  "dist-tags": {
    "latest": "0.9.0"
  },
  "author": {
    "name": "Daniel J. Dufour"
  },
  "_rev": "11-9f1ee64b9fe859d3d3162bd669a74eea",
  "description": "Utility Functions for Pixels",
  "readme": "⚠️ This library is currently in beta, so the function signatures are subject to change.\n\n---\n\n# pixel-utils\n> Minimalist Utility Functions for Pixels\n\n## features\n- no data values\n- optional mutability for fast memory-preserving operations\n- optimized for speed\n- range flipping\n- simple conversion between RGB and RGBA\n- support for CommonJS and ES Modules\n- typescript\n\n## install\n```bash\nnpm install pixel-utils\n```\n\n## functions\n- **conversion**\n  - [`rawToRgb`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/raw-to-rgb) - convert a raw unprocessed pixel value to RGB\n  - [`rawToRgba`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/raw-to-rgba) - convert a raw unprocessed pixel value to RGBA\n  - [`rgbToRgba`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/rgb-to-rgba) - convert from RGB to RGBA\n  - [`rgbaToRgb`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/rgba-to-rgb) - convert from RGBA to RGB\n- **no data**\n  - `makeNoDataRgb` - create a no data RGB pixel\n  - `makeNoDataRgba` - create a no data RGB pixel\n- **iteration**\n  - [`eachPixel`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/each-pixel) - call a callback for each pixel\n- **selection**\n  - [`select`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/select-pixel) - select a pixel from image data of arbitrary dimensions\n- **transparency**\n  - [`addAlpha`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/add-alpha) - add an alpha transparency channel\n  - [`isHidden`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/is-hidden) - check if an RGBA pixel is transparent\n  - [`setHidden`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/set-hidden) - mutates input pixel, setting alpha channel to visible\n  - [`showRGBA`](https://github.com/DanielJDufour/pixel-converters/tree/main/src/show-rgba) - make RGBA visible\n- **[and many more](https://github.com/DanielJDufour/pixel-utils/tree/main/src)**\n\n## core assumptions and constraints\nAn RGB pixel has these assumed properties:\n- array of 3 numbers between zero and 255\n- no data is represented by either black or white\n\nAn RGBA pixel has these assumed properties:\n- array of 4 numbers between zero and 255\n- the first 3 numbers are \"data\" values and the last value is an alpha tranparency value\n- an alpha value of 0 indicates that at least one of the data bands is \"no data\"\n- there may be a per-band no data value, but it is not required\n\nA raw (unscaled) pixel value has these assumed properties:\n- between 1 and inifinity number of bands\n- number can be any valid number\n- no data value must be the same for each band (we don't love this, but it's a common constraint)\n- there is no transparency channel/band (we may work to remove this constraint)\n\n## comparison\nThere are several other pixel manipulation libraries, including [p5js](https://p5js.org/) and [fabricjs](http://fabricjs.com/), \nhowever pixel-utils provides some unique features not found in other libraries:\n- raw image data support: most (if not all) alternatives assume that an image is a 8-bit 0-255 RGBA data\n- arbitrary image layout support: most (if not all) alternatives assume that your data is in a flat Uint8ClampedArray, but pixel-utils support all possible data layouts thanks to the [xdmin](https://github.com/danieljdufour/xdim) layout syntax.\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
  },
  "bugs": {
    "url": "https://github.com/DanielJDufour/pixel-utils/issues"
  },
  "license": "CC0-1.0",
  "versions": {
    "0.0.2": {
      "name": "pixel-utils",
      "version": "0.0.2",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "test": "npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "doctrine": "^3.0.0",
        "esm": "^3.2.25",
        "flug": "^2.2.0",
        "typescript": "^4.6.4"
      },
      "dependencies": {
        "quick-scale": "^0.0.3"
      },
      "gitHead": "5eac55eca44e6ae29209802772cde145bc221d5a",
      "_id": "pixel-utils@0.0.2",
      "_nodeVersion": "18.0.0",
      "_npmVersion": "8.6.0",
      "dist": {
        "integrity": "sha512-oN6HRieZrmNoWsOAEkX4klsRi9uQsyhsn6LVcoGidb31BIt0WgJwPCSaGrBSzko4+zcOv1l/ZCPYlyrCVWN3og==",
        "shasum": "bc60d8067ac28ba3bb8adfd5ff9a10fd3a29b3b4",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.0.2.tgz",
        "fileCount": 68,
        "unpackedSize": 67815,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCch1N+Bw4rEM1xIxa2Duq5YWrwYOaF8zoyuZJBNszNvgIgKAxvetw3ySOBDTRv9egL3KThFlC62SEUgkEE+y3MjCA="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJid9p5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8ehAAoEhvkvc9moq2Fg1O3kSn9MRWZYe/D3SIJp7BMmtzDZ7IGnHQ\r\nUS04lUX1GTeNdpgqUEMJH0JjpCwa/DIOD4dGI4tZoonVSKqfRJvqQ1MypbL6\r\nA1GQ/nSq2GoM81ceqDlDLVGRaX4E9ANrtakXpuhzVpkBMNk+mD7lEVoQBE/w\r\noEjkX7PqTPr2Ac+JYdR2YNgXL9UcOi3iFhbfIdwI4G5P/TRlY71HNx3+Bjtg\r\n6ZNRu2W+KTPWj5yqqBN15SdwUgtflJLB3kLi6e0poYH8rqyuLB5xaixjkjYM\r\nyNsE++Zml5e122Fd1woQWzpfroQlQU7FRcAO+lMwISfO2VD9816G7kEpPkJb\r\n87JWBXwKjny9cqJW1fDD9dYLf2lEvBl5i4l5leP/oyLCdMAQDVQyw7RsWq+s\r\n2QvZ33YLeNpj88b1bUvJv+NG02pqUN48K/n1HaHIbgKzaSOFzJlzPuulBmS5\r\nxVn9V0aCYhM+kAj1yayZ6G2KzOMp+CYh9epkClv/8Ow8n6SVhZxnWzEcegCZ\r\nDntdTwY2l48H7JkLBI3GYKZi2ty3l2k5N/X9qtPIJcyVnpwOBYpaDXaW607O\r\nIFWhD+E2KDTXEXI0IHnKOcydURmffWzkC00PbknWjZDfhT4d5LOsDIBBltPg\r\nCWkWk9Pipon4tQqRE5HKeWLLuJE+GV3DgwQ=\r\n=YbCk\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.0.2_1652021881409_0.5292137325402699"
      },
      "_hasShrinkwrap": false
    },
    "0.0.3": {
      "name": "pixel-utils",
      "version": "0.0.3",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "test": "npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "doctrine": "^3.0.0",
        "esm": "^3.2.25",
        "flug": "^2.2.0",
        "typescript": "^4.6.4"
      },
      "dependencies": {
        "quick-scale": "^0.1.0"
      },
      "gitHead": "db8ddf282372c359d1f6eada62021eb1210c4f34",
      "_id": "pixel-utils@0.0.3",
      "_nodeVersion": "18.0.0",
      "_npmVersion": "8.6.0",
      "dist": {
        "integrity": "sha512-dtrdPCqr8u0zzTfMTTwuiKO5nEqROANliHMf5f2hIVzWSsRCAnKGN+m3Bq2vW59E2dboaPDvEc84b0JMvZqBiA==",
        "shasum": "06b4b8b4e26f63647d0768860a6b122cb2f91381",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.0.3.tgz",
        "fileCount": 106,
        "unpackedSize": 92089,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQD+VI5NWv+Bw5t7kzPvKQYKGxvI922OTbJ3sBjHEy0k6AIhAMFkJ9si/Q/z14JqFzHwATLm/bFaqQfDBwdldqlXgurb"
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJid/mSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaXw/8D4s/BwE5XRnUhdzOQmoIutakUd3MRXI1O4VHcmKAqodj1CVi\r\nx/gG99yVDKpehnLVGubzDFdz/glOPtHJve5FdGgaI3bFYVgQnD+WbX71ZQp5\r\nynWvOWc+crmNdj2pzmMoHD7oVWuSFyBq9GT3QtdGg16QkgtGRFN0S9/meX70\r\njZsptZIs0VmL1mGnzlGQ6usTF6MHFSv5QBLlPqq/YwwQkri4nzMOeXn2uYY2\r\nnqjKjo0FPh/WlnMgsX1JbMWXRl+clu/vKNrFkwrQUK7C4NJoe6q/F0aChV7A\r\nA0v5JYJENI65EbGSl8QfJEXQfEu98s25A/xFBQLLi+yct22TjGhtNghSyiXS\r\nbWmA2cOcQmqQj+U1TNy8nvmhn65fPqdbl3qXb89e3t0jsplhhzhc6vaZerS4\r\nv3kSCzmWTzJNaRn1pvinibcIlZyHZwSkWZxEx+b1tId5NtE6uQ3YaocIO6Ot\r\nd2TUZ5wZHGBASRggg4Hgc6G+w8pIw/rklaaQfiQ+hPYY7mY59As5O/MT0pHq\r\n4iasEkER7KbZOcQaZnTRhacVvTkCr0y8hId46VzxwYwWOeHhHRVidk3tneGe\r\nLcaE57eTJaYvJMhfAsCy/iBWtVuZSjdvYDl7VVdyBIUqOobD8tvRXkkJuRvQ\r\nOa3VTqna55YiLVbyoRVqsQmz165F6R5mv6E=\r\n=Yjdg\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.0.3_1652029842182_0.5624218666123031"
      },
      "_hasShrinkwrap": false
    },
    "0.1.0": {
      "name": "pixel-utils",
      "version": "0.1.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "test": "npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "doctrine": "^3.0.0",
        "esm": "^3.2.25",
        "flug": "^2.2.0",
        "readim": "^0.0.2",
        "typescript": "^4.6.4",
        "xdim": "^1.5.2"
      },
      "dependencies": {
        "quick-scale": "^0.1.0"
      },
      "gitHead": "2712687d1ab5c761e8d62886840018c6e2f4828a",
      "_id": "pixel-utils@0.1.0",
      "_nodeVersion": "18.0.0",
      "_npmVersion": "8.6.0",
      "dist": {
        "integrity": "sha512-Ug8BoKb0ypjAot6MsEzaqkh4fwMPWQ9tNDiY3HA3DtwfbzhCYn4bIlvfLfuT9So0ab3UJu5z9TVBnBVKP/5aNg==",
        "shasum": "b8586f1b351044a08f82aae546e9f4cfbc8e24bf",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.1.0.tgz",
        "fileCount": 137,
        "unpackedSize": 105991,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCujzqZee823YCfFveNzaCTi87s0iKSWiODQnd/T7SQWwIgK8NVxyQeUgVAMTvae8HgqQmwcWblY9yrxAoa2BSpnw0="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigdYsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrD8Q//RiBfPawJYjs5wqf/J0FImNNfJDitWw3Dyx6vMdcEe4j10WMn\r\nhXCGyhzvetNYs+gboheBxicCZeKp3mLNKZAY9IBb3/DeDIWeq4RPyzQs5+zU\r\nkTkX4NMV1C0sGohNCrz72zZ6Qjt+6wAFeiwVx28UPs3wHBMssYP1tJR1IenY\r\nU94diCipnPlDN468P7UHlGSThtDihjJKIoMH0OnaTANkYvmGG/A/GL2K6Ita\r\nFWK9AKedm8Zz9gD8d9GCQPZJJZPLPVosailxe2DM3gzaQlJZZPU8m+wa5Vuk\r\nUJqsYnBxZYliNlgEB37Nfmq9Gb8aHpQgDdb/YyjouCx8YSHVHvEcI+1eb2Fo\r\nOvNlTDOdZjOLrDgAWKcpxis5tibYHIDoJQ4BDbSW5mu5ZDLy4Iw36XYzFK51\r\nJS/OqN5BkIeE6aE7pNW/x1k07buwdhho/CntYV6WJtBDrhm8FLX/+qihhIhP\r\nM6SLVL5zap/DQRsy/OhXwYmxc7TPEcskf+IBixA6B1jcgWuVmWcPTRvnfmTT\r\nPJ8ZCrI0URdKzLkW971aHtIgOO7OUBqtW+CZ6OJZVWdpebyc5cjWoKr2vkL4\r\nUPU9D2q84sV7HrSSoYx1lYzcVxaa7TIWoRZPy1X/PKNs/90SMc4fnrPdr6kg\r\nxL3QuuNVYHMxR4iQwhLf+nFL2sUcR8Ov9hY=\r\n=OE/V\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.1.0_1652676139984_0.39279048972241837"
      },
      "_hasShrinkwrap": false
    },
    "0.2.0": {
      "name": "pixel-utils",
      "version": "0.2.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "doctrine": "^3.0.0",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^0.0.2"
      },
      "dependencies": {
        "quick-scale": "^0.1.0",
        "xdim": "^1.6.0"
      },
      "gitHead": "8825b53de060dd34a34d88f2cdd06380b4c2e0c4",
      "_id": "pixel-utils@0.2.0",
      "_nodeVersion": "18.0.0",
      "_npmVersion": "8.6.0",
      "dist": {
        "integrity": "sha512-zM0mwzj0AJnNei5MXfiFEQBAr78Kkq/RW6rfH2RiQ8SjzG0ojr7F9X80cGLPXbetCmPhk4pI5ljumbDI7M10pQ==",
        "shasum": "f2a713e72ae713814349ca8ce899a7459c764b4f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.2.0.tgz",
        "fileCount": 137,
        "unpackedSize": 156909,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDhrWVRdx9sA+s0ick7sv9B0DWFpjZwg1pQuE/iOtR9QgIgQ8TjHQOyJdrABnV8UQ1/zcQr1ljIjBVYhtQFOGMtrNY="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioUFQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0JA/9GaSAEhQTu7RTxhM397LtM3O1teGLg/XpWR34KDDoJt66zJrs\r\n0P1Pzpg7As1Zl3+9+Ba9EiSpPplaSrwX1CHWD/IDuIOZGqzRDX6rngH5JNqa\r\nMSj5RUpeRO/eYMe1XBX7+WuphV1GetaeqSOrQ5m+tUUHuBXtzBeAC5dqwi2b\r\nt+PgOMxCDTQLN09tAZBvesmCYOIbMjzYHYyNXLgqI7AfJJL5iUEUjYn9+O9k\r\nkVxiTk3JqNXEIyyaEQ9ueaYueVtQA7mS7S9fLjG61Et393OOCws7HwDJfl94\r\nWRjRt2t1Te21irH8DrvDU25teo7bp7nbDATDQASL6lxOf9lAFtRoITsHIhas\r\nqggh6/KWtAzx0dhdbaPausbnuVcGMngNKbKB37xXlWTNf/4MfIDOXHaNpC8p\r\n7ZfSZ/4ch9dJdjNvuRzYV30xQR77D1q1MQDy2RkM9KFR0W2uWf7oA8X1IOAR\r\n8UiVs7bdlH6W8U/RA3jrCkTBPI9y8UxLrE++UOLRiGqxjsiPzWqcW9UJBBxP\r\nBPhFl7K/h6fmZBWlHaz9VlSK6/UKMqiJZb6JUVM0hIgLHXuhAgMWbUexJVvp\r\nCQ64d572dBSzxu1+NzcQYlO9eGYpwDKv3jiX2Gp/KwzEcCCnpNQsQLSrdmh2\r\nuWbIficZUrIEUvwj5kvZU10HwunV12LngyY=\r\n=bwcX\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.2.0_1654735183785_0.9076059193912509"
      },
      "_hasShrinkwrap": false
    },
    "0.2.1": {
      "name": "pixel-utils",
      "version": "0.2.1",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "doctrine": "^3.0.0",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^0.0.2"
      },
      "dependencies": {
        "quick-scale": "^0.1.0",
        "xdim": "^1.6.0"
      },
      "gitHead": "40e812fc300db3df5a0a6dad5981d94f70d7cb49",
      "_id": "pixel-utils@0.2.1",
      "_nodeVersion": "16.15.1",
      "_npmVersion": "8.11.0",
      "dist": {
        "integrity": "sha512-CyQoQEf5YpNxb1wfZljBETQHLBkrW9pskGjONSAQr7oe8mROYivCvSLyjwX8KJJmFtHrmVtYcjv8rxX8Q+joWw==",
        "shasum": "f6e73b3e3242cfc80fe7b4874c1a10ace2d29e83",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.2.1.tgz",
        "fileCount": 137,
        "unpackedSize": 156971,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQD2RSwtlF8/eh66Su/XByyGc5fQLy1FkCkSHSi+QR57OQIhANCFfJWmSg3NMCi05BAH4OCIr1reDejuM9AxhBBYJ1ed"
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirhWTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmogkxAAirJPtP7/4FlofRjou8OCaJ3mUWT4ZjtWjSV9OJ6i6qqNqC9v\r\nfbosKk9hUpxtNgqkWyXKbjYfTemsZuPtYD4SUCrNh6LFSpWHgXDsUZ3VLDwC\r\nsf9Z1/V14k7IaYpesigfCJsnIhyoHsDBo1u0600+ep0M22Qe4mR7Rsx6DuVP\r\nEdzwgmCDfxHDSqmf1EhMkKkTx9z1Gz4pWxmAtD5/Dikz6y7DThCDmyOGeIHU\r\nUYRKIWRHYdkUGKpB6GzcYmooHt4lt1/pQo174JbrINY0O4lOoiwTF8ngtj5t\r\n9Uyj6Fj4h+sqJH2QTdpiBRB4CNBP/7r2ggNjyCexJTv5N02kodUkf3yqUkx0\r\ngTqhqg1ZE1mHQPF9Mdcgs9/JiZ0pI21Om4DKLTet7xAiUXiuX4B8K/JV41fm\r\nYs+0bZ2js5wWsRn/fNasmx5GmzXBMLlaCxm8wq/AXFNjxRsSCUoiKmBjekQF\r\nWEXATinOQS9GI9uLWySbgctS6atLj0KCOHpNaQgvLdVlOE9/qYp2ct58xtKI\r\nD8lwBtDNI688AVW6S3e/m9AOtw4YWqBfx1egea0JvGKCSOKnO6Lo0Mg5iMZp\r\nc1vDIg+RT5EI5eizlvxUV+gv4lWLRnA9hTnOqi5VzKkR4aW53cC70X1boavt\r\najMqtkUBD8jjR2xcbJLjDOil6T+3QNNSulQ=\r\n=F+fO\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.2.1_1655575954821_0.23432307233543526"
      },
      "_hasShrinkwrap": false
    },
    "0.3.0": {
      "name": "pixel-utils",
      "version": "0.3.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "f": "npm run format",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^0.0.2"
      },
      "dependencies": {
        "quick-scale": "^0.1.0",
        "xdim": "^1.6.0"
      },
      "gitHead": "bc1cd5d0ffc016b32d78d9373227fcb6863e2dc8",
      "_id": "pixel-utils@0.3.0",
      "_nodeVersion": "16.15.1",
      "_npmVersion": "8.11.0",
      "dist": {
        "integrity": "sha512-d3Qj9+cR7ACYSWO0Jr5AKEtzmZlijsgfcG+O4XT0OVdcskukEqZX4XYtQxjpHM+V4FhjEt1lbcKb+b/noNu3SA==",
        "shasum": "2281db7fc02f42cc53ba9a5cc763ab8d90b7dd33",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.3.0.tgz",
        "fileCount": 152,
        "unpackedSize": 169704,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDnVXLnuUpSIAHTg59VV4dh815uj9FqkP0xvQjXsK22CQIhAJQ+q7+wWw+N4/oJfUaS9mIVWXChnObbs/jemeKO/q9m"
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy1YoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqiDA//bS5g0houR5Cyb0MoN+taihe/BCwoU6k0qITFEgN7dcTSxD+V\r\nvfMvyD0AwpLKl7GsF5EScF5Zi7VW246lxHrb1tfL+dU79P7rhBKiMGRCygOp\r\nGoXF35KI3psu/aOQ3i6hGtIUbSWI5gZZ4CRw7ykAbHFjKsjCIOxB6iOLDB7M\r\nsqEhcXFwIQBjnu2pEVVWfN91/k1rh5CjqixdjmiOaa27CoVX8h8N0IKygvIO\r\nmUq8ivY3hczmY3SlCAdxiNBtinmdS9sWn//Zxwo6tWblwQQTE93krKaG7KwS\r\nIPkhbZlyd0Ck6WfrQPpye9yw2fBdD7hhB3oolYp/lnDupMTiFWrsQgFkQ6Ql\r\nC4fS1NbMbgnLtWWR9UiCpnHhJk36y2lELCk1en669FNkjVlKg5QMOlgUw9Ms\r\nWOQEYLJXjfLmFfsb41evROaDnR5Y73Lz8FLPmwnWSWA/RR89ptEPpXoCm0AJ\r\nUeaGyYWuuSm66jritNkkA2IxubFBjNNot460C7XfwEEHHFMRU7LJl8xZmr/o\r\nhiJ9GYXpo9JfRPsLQJeTsxAmLR9LrxjQGKIwchuDU827+S4v38+npQtItq6W\r\ndXeLa/SeViOxiAU4qXFedrjRLuOSIvGAPeQ4PuG2WqMhPI35vHicVJLfrC4c\r\nwYSddndQ0jlYObC7SwiHH0DRXLRiLcjwYU0=\r\n=d+Se\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.3.0_1657493032423_0.7155613221722312"
      },
      "_hasShrinkwrap": false
    },
    "0.4.0": {
      "name": "pixel-utils",
      "version": "0.4.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "f": "npm run format",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:ts && npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:ts": "npx ts-node ./test.ts",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^0.0.2"
      },
      "dependencies": {
        "quick-scale": "^0.1.0",
        "xdim": "^1.6.0"
      },
      "gitHead": "05f6c9d592536636f5e96e8ecfa7d3ef9c4ba4a0",
      "_id": "pixel-utils@0.4.0",
      "_nodeVersion": "16.15.1",
      "_npmVersion": "8.11.0",
      "dist": {
        "integrity": "sha512-TF4UWOTSKb5QsAqPyIMY5ywbKJMIn8ugQOmQYSE/0d4oWjfEk6VFBYkwKBdet3z16jy3V2yW6OKdd5TQoOtffQ==",
        "shasum": "b1b6fc8d1ba86302aa56d2cbb077e71f6e823eaf",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.4.0.tgz",
        "fileCount": 152,
        "unpackedSize": 169976,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCICkxeg+BDJSW0FodNIKVqhGCbkTxAOxDWFhhZTGt2z7YAiEAlT+FfrLfb8WcZMg2QwnvnePA9npIBXApli6WRd2pwBs="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy4fEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomjQ//aQIZFvEmYvNMB0+8cHnUeZq5A7f4jEGWyuliKLTvklMTEe5L\r\n1J2aQWNcwoeRCEAOzcmakBGZ5Nd1ocRU8zolioHLGv/GeC+OZy9BSc4AAQRV\r\nRYuZxjEAmJN34BE6dlrJpYmSP9g0gqDQhtb8GQJMOcmw+yj34rWs9nDYIWDf\r\n2d7gyZI04gXBN84hul4c9VyQ5f2AfUy2UaexmuaC6HkVqZJyz5TJDeV0o/sa\r\nvIKFObFgX2UaizRUWjJBV6tsCXR0zB6ns+RUlxQtrukZZRWACEO7U/qgx3AV\r\ntaYO6URRIZiskpMNnOfGI9Zru7HxaBTFzX5RSwcpuEyoBauinEmqimSMHY6l\r\nzQUC+jLYxfAcTWlf/ZD/mkyIL8qXNrZFeqm5QR1ChsE5aUxRCBcYx1lpiMOE\r\nSeuay6+jkiAK9Wiq0Enax7ASWUyDGM9GXbJxtzSTEGZDDdi7BtCQgeVQ0u6j\r\n737hn9jmOsocRrDNAbqMNXmq1Uoviyk2OvRyEDpWlk16A0YdR1UPbJnHTWDZ\r\n68qh7rbJ0Tjjq4sW9Skm77oJq6O+5GjzAxT3vFAFBduQ06jeMvSbQRgCZMoK\r\nDGa0bnH8g9NbNOFE1mNxRvBzKIv+8zpzLS+tZLwAKZK6FVWB+iniNV1srHjU\r\nIqFmHqbMhyGJbToM1RPyKDnm0pM0IuoTefs=\r\n=2q07\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.4.0_1657505732473_0.18326630867728544"
      },
      "_hasShrinkwrap": false
    },
    "0.5.0": {
      "name": "pixel-utils",
      "version": "0.5.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "f": "npm run format",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:ts && npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:ts": "npx ts-node ./test.ts",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^0.0.2"
      },
      "dependencies": {
        "quick-scale": "^0.1.0",
        "xdim": "^1.6.0"
      },
      "gitHead": "bc4b764d5eee51b504659d50e92bcccffd60518e",
      "_id": "pixel-utils@0.5.0",
      "_nodeVersion": "16.15.1",
      "_npmVersion": "8.11.0",
      "dist": {
        "integrity": "sha512-0vu6qr58l4WMpR1TyW4c7ygpUXYROG4/dhfpCgT9JIPfhPYeg21hPdZt2GsRJ3NpqILYbjVWdft5awd/naf/2Q==",
        "shasum": "934130852d96555c2d9b3f6f8b386688f0cca2bd",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.5.0.tgz",
        "fileCount": 152,
        "unpackedSize": 170275,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIEQyThcc8xMTYkp9whzsPcza2Pf4g6/6k3sfTOidU3NBAiEAyhUyy+lb7Og+A8UE40XGeqGoQqJpFHTeiQ/laLLVAqc="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4HF/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsNA//VtlERzoS2SGQAdyvX0KkghViEgiU/qujdNBpVf16WJXLqZXg\r\nY1QfycH+LvKKOdsEMtTxnz6QqitVh3K18sXN8XwDsMT9pN/0utLgsDfr1sri\r\nTAyLm+PC8gtS4n544HjA6KYJALXbdlFCvfElFkI0mfgK1p7PH894gW/o4IWZ\r\nEhRgo0p/vB+Kpuq2ElptfPHWQmBmLClQB2oiiGDqgGLF6CdTg4BANxXbMeA0\r\n5yHkhZHkeIOWoc13jhdSGsrfRR9oqRoqAhlYBVZaEFdZD7lRpFT4kS+8bNny\r\ny4Ft/X+pAMilZi4YrnZZKMf6dLLeGzEaG4b2Jv0xlgtlgnRyTxz1bzRvU2/f\r\npilcqITgMVW/jThCjbCyUv4u80wt81KSd7+hKdZGQzIyVT9Nnyv+JLJZgvEs\r\n3Ocih8Fjd1wKhmJjZe98/sSDLSy5K5Lc0pMKEP+Rmsu3vhaMEAd3/N4gRqBr\r\nnTR2bbbxQWWFVhbF7n5CC4iFmm/Om0c+jy4UMrHeQC6Uj1CcTfDNrUHyCpP6\r\nD6+AViw+IGSiVsdQP5IbN/BH1FVqK7G7/TavYiUnANInTB9MFWZ6FyTU3YRo\r\nIL+jJKSvn+wW0tsSly5hZdhGZrCCE+3YpIogyQAcZ8yOZEZ8FuEOTkE/sdNV\r\ntprixWe4G8TjPIA1ljVUR2ygqzrOQzKa89Q=\r\n=2FXJ\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.5.0_1658876287561_0.04564263494034315"
      },
      "_hasShrinkwrap": false
    },
    "0.6.0": {
      "name": "pixel-utils",
      "version": "0.6.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "f": "npm run format",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:ts && npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:ts": "npx ts-node ./test.ts",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^0.0.2"
      },
      "dependencies": {
        "quick-scale": "^0.1.0",
        "type-fest": "^2.17.0",
        "xdim": "^1.8.0"
      },
      "gitHead": "e9fd7fe6889c41dee76e85271bb213e6eb151e7e",
      "_id": "pixel-utils@0.6.0",
      "_nodeVersion": "16.15.1",
      "_npmVersion": "8.11.0",
      "dist": {
        "integrity": "sha512-89yMi3vlNboCJFJDZS+tSpH9/gTwmK4aXFlGN3sRyZcBDzkWPvqzCFXHi8o+O57rKa0i8eaQDTEreOicBT0qAA==",
        "shasum": "599324dbf36e6366ae4f6159b5c3afb61d207ad6",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.6.0.tgz",
        "fileCount": 152,
        "unpackedSize": 170905,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIG5Boo/VRKZkUUv9eN/BGAPXMsWKquhIk2EqF5Foet6xAiB4ssYSOxsI4eOY+jZTpebNowNfpjH0qkVMYcOyZZcieQ=="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4bvyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtKBAAoBtdpLIeDfz4FrOGckFY8x8dt4MaaxdSqF0/7xjtyAm6PzOK\r\nRvI+zEgZ+tplyty/UTO5PwUoHkW6vJh0ima41m3HSdnHPwsSYEqcl/uh50EW\r\nctYFPzfdkPO43btHWARyBD5L0HdUroA+3O8cvx28dLSQ8g3lP93USX0UFgTu\r\nfDvDVLsOAPg7qSNVxvCFh/NVdOHR7iVeqM+vd0Le+0l1SGASG7f1fiHL+FVA\r\nAe7T5ptiHwzcRLmULMYmoA5jPhZVn+qJD7ihtcIzWINRR5HWR36Bgj4qITPR\r\nMwAvqO9RhxkscjD/Wb12DH54rD3wBnbgDTuA7sEWw6lBGrWk7xu/8p3eNVeP\r\nJUYTt9kSsNZgBPQ23G00psGDGJ0xz8kM295aCkCSxso5dJgTGpIgrgHCnJVR\r\nGL5IDGW7Sq9RFe6CgOPQIwqi1J2z/ARRpUIptEjkn34/vo7na56jp98MmrSZ\r\nyLwYiKvLZw/9YGX8T4CrJdl5LbfIeEWZV0eqd5mtra4gfHQO20gq9bhjljl+\r\nSJRkZ9V+cnQj2m91mJcJxdl64kHZFVSWHictsd4njzTo4CCKjlWj3sk+F+zs\r\nXsMbMi0pp5Pr1jhG+EhiZCETdhI3ghpUyk4F2URDAynwcVqqf0vq6EI4OO70\r\ncXY9+3LaLOTEpfqLhvxeI9xW7HJ476KLvTA=\r\n=oWm+\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.6.0_1658960882142_0.8411941356865904"
      },
      "_hasShrinkwrap": false
    },
    "0.7.0": {
      "name": "pixel-utils",
      "version": "0.7.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx mkdirp ./dist/web && npx browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx rimraf dist",
        "f": "npm run format",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:tsc && npm run test:ts && npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:ts": "npx ts-node ./test.ts",
        "test:tsc": "tsc --noEmit ./src/index.ts",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.17.10",
        "@babel/core": "^7.17.10",
        "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
        "@babel/plugin-transform-modules-commonjs": "^7.17.9",
        "@babel/plugin-transform-typescript": "^7.16.8",
        "@babel/preset-typescript": "^7.16.7",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^0.0.2",
        "typescript": "^4.7.4"
      },
      "dependencies": {
        "quick-scale": "^0.1.0",
        "type-fest": "^2.17.0",
        "xdim": "^1.8.0"
      },
      "gitHead": "3b5c21b79145df84ed0cff753d970db194cf2fe8",
      "_id": "pixel-utils@0.7.0",
      "_nodeVersion": "16.15.1",
      "_npmVersion": "8.11.0",
      "dist": {
        "integrity": "sha512-bfXc8l67s3LMq5vR/8AcPIUcLLoM/Q59fTfV5un+OwuiAzH7ZXsh6xPf5DqPjlrxiGKtoQc//grssXUdiz29Dw==",
        "shasum": "8cd9d7be860418c51ba54158e366628b69e40c80",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.7.0.tgz",
        "fileCount": 152,
        "unpackedSize": 171205,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDSzYZWbXMVjW+KrTv2jHL1yb5k5UERiWuv87El0MGj+gIhAPmjPaevIhlMsRFvR9waixpLgkizokFCevYyYu5YmaaK"
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4cMSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYmA//cOAR3Wg7xnAzsSyV+O9WOjrA5cDz3xEpkEt0Dr49pc+hqmAa\r\nvrXCWvv7DrHZdQkUpEi383U9gxabSn607K3qR2xKF74NpYcey9YdoRXfqNPI\r\np+Db5F2zQY2eyydVzDlqNo1iVS3RJmMoSn+wZJ6ByAuVu/vGM5m7jWaYGZA+\r\nR99nHiPrTf575CiYOUw/zmQJajlP0g/6tefP52uOceurgyRmZ+UhRTFP8/9B\r\nEadNUDwWIEYZiYVroXyAfP8F/x+GEmyjP1pXVnUn97lrCdVXIbn3gwbGfZIO\r\nLSAywkxS20/LLxZ6tQJ1GROJiYN8PQgcBNnQLG0Mmsn3S33drzWaeEyFVFaB\r\nm4/QGDqhsGx+ddtr+HT0I3gO6Xz/Nw6ihvFtYzi6FJNH5K7NKTMAgfLjru++\r\n9NdsQGVpvbrn+ZEqvlR3zkYMpp0q217N9ZqOg7hGUkxDf8pr3qy5uIGi6+QC\r\nGgmGeSIlocG2Ez22tkUxawtZYaZafWFdd+pwTahjC7WzeQ9SC2DER9aGyLe7\r\nUg7xyIXooNebh2TcMae21njLeL+hhqlBlBWhBqNkS5M18WSyK/wY2xPosBu6\r\n4aBj1dq6tA+ZhdV9SVrYazLJhTj1oDV+sj1NqWo27/YgdaEhO0qBmPgeu2hU\r\n0lVMFBXPLp8ZF9mc3Q/2KPBW3gHiP0y5dgc=\r\n=SfdA\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.7.0_1658962705965_0.9716089866501707"
      },
      "_hasShrinkwrap": false
    },
    "0.8.0": {
      "name": "pixel-utils",
      "version": "0.8.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "b": "npm run build",
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --plugins @babel/plugin-proposal-nullish-coalescing-operator --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx --offline mkdirp ./dist/web && npx --offline browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx --offline rimraf dist",
        "f": "npm run format",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:tsc && npm run test:ts && npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx --offline ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:ts": "npx --offline ts-node ./test.ts",
        "test:tsc": "tsc --moduleResolution node --noEmit --noImplicitAny --skipLibCheck --target es2020 ./src/index.ts",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.19.3",
        "@babel/core": "^7.20.2",
        "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
        "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
        "@babel/plugin-transform-modules-commonjs": "^7.19.6",
        "@babel/plugin-transform-typescript": "^7.20.2",
        "@babel/preset-typescript": "^7.18.6",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^1.0.0",
        "typescript": "^4.9.3"
      },
      "dependencies": {
        "quick-scale": "^0.1.0",
        "type-fest": "^3.2.0",
        "xdim": "^1.10.0"
      },
      "gitHead": "5478f3531bffdcf06a09d9aa6bf31fa80a37bd1e",
      "_id": "pixel-utils@0.8.0",
      "_nodeVersion": "16.15.1",
      "_npmVersion": "8.11.0",
      "dist": {
        "integrity": "sha512-kJIs5CdfWMlGjh3HQuzfWTdVOJD2WZ0YiTPGp76FR9w7ubi15tHCmUxfFqnU6pRRGyuFbfIXWtUByE9rIR6ueQ==",
        "shasum": "778e62a618a3b3aeff4d2eed01c129eb1c3365be",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.8.0.tgz",
        "fileCount": 170,
        "unpackedSize": 189583,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIBx6mWJcn4C136hjYzkE5rCCvPtcueUmljA8n+8VnrTgAiAvtHyYKNnea4T0px5iaZ85e0fjSv6LyzndrhKqmTgwjg=="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhU8WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqEsQ/+LlPVAse3tTsz3VgsgyPr9RGsboi7re/TI9RwaZIIqwgBFDwr\r\n9YBtDDs16BLS+ccZWGE02oBIgkVduRyXLC4/1OVHh1VqkB+L/G16S3HUnC7k\r\nvpiu7+aEzGtOtOyzLI64V7PSbRHyicYS5VUSNtHHmiLA48rEdAbFtlJ+yugO\r\nhRXYh1W3tNd9nTdx+rc+YuJL2OVnRqrFJTbKsknBdBRjllEBjR1yqTbVSQEu\r\n9S0fkdFM9jvXM5PmfSiXddkh5Vm3PETBKRuo44c8RlrtKtqlqr8/5/o0jnoe\r\nb9jSJs9Vd78/mA284RcxNUA2XtxRVyLLZvBmHxN8t/OuKx/pLncGXb7ry7kW\r\nDncDC+UeiPzg+kjafRiip7MrC35A/RMFGTKJFkH0kJDbphUwzeD8evI3KfOT\r\nYRvVkIwsrbHFdMOHlfDczwSJQQIFm3SpZNlBZ7VuByPAg4QkgVStXTNd5CPY\r\niGOIHj77SUvuRmitZqk0x/Ec2sEwX49n7i+U5X/ikU0U3U1Ul8BSAca9bPrT\r\ndeUomaCml9DqznLQND8g9PCAKInGRR4JsOm7vOmHDEJG9O3NVWZLKtVTtQW+\r\noi2TDYcRQNnQhlLmbT4NK5s1wKE/Q8dxVbaig9kwNZASlAGeMKg3XniryPEI\r\nTmNYqWewXOUM3TQGAbYtp5q8nBbgRR1Ld5E=\r\n=TbFS\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.8.0_1669680917902_0.8336526557696275"
      },
      "_hasShrinkwrap": false
    },
    "0.9.0": {
      "name": "pixel-utils",
      "version": "0.9.0",
      "description": "Utility Functions for Pixels",
      "types": "./src/index.ts",
      "main": "./dist/cjs/index.js",
      "module": "./dist/esm/index.js",
      "unpkg": "dist/web/pixel-utils.js",
      "jsdelivr": "dist/web/pixel-utils.js",
      "exports": {
        "import": "./dist/esm/index.js",
        "require": "./dist/cjs/index.js"
      },
      "scripts": {
        "b": "npm run build",
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:web",
        "build:cjs": "npx babel --plugins @babel/plugin-transform-modules-commonjs --plugins @babel/plugin-proposal-export-namespace-from dist/esm --out-dir dist/cjs",
        "build:esm": "npx babel --extensions \".ts\" --ignore '**/test.ts' --ignore '**/index.md' --plugins @babel/plugin-proposal-export-namespace-from --plugins @babel/plugin-proposal-nullish-coalescing-operator --presets @babel/preset-typescript src --out-dir dist/esm && rm -fr ./dist/*/*bak*",
        "build:web": "npx --offline mkdirp ./dist/web && npx --offline browserify ./dist/cjs/bundle.js > ./dist/web/pixel-utils.js",
        "clean": "npx --offline rimraf dist",
        "f": "npm run format",
        "format": "npx prettier --arrow-parens=avoid --print-width=240 --trailing-comma=none --write ./src/*.ts ./src/*/*.ts",
        "setup": "cd data && sh ./setup.sh",
        "test": "npm run test:tsc && npm run test:ts && npm run test:src && npm run test:cjs && npm run test:esm && npm run test:web",
        "test:src": "for f in src/*/test.ts; do echo \"\nrunning $f\" && npx --offline ts-node $f; done",
        "test:cjs": "node -r ./dist/cjs/index.js -e ''",
        "test:esm": "node -r esm -r ./dist/esm/index.js -e ''",
        "test:ts": "npx --offline ts-node ./test.ts",
        "test:tsc": "tsc --moduleResolution node --noEmit --noImplicitAny --skipLibCheck --target es2020 ./src/index.ts",
        "test:web": "node -r ./dist/web/pixel-utils.js -e ''"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/DanielJDufour/pixel-utils.git"
      },
      "keywords": [
        "color",
        "pixel",
        "rgb",
        "rgba"
      ],
      "author": {
        "name": "Daniel J. Dufour"
      },
      "license": "CC0-1.0",
      "bugs": {
        "url": "https://github.com/DanielJDufour/pixel-utils/issues"
      },
      "homepage": "https://github.com/DanielJDufour/pixel-utils#readme",
      "devDependencies": {
        "@babel/cli": "^7.19.3",
        "@babel/core": "^7.20.2",
        "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
        "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
        "@babel/plugin-transform-modules-commonjs": "^7.19.6",
        "@babel/plugin-transform-typescript": "^7.20.2",
        "@babel/preset-typescript": "^7.18.6",
        "esm": "^3.2.25",
        "find-and-read": "^1.2.0",
        "flug": "^2.3.1",
        "readim": "^1.0.0",
        "typescript": "^4.9.3"
      },
      "dependencies": {
        "quick-scale": "^0.2.0",
        "type-fest": "^3.2.0",
        "xdim": "^1.10.0"
      },
      "gitHead": "d9e5bad748fc66f180e8f74973bd5d047f121ad7",
      "_id": "pixel-utils@0.9.0",
      "_nodeVersion": "16.15.1",
      "_npmVersion": "8.11.0",
      "dist": {
        "integrity": "sha512-ol8LTOyV611MexOdNq5zh9OMgI8d4626vRcqdedx4yxoZe75esX++Du2/0NYDZYJywckJHIA36qC+IjEdaM2gQ==",
        "shasum": "0871d88b2259d9615d6f63de2472d828a250f6dd",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pixel-utils/-/pixel-utils-0.9.0.tgz",
        "fileCount": 170,
        "unpackedSize": 189742,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIAElSxNzRrEppbGqA+Qo4DFqmL2Wb1OlgJqRzx2iSiXLAiEAyabo5Ezst/rZJruMaA4c39moMQtqo1AbPX+NYOf9JxQ="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhVW4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCdg/+Kfww0f/eieD6qh/3iMhjIiekbpf90yiW6WGxia0QLCUnrjij\r\ntUtwelYhPQADI++pWg2A2jFgcREotKVgzPVMHofMPk9SEuwEcJvpkSuwwuvF\r\noeMM2VwZf7aRduu+bMY2jjC7+i949in63rwGakpOH26Blt2yUP5ImnGk2Ypy\r\nWtWQDjQDWiZ+LJ90NqeHdD3pFnfm/Q2zGjqKDCHt+Aq1SWEJq343bPfXalpZ\r\nEyC36VvX7FkV1QaVo3kQpMBixu31v+0XCz2QHOsYXyWmA1C+LfMM6xUaSg79\r\nThXmoj5N1+w/H2WEH7lVRP3IdO6johQGM1asSqsIU2xTwfNJhuYcbZbZ/s2l\r\nXM3Uw0lSZqnu3PP0ctdVTtzT1SzmN9vdDSPxmGgZ/EkuHHrYyhZfKhVgxGhy\r\nuTzy6/qBGVME2Gp+6cBAyT/+YRPibSdMHvlS81hgruG+7xGZ1HDZFvZcmEox\r\n23tjin7/m64jz+fDP0YPWdnIlhnf/aqXa/dKD1qna/hafBJeA8yF5V6riKf4\r\n9mU9/xCOk5eGtGcNQjDXJCQon+VgzdtQs4OHb3EohYZ8yR/7tmVNAw02f7mZ\r\nGV7ZSJvdNR8N/RKtzhlynOS5ryMnJ/fK5spvlKnDe+o4SdVSy4orsl6eJwzE\r\nxOG8nb7J0+bLnd+9+kzUpD5s34G+8oRTEA4=\r\n=dRuC\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "danieljdufour",
        "email": "daniel.j.dufour@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "danieljdufour",
          "email": "daniel.j.dufour@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/pixel-utils_0.9.0_1669682616275_0.45394521084300354"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "pixel-utils",
  "time": {
    "created": "2022-05-08T14:58:01.408Z",
    "0.0.2": "2022-05-08T14:58:01.595Z",
    "modified": "2026-05-22T22:15:12.454Z",
    "0.0.3": "2022-05-08T17:10:42.367Z",
    "0.1.0": "2022-05-16T04:42:20.214Z",
    "0.2.0": "2022-06-09T00:39:44.044Z",
    "0.2.1": "2022-06-18T18:12:35.019Z",
    "0.3.0": "2022-07-10T22:43:52.664Z",
    "0.4.0": "2022-07-11T02:15:32.735Z",
    "0.5.0": "2022-07-26T22:58:07.754Z",
    "0.6.0": "2022-07-27T22:28:02.356Z",
    "0.7.0": "2022-07-27T22:58:26.165Z",
    "0.8.0": "2022-11-29T00:15:18.157Z",
    "0.9.0": "2022-11-29T00:43:36.475Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/DanielJDufour/pixel-utils#readme"
}