{"_id":"@arsams/color-shades","_rev":"3-a97c2769d8518ed3c37f2450fb0cd46a","name":"@arsams/color-shades","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.6":{"name":"@arsams/color-shades","description":"A simple package to generate shades of a color","keywords":["color","shades","lighten","darken"],"version":"0.0.6","license":"MIT","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/arsamsarabi/color-shades.git"},"homepage":"https://github.com/arsamsarabi/color-shades#readme","bugs":{"url":"https://github.com/arsamsarabi/color-shades/issues"},"author":{"name":"Arsam Sarabi","email":"arsamsarabi@me.com","url":"https://arsam.dev"},"devDependencies":{"@changesets/cli":"^2.26.0","tsup":"^6.6.3","typescript":"^4.9.5"},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts","lint":"tsc","change":"changeset","release":"pnpm build && changeset publish"},"_id":"@arsams/color-shades@0.0.6","_integrity":"sha512-GOgdZjOzKhS4HvjcEKE7gmUkouwwsJKC2IV7PXNv3PzPOXV7ZgvjvQF70/6miSalIr7+iUHqvxKS+DudwNL1tA==","_resolved":"/tmp/c279d8b317b4d741f432d824b7c62106/arsams-color-shades-0.0.6.tgz","_from":"file:arsams-color-shades-0.0.6.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-GOgdZjOzKhS4HvjcEKE7gmUkouwwsJKC2IV7PXNv3PzPOXV7ZgvjvQF70/6miSalIr7+iUHqvxKS+DudwNL1tA==","shasum":"3e81cbc3c24e4dcef512ac58a97588a5d738831a","tarball":"https://registry.npmjs.org/@arsams/color-shades/-/color-shades-0.0.6.tgz","fileCount":12,"unpackedSize":3684,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDHYaaBUEJDQngFVU4V9EQgM3YPhDC55xXhGezOxaxagIgIl8rflT0/Fe2gxDMsiVAXZ7kzyrOHuR+VNtoDjIBl4Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+6aUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZfw/+JHmWfMzMW/CN1FtQ5Y5XmQy4vNz7RiXE3gdX/2Iqhql4dWUC\r\nEHEYesdXHjK6orX/vx2j+8C70+vohzP5Ox/MkabahDDq+QegFBEXzR1r9kqb\r\nMMbJ8DamlIQjh3V34QkCqyXkK4o5QmRHT2z+FOXnCxKLWqQWOKT3ol972L/s\r\nm3toDZLMU2Vvoh1/CQBq4FJrST2HayXERBHHJxGy/xBoTEqrGI4QwMO5K2PC\r\nPRtI61jZK4E5udmnI15wY+uq7zCjKxCGYJ09vN+U+Ug+9cReojeW3D4H/v9T\r\neFwglhBRgxt8D8mUU4+XpOtu6DqT6GZc/PX3VQyP4VvH45i1dcWSDbuo2VUt\r\neaihJ/28eaz10Z7NiwoxLt77KXtHY350hu50m9A0C1F2u7d6w/aCmqWSD6hc\r\nJTVXJL1Q0C5Yi82uGU1S2cJSDNVTqv6DyNC1LAd5vCONOCPjbhJYEx4VGntl\r\nFRZ6VZGPfdJi/t7osQKogZhgh9fX97ZDjYB7fRLA1kDcQI3I1iHr5Rtjph6j\r\nsGw0ZtqJJz90fVfsaYkPzworrUHZsCYMHGX0fWoSRYGWobiVx02YH7QUi222\r\nIk7BxFrZc7igzgBmq9TRwarHYsbLtNIzjNU2jyvWsKEgRPpX5kP1QNL/kkF0\r\nohhiw7X9XSbSdbUzdfauZnpQo0GfnRf1jdo=\r\n=/sae\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arsamsarabi","email":"arsamsarabi@me.com"},"directories":{},"maintainers":[{"name":"arsamsarabi","email":"arsamsarabi@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-shades_0.0.6_1677436564461_0.621443646444477"},"_hasShrinkwrap":false},"0.1.0":{"name":"@arsams/color-shades","description":"A simple package to generate shades of a color","keywords":["color","shades","lighten","darken"],"version":"0.1.0","license":"MIT","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/arsamsarabi/color-shades.git"},"homepage":"https://github.com/arsamsarabi/color-shades#readme","bugs":{"url":"https://github.com/arsamsarabi/color-shades/issues"},"author":{"name":"Arsam Sarabi","email":"arsamsarabi@me.com","url":"https://arsam.dev"},"devDependencies":{"@babel/core":"^7.23.3","@babel/preset-env":"^7.23.3","@babel/preset-typescript":"^7.23.3","@changesets/cli":"^2.26.0","@types/color":"^3.0.6","@types/jest":"^29.5.8","babel-jest":"^29.7.0","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","tsup":"^6.6.3","typescript":"^4.9.5"},"dependencies":{"color":"^4.2.3","zod":"^3.22.4"},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts","lint":"tsc","change":"changeset","release":"pnpm build && changeset publish --public","test":"jest"},"_id":"@arsams/color-shades@0.1.0","_integrity":"sha512-NbVeOSA39t4og4qwY2PvOgiLrJ83DFLTPONZFaaxJHwgddByl+ci5o7dnceItSthlJ13CPbIagKVpgYgeYTh5w==","_resolved":"/private/var/folders/nb/nvpny7_929x72k8_s90rt9_m0000gn/T/bab1bd9717e90d910c45955157f04e87/arsams-color-shades-0.1.0.tgz","_from":"file:arsams-color-shades-0.1.0.tgz","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-NbVeOSA39t4og4qwY2PvOgiLrJ83DFLTPONZFaaxJHwgddByl+ci5o7dnceItSthlJ13CPbIagKVpgYgeYTh5w==","shasum":"94f0fa0b3a1f4fc1c250474ada2d2257af7ef20b","tarball":"https://registry.npmjs.org/@arsams/color-shades/-/color-shades-0.1.0.tgz","fileCount":6,"unpackedSize":12157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHQeXPtZoVW1nastxXI/hwl9GHZzMjRBZzJCZ7JZ40joAiBu4z0RAsIdKoHltVmWr0JMtbImOeP522c0QWY/3cI86g=="}]},"_npmUser":{"name":"arsamsarabi","email":"arsamsarabi@me.com"},"directories":{},"maintainers":[{"name":"arsamsarabi","email":"arsamsarabi@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-shades_0.1.0_1700556188313_0.7725116796044171"},"_hasShrinkwrap":false},"0.1.1":{"name":"@arsams/color-shades","description":"A simple package to generate shades of a color","keywords":["color","shades","lighten","darken"],"version":"0.1.1","license":"MIT","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/arsamsarabi/color-shades.git"},"homepage":"https://github.com/arsamsarabi/color-shades#readme","bugs":{"url":"https://github.com/arsamsarabi/color-shades/issues"},"author":{"name":"Arsam Sarabi","email":"arsamsarabi@me.com","url":"https://arsam.dev"},"devDependencies":{"@babel/core":"^7.23.3","@babel/preset-env":"^7.23.3","@babel/preset-typescript":"^7.23.3","@changesets/cli":"^2.26.0","@types/color":"^3.0.6","@types/jest":"^29.5.8","babel-jest":"^29.7.0","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","tsup":"^6.6.3","typescript":"^4.9.5"},"dependencies":{"color":"^4.2.3","zod":"^3.22.4"},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts","lint":"tsc","change":"changeset","release":"pnpm build && changeset publish --public","test":"jest"},"_id":"@arsams/color-shades@0.1.1","_integrity":"sha512-iLn30wtjfeBqXTlq/pjiFETA4yQEgqwODDhTXf/P+SzKFELq0S7jCWvjMb/FIqPG10P+hVA0jrjBXtkiNVoJQg==","_resolved":"/private/var/folders/nb/nvpny7_929x72k8_s90rt9_m0000gn/T/e38fcbdfc9944ba6cd81d7b17ddc17bf/arsams-color-shades-0.1.1.tgz","_from":"file:arsams-color-shades-0.1.1.tgz","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-iLn30wtjfeBqXTlq/pjiFETA4yQEgqwODDhTXf/P+SzKFELq0S7jCWvjMb/FIqPG10P+hVA0jrjBXtkiNVoJQg==","shasum":"865226cf4551d169da6da90ba498d966deff2b09","tarball":"https://registry.npmjs.org/@arsams/color-shades/-/color-shades-0.1.1.tgz","fileCount":6,"unpackedSize":12846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOcdl6f8M44Iwt1zKSsobXArxmP4qm/fw05VltjHtF1gIhAMqy0joYkz91swlGiUXyGTLoEtOadF7fiJQL9Bzv+h3n"}]},"_npmUser":{"name":"arsamsarabi","email":"arsamsarabi@me.com"},"directories":{},"maintainers":[{"name":"arsamsarabi","email":"arsamsarabi@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-shades_0.1.1_1700557043673_0.31317591542651924"},"_hasShrinkwrap":false},"0.1.2":{"name":"@arsams/color-shades","description":"A simple package to generate shades of a color","keywords":["color","shades","lighten","darken"],"version":"0.1.2","license":"MIT","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/arsamsarabi/color-shades.git"},"homepage":"https://github.com/arsamsarabi/color-shades#readme","bugs":{"url":"https://github.com/arsamsarabi/color-shades/issues"},"author":{"name":"Arsam Sarabi","email":"arsamsarabi@me.com","url":"https://arsam.dev"},"devDependencies":{"@babel/core":"^7.23.3","@babel/preset-env":"^7.23.3","@babel/preset-typescript":"^7.23.3","@changesets/cli":"^2.26.0","@types/color":"^3.0.6","@types/jest":"^29.5.8","babel-jest":"^29.7.0","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","tsup":"^6.6.3","typescript":"^4.9.5"},"dependencies":{"color":"^4.2.3","zod":"^3.22.4"},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts","lint":"tsc","change":"changeset","release":"pnpm build && changeset publish --public","test":"jest"},"_id":"@arsams/color-shades@0.1.2","_integrity":"sha512-ks1fdwgJWWOqZjVZxNeZPcfhZauKRpQle8EBHSzG6QDXwIcgKClXNUa8l4sbcrEgdobOHXl5LOQ46IuNf4O9QA==","_resolved":"/private/var/folders/nb/nvpny7_929x72k8_s90rt9_m0000gn/T/96145cc4f2e38a731529ba48f817afb4/arsams-color-shades-0.1.2.tgz","_from":"file:arsams-color-shades-0.1.2.tgz","_nodeVersion":"20.7.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-ks1fdwgJWWOqZjVZxNeZPcfhZauKRpQle8EBHSzG6QDXwIcgKClXNUa8l4sbcrEgdobOHXl5LOQ46IuNf4O9QA==","shasum":"3288da41548df10d19a24b7bc70d33bd93c9fbfb","tarball":"https://registry.npmjs.org/@arsams/color-shades/-/color-shades-0.1.2.tgz","fileCount":6,"unpackedSize":12369,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXTvHWsA8dY5UE8vU+9XjzggXGU2zR19GzUbhUUugJ9AiARI7ozkBH040zkvss4M9qz+Y8LZZkiEmLo8LzbKtZTlw=="}]},"_npmUser":{"name":"arsamsarabi","email":"arsamsarabi@me.com"},"directories":{},"maintainers":[{"name":"arsamsarabi","email":"arsamsarabi@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-shades_0.1.2_1700559058589_0.957920246588063"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-26T18:36:04.409Z","0.0.6":"2023-02-26T18:36:04.612Z","modified":"2023-11-21T09:30:58.943Z","0.1.0":"2023-11-21T08:43:08.511Z","0.1.1":"2023-11-21T08:57:23.894Z","0.1.2":"2023-11-21T09:30:58.754Z"},"maintainers":[{"name":"arsamsarabi","email":"arsamsarabi@me.com"}],"description":"A simple package to generate shades of a color","homepage":"https://github.com/arsamsarabi/color-shades#readme","keywords":["color","shades","lighten","darken"],"repository":{"type":"git","url":"git+ssh://git@github.com/arsamsarabi/color-shades.git"},"author":{"name":"Arsam Sarabi","email":"arsamsarabi@me.com","url":"https://arsam.dev"},"bugs":{"url":"https://github.com/arsamsarabi/color-shades/issues"},"license":"MIT","readme":"# color-shades\n\n## Installation\n\n```shell\n  pnpm add @arsams/color-shades\n```\n\n## Usage\n\n```typescript\nimport { getShades, type GetShadesInput } from \"@arsams/color-shades\";\n\nconst shades = getShades({\n  amount: 0.1, // number between 0 and 1 (default: 0.1)\n  color: \"#bada55\", // base color\n  count: 10, // number of shades (default: 10)\n  mode: \"both\", // color mode (default: 'both') (lighten | darken | both)\n  output: \"hex\", // output format (default: 'hex') (hex | rgb | hsl)\n});\n\nconsole.log(shades);\n\n// [\n//   \"#e2f0b9\",\n//   \"#d4e996\",\n//   \"#c7e276\",\n//   \"#bbdc5a\",\n//   \"#bada55\",\n//   \"#b0d53c\",\n//   \"#a4ca2c\",\n//   \"#94b628\",\n//   \"#85a424\",\n//   \"#789420\",\n// ]\n```\n","readmeFilename":"README.md"}