{"_id":"@artifak/pxtoem","_rev":"1-749e4e5666d64049bd7eb7ab46ebd6a5","name":"@artifak/pxtoem","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@artifak/pxtoem","version":"1.0.1","description":"A utility function to convert PX values to EM.","keywords":["px","em","utilities"],"author":{"name":"Julian Low"},"license":"MIT","sideEffects":false,"module":"dist/pxtoem.esm.js","main":"dist/pxtoem.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","devDependencies":{"@artifak/bundler":"^1.1.4"},"dependencies":{"@annexe/isstring":"^0.1.0"},"_id":"@artifak/pxtoem@1.0.1","_nodeVersion":"10.23.2","_npmVersion":"6.14.10","dist":{"integrity":"sha512-lFMQUKqv7qudWe6QZ1OWYzIG9BbsqYCQ2e8rm1y1mUIwEVWPPpyjyLlY0sfh2xtMgdgHTV6XzzQ+73In125JyQ==","shasum":"baea140b3dba286c4a44a09b69fcfaed16df1c45","tarball":"https://registry.npmjs.org/@artifak/pxtoem/-/pxtoem-1.0.1.tgz","fileCount":15,"unpackedSize":7683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLaswCRA9TVsSAnZWagAA3lIP/i9b9SCPkbN3KwOxcw5L\njLwWtNAeXdPG+fXFHIBceRT1U9VOPkPMl+8BRp0t4gcspR2wUiqV4y37kFHM\ncRvu6OMWhMB3cpVLRyQMwhKfDfD2qNl8adK3DyYhh/SLyo1RRpxKVOLeHxUb\ns4P3JBP9GzFurqacUdO3/Hk4SbuiRPRrq4GgeK1ocFMIJm4pW0UedO/Gldlw\nOWvJat2cmzz9nRmh/yzxqIR46Vnn9UXYTqzztsLaPS3+nSBYPG1nBWw8ryud\n1ydIBpTC0gDB1KWLkQGfWBQT1yuhBV8xshg6rhWTJ5dsWOna8LOhsxt5FWoa\ngm2aCvhsQOR8bYDWPka93Zzlji0Z0mnPyTkgJpz3gB5dRNmvoFUpTOaJ7XMG\nbHdY01zF0HyRWmnvw1Y2fhNbBVqdRmTf2G0Mr5scE5kh4+JeqT3kMA7/m43N\nw7Od0F1dD6GofWm4zeLiThGbJjdii8ZU1PNxqGjuTmdjA9ZSCahGSAsyF53t\nStiPRpKZ7Ff+S+a5yKzibJgMOFuuuEoksUqWu9iy3lS3QW2cU3fF2MmAD1qe\nYPxRFA99jNupNh6tUe6VHN8V0UBUZ1ZNO0EJi1VzO+66j7VWTuM8gt8LIoBI\nyoh/5wD+xVsfBkFf9iaMO6v8TGstIoU2rrWU+69+H72i6+VOtMdtq2+tU7wf\n0OzA\r\n=JnfP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCulYxLmWHkXMj8tPUXp1N/yz64Cm1X0W76g6P8A9mSDwIhAMlutkdzshdeHUjYlMCaaD5jhPcod/KDCPgWAihc+Vy5"}]},"_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/pxtoem_1.0.1_1613605679862_0.3172354615907378"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-17T23:47:59.641Z","1.0.1":"2021-02-17T23:48:00.049Z","modified":"2022-04-04T15:38:46.468Z"},"maintainers":[{"name":"heyjules","email":"julian.cy.low@gmail.com"}],"description":"A utility function to convert PX values to EM.","homepage":"https://github.com/heyjul3s/artifak#readme","keywords":["px","em","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/pxtoem`\n\nA utility function to convert px values to em.\n\n## Installation\n\n### Yarn\n\n```sh\nyarn add @artifak/pxtoem\n```\n\n### NPM\n\n```sh\nnpm install @artifak/pxtoem\n```\n\n## Usage\n\n```ts\nimport { pxToEm } from 'artifak';\nimport styled from 'styled-components';\n\nexport const Container = styled.div`\n  margin: 0 auto;\n  width: 100%;\n  background: #000;\n  padding-left: ${pxToEm('16px')};\n  padding-right: ${pxToEm('16px')};\n`;\n```\n","readmeFilename":"README.md"}