{"_id":"@artifak/hextorgba","_rev":"1-a4935365f8ee6256bd2cc804681aae1c","name":"@artifak/hextorgba","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@artifak/hextorgba","version":"1.0.1","description":"Utility function to convert style hex colour codes to RGBA string.","keywords":["color","RGBA","hexadecimal","utilities"],"author":{"name":"Julian Low"},"license":"MIT","sideEffects":false,"main":"dist/hextorgba.cjs.js","module":"dist/hextorgba.esm.js","src":"src/index.ts","types":"dist/src/index.d.ts","directories":{"lib":"src","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/heyjul3s/artifak.git"},"scripts":{"build":"rimraf dist && builder","test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/heyjul3s/artifak/issues"},"homepage":"https://github.com/heyjul3s/artifak#readme","devDependencies":{"@artifak/bundler":"^1.1.4"},"dependencies":{"@artifak/hextorgb":"^1.0.1"},"_id":"@artifak/hextorgba@1.0.1","_nodeVersion":"10.23.2","_npmVersion":"6.14.10","dist":{"integrity":"sha512-rrWpRFv/l0sDmUPAZuwRYl8w26MEiLCdEwE+2+ba/taDlxmLd3WHOiXQ7OJEn6sOGTGWAorYLK+oKLxiFYF++g==","shasum":"ccac989b74436e6c9f81ac3fbf6e99fc4b3b4b16","tarball":"https://registry.npmjs.org/@artifak/hextorgba/-/hextorgba-1.0.1.tgz","fileCount":15,"unpackedSize":18628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLasoCRA9TVsSAnZWagAAsv8P/0hTbA7pI3ZXr1xlRCdq\njv6hvjdk/RNRDhSsM+d5c60Yq3Q5JbOSlbrmdAdQjdljKgK+c1t63flk33RZ\nsfGpgqpVxQHLVXRaT0ZwzYg6kfcLv+rKRCy6DNvytFjIdk41as3I10BCk0EA\nx1/ivxdAcZaxOshknMREk6q6+TzaOsdmSYn6wwSDKv5tg7kySCrPsNOBpY3+\n9KmUf5EAUX4nrfmJ8m1g9aFrF4Dh+N82Ltt6feylc/RVqVhrn2t9wfLlynmw\n0eslIdah8dE5MwaVrJqZL8yrP6WoHpcXVY78aQg3bMlJENkZ/p2GsyBdw+XV\neJg6CQlBZ0u/IbALfPx4zClhtoBMITNVx/R+ZUTXEAidhflTJ5ooVUJ1+VO8\nxuvOgKcEZXicekWh85z+csmTPs2aNogWPGF253rkfvQQ9/NNq8IIhXMUS0K5\nWerzJkvHQvS+sj58wplLQAHGoFAks0HYGWn1WiBqFk5pEejSlqp+s/rfdX6V\nD1IY8ad0An8nFVZ23NTdiM+I4mLJ30HuY2hoxrrFMlXvylJVvrM93h/9D1NO\n7wX9ROwVJXRPNh3DAPQ5hPJkwLA4D/Vg4upPznTbBR+hTPuoF4m0WARPWtti\nSluH9+jl7rk3cRquz/Uq+fogRQVa9PBYtcljJr+nl63vdT5fOAZ5TuBpfJ5E\nGBxW\r\n=e4J1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXtqNrkBSdN0/DDMc2UCP3x70Ry50dQY4mytlEpNm1mwIgHxRp3g92JMO61jlxTmd/RpGzCNIMkpSlIKbdipFUrXM="}]},"_npmUser":{"name":"heyjules","email":"julian.cy.low@gmail.com"},"maintainers":[{"name":"heyjules","email":"julian.cy.low@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hextorgba_1.0.1_1613605671817_0.11964938341296238"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-17T23:47:51.602Z","1.0.1":"2021-02-17T23:47:51.942Z","modified":"2022-04-04T15:38:45.805Z"},"maintainers":[{"name":"heyjules","email":"julian.cy.low@gmail.com"}],"description":"Utility function to convert style hex colour codes to RGBA string.","homepage":"https://github.com/heyjul3s/artifak#readme","keywords":["color","RGBA","hexadecimal","utilities"],"repository":{"type":"git","url":"git+https://github.com/heyjul3s/artifak.git"},"author":{"name":"Julian Low"},"bugs":{"url":"https://github.com/heyjul3s/artifak/issues"},"license":"MIT","readme":"# `@artifak/hextorgba`\n\nA utility function to convert hexadecimal colour values to RGBA string.\n\n## Installation\n\n### Yarn\n\n```sh\nyarn add @artifak/hextorgba\n```\n\n### NPM\n\n```sh\nnpm install @artifak/hextorgba\n```\n\n## Usage\n\n```ts\nimport { hexToRGBA } from 'artifak';\nimport styled from 'styled-components';\n\nexport const Container = styled.div`\n  margin: 0 auto;\n  width: 100%;\n  background: #000;\n  color: ${hexToRGBA('#FFF', 0.75)};\n`;\n```\n","readmeFilename":"README.md"}