{"_id":"@artifak/pxtorem","_rev":"1-3dacee6200c7a21b398e215318120bfa","name":"@artifak/pxtorem","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@artifak/pxtorem","version":"1.0.1","description":"A utility function to convert PX values to REM.","keywords":["px","rem","utilities"],"author":{"name":"Julian Low"},"sideEffects":false,"license":"MIT","module":"dist/pxtorem.esm.js","main":"dist/pxtorem.cjs.js","src":"src/index.ts","types":"dist/src/index.d.ts","directories":{"src":"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","dependencies":{"@artifak/pxtoem":"^1.0.1"},"devDependencies":{"@artifak/bundler":"^1.1.4"},"_id":"@artifak/pxtorem@1.0.1","_nodeVersion":"10.23.2","_npmVersion":"6.14.10","dist":{"integrity":"sha512-p2415t9eIBj6TRM3baBKI16CwZu4EH5y/Y9T2gk862UFN+TiySDlp8HhTE/1oKs9el8ZjVXVFehgqNix6Hzw6A==","shasum":"20ebe1571a0d6bb632684d8c6cd585bed7a7cc3a","tarball":"https://registry.npmjs.org/@artifak/pxtorem/-/pxtorem-1.0.1.tgz","fileCount":15,"unpackedSize":11364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLasvCRA9TVsSAnZWagAA+5cP/iHfdCdLtR2s8hCk9QN0\nkpO65KBfb21/fza6lVy8OjI/aaxqtjZMX7jm16URy0NFwbkSpgkmeytC8e1A\ney6VAo2es/F01PEazrlsxYETX5D0tD5UtyMNPp/qZ5xkXYDOe44RrmYPX2R+\nEFqSSDhdU7ptYeTrig3RZGdkBuv/mBWVewr/IHjv4H0RVbpJloCLPfpNzMGP\nKdeALvnwSIKp+YIJmRG+eCqOjpUQh9IPXiXr+NeAaUR6WjNarJw7mLLl6ZOZ\ntXfFGotibSODyOzfPxoUqsfv1fT4vl1ELevAb4Id1Jwimo2OCEiLEvJ6HPwD\nHWQ/m/9ok4oqkItp6dGpDQtz0664VDU4MqkRjBWYqNX1ivwzreriUyId3lDU\nrCHUZkw63beLHRCwsBieywedS32ujDTAc0z7t76lDyMV416xtEO82WQ2Agc0\nppk+Veo3iZPqVnbLHhaizPfAqNemNiCAtY1cqjnBafQJKw459Nrsnlukqru7\nZ8uC0lIUoE1Y1xLPTJsvr3qAmE3N4D7vfyxmcv/Zqyb5S7UJqnGmKPKjlY1v\nBJ8Y7opC4QNCNT8n71BY03CU4asf6FK9et5LIBno/HIvDxFv/8CAXGtGwgU1\n/m+9lEoLbMasdRfww29Cbn8lkXVdlRET9vxuQosJtMKoIc8a0sDRRflQn45G\n4ZZs\r\n=evAN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFxBwF455uvcwdxsbyc35iR/Pd1FY9YXe+AoMaO+bKDAIgGzGWwLVqoIv4tP8q6tX5uKE4pA/2lOj/rZ+L3wziPmQ="}]},"_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/pxtorem_1.0.1_1613605678852_0.9124164188727109"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-17T23:47:58.623Z","1.0.1":"2021-02-17T23:47:59.000Z","modified":"2022-04-04T15:38:46.672Z"},"maintainers":[{"name":"heyjules","email":"julian.cy.low@gmail.com"}],"description":"A utility function to convert PX values to REM.","homepage":"https://github.com/heyjul3s/artifak#readme","keywords":["px","rem","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/pxtorem`\n\nA utility function to convert px values to rem.\n\n## Installation\n\n### Yarn\n\n```sh\nyarn add @artifak/pxtorem\n```\n\n### NPM\n\n```sh\nnpm install @artifak/pxtorem\n```\n\n## Usage\n\n```ts\nimport { pxToRem } from 'artifak';\nimport styled from 'styled-components';\n\nexport const Container = styled.div`\n  margin: 0 auto;\n  width: 100%;\n  background: #000;\n  font-size: ${pxToRem('48px')};\n`;\n```\n","readmeFilename":"README.md"}