{"_id":"css-unit-converter","_rev":"155419","name":"css-unit-converter","description":"Converts CSS values from one unit to another","dist-tags":{"latest":"1.1.2"},"maintainers":[{"name":"andyjansson","email":"jansson.andy@gmail.com"}],"time":{"modified":"2021-06-03T11:35:58.000Z","created":"2015-05-18T00:21:32.587Z","1.1.2":"2020-05-16T13:57:44.851Z","1.1.1":"2017-01-25T20:51:29.721Z","1.1.0":"2017-01-24T21:49:13.158Z","1.0.0":"2015-05-18T00:21:32.587Z"},"users":{},"author":{"name":"Andy Jansson"},"repository":{"type":"git","url":"git+https://github.com/andyjansson/css-unit-converter.git"},"versions":{"1.1.2":{"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":{"shasum":"4c77f5a1954e6dbff60695ecb214e3270436ab21","size":2375,"noattachment":false,"key":"/css-unit-converter/-/css-unit-converter-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-unit-converter/download/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,"publish_time":1589637464851,"_cnpm_publish_time":1589637464851},"1.1.1":{"name":"css-unit-converter","version":"1.1.1","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":"380831aaee92dd72d206988ba4c3490cf5a51782","_id":"css-unit-converter@1.1.1","_shasum":"d9b9281adcfd8ced935bdbaba83786897f64e996","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"andyjansson","email":"jansson.andy@gmail.com"},"dist":{"shasum":"d9b9281adcfd8ced935bdbaba83786897f64e996","size":2224,"noattachment":false,"key":"/css-unit-converter/-/css-unit-converter-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-unit-converter/download/css-unit-converter-1.1.1.tgz"},"maintainers":[{"name":"andyjansson","email":"jansson.andy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/css-unit-converter-1.1.1.tgz_1485377489051_0.5459652354475111"},"directories":{},"publish_time":1485377489721,"_cnpm_publish_time":1485377489721,"_hasShrinkwrap":false},"1.1.0":{"name":"css-unit-converter","version":"1.1.0","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":"aa7cbe2aac51d061dc8b079c7c6ee758c848a6aa","_id":"css-unit-converter@1.1.0","_shasum":"72bfcf8d0e0266be86e72bc2601050fbde288a9b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"andyjansson","email":"jansson.andy@gmail.com"},"dist":{"shasum":"72bfcf8d0e0266be86e72bc2601050fbde288a9b","size":2188,"noattachment":false,"key":"/css-unit-converter/-/css-unit-converter-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-unit-converter/download/css-unit-converter-1.1.0.tgz"},"maintainers":[{"name":"andyjansson","email":"jansson.andy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/css-unit-converter-1.1.0.tgz_1485294551380_0.6560532434377819"},"directories":{},"publish_time":1485294553158,"_cnpm_publish_time":1485294553158,"_hasShrinkwrap":false},"1.0.0":{"name":"css-unit-converter","version":"1.0.0","description":"Converts CSS values from one unit to another","main":"index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"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","gitHead":"138d89be786d6dfdcd80c3262a1b74ef12de1320","_id":"css-unit-converter@1.0.0","_shasum":"8cec56a1f1b8a51da8d8ee853fce398a2f216cd6","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"andyjansson","email":"jansson.andy@gmail.com"},"dist":{"shasum":"8cec56a1f1b8a51da8d8ee853fce398a2f216cd6","size":2055,"noattachment":false,"key":"/css-unit-converter/-/css-unit-converter-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-unit-converter/download/css-unit-converter-1.0.0.tgz"},"maintainers":[{"name":"andyjansson","email":"jansson.andy@gmail.com"}],"directories":{},"publish_time":1431908492587,"_cnpm_publish_time":1431908492587,"_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","_attachments":{},"homepage":"https://github.com/andyjansson/css-unit-converter","bugs":{"url":"https://github.com/andyjansson/css-unit-converter/issues"},"license":"MIT"}