{"name":"css-unit-converter","version":"1.1.2","description":"Converts CSS values from one unit to another","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git+https://github.com/andyjansson/css-unit-converter.git"},"keywords":["css","value","unit","converter","convert"],"author":{"name":"Andy Jansson"},"license":"MIT","bugs":{"url":"https://github.com/andyjansson/css-unit-converter/issues"},"homepage":"https://github.com/andyjansson/css-unit-converter","devDependencies":{"tape":"^4.6.3"},"gitHead":"b88c04530c243fec807b43120d90a1eb338c30f4","_id":"css-unit-converter@1.1.2","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-IiJwMC8rdZE0+xiEZHeru6YoONC4rfPMqGm2W85jMIbkFvv5nFTwJVFHam2eFrN6txmoUYFAFXiv8ICVeTO0MA==","shasum":"4c77f5a1954e6dbff60695ecb214e3270436ab21","tarball":"http://registry-npm.ywwl.com/css-unit-converter/download/css-unit-converter-1.1.2.tgz","fileCount":6,"unpackedSize":5607,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJev/FZCRA9TVsSAnZWagAA66QP/RIZ+YRquO07bx4Vn3Mk\nu9BK7xc5odQBAMPP1D0iunFF2nDur7IH8gQDpdBnOAzOLrrorG0ShzloMtmg\nHb2WwZRelci3LtHK9ysmc7h0iWCjsIHVulwaqCz1R/aRqoX2xe1BMiNjG8pL\n9yABLbHsX6GYCzIp1SsBgLnGCVYUj3alR0CGk0zJ2TfqpoA2U+MmON9wkoOw\n2B5TL3o2fUm/gdG7/32dnnl/xNJXh79WBlN8LBvkxOg4wDEuED3js6yNdago\nThFP432h6Uw0IpW7AQQVkL9vblce+m7otzHPRKF7GWcnoXotwXqECLqgWfFB\nZDmS5YanbycBV+CkNjdJPCxgEQMoYhbEQTcrc5FRo+xiqFQkhfK8/d+uC3DW\nXGlg99UWgXtgj8NHUZxSXO8OSeY9ZFgc/C/15swwNSL3Sijbyg9+1H8keYcO\nGtigXfXS5KtgBGtDImlhhD2lUCq85VSbm2RRGRL4b2YcWVBbD8VJoyT6oBcR\n1nJIierCc0Afv6J6SN5vPTOZDZy5XcMFakSrgt53qBGkv9cmjqn6s6wVyXHK\nqyWiCJL7EGOtIMTycEyZYj2XQB4Hn7UtP+H6IAHIF02/X8n0uPUmWg/nDBDe\n+UZdfOcQqr1bd5yrJTgw4iJaNNvRwibCAzQQOY0Wpn7Jf7y4tCkXow4Oh6up\nuobH\r\n=iH3H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk/6+UJVK0g8gGMa1pnNbpkDjdnhCmEIRecH6n6qhmRAiEAiW6XdjXR4GpsKbUgOfQ86DwgbXhlWCVmarm4wwSWYZY="}],"size":2375,"noattachment":false,"key":"/css-unit-converter/-/css-unit-converter-1.1.2.tgz"},"maintainers":[{"name":"andyjansson","email":"jansson.andy@gmail.com"}],"_npmUser":{"name":"andyjansson","email":"jansson.andy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-unit-converter_1.1.2_1589637464742_0.8400560207722636"},"_hasShrinkwrap":false,"readme":"# css-unit-converter [![Build Status][ci-img]][ci]\r\n\r\nConverts CSS values from one unit to another\r\n\r\n[PostCSS]: https://github.com/postcss/css-unit-converter\r\n[ci-img]:  https://travis-ci.org/andyjansson/css-unit-converter.svg\r\n[ci]:      https://travis-ci.org/andyjansson/css-unit-converter\r\n\r\n\r\n## Installation\r\n\r\n```js\r\nnpm install css-unit-converter\r\n```\r\n\r\n## Usage\r\n\r\n\r\n```js\r\nvar convert = require('css-unit-converter');\r\n//convert 1 inch to pc\r\nconvert(1, 'in', 'pc'); // 6\r\n\r\n//convert 10px to cm with a maximum of 10 decimals\r\nconvert(10, 'px', 'cm', 10); // 0.2645833333\r\n```\r\n","publish_time":1589637464851,"_cnpm_publish_time":1589637464851,"dist-tags":{"latest":"1.1.2"}}