{"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","tarball":"http://registry-npm.ywwl.com/css-unit-converter/download/css-unit-converter-1.1.0.tgz","integrity":"sha512-t836Mo7j7YiZyKcD0PXu+W84L9pCWKkIfkCTWOd9AWMt8NY+is+JMDeUTBpMqi0CpOhCzmsfDKnPJfz9XPpyCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwgKLU4isv7u2A+RLBo5jYt7MQfZcvW8JmLtDIRadLHAIgb5OZJFG+MnIC6xV0eP9cHu1yMExlIJyLMvAkpbjggjc="}],"size":2188,"noattachment":false,"key":"/css-unit-converter/-/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":{},"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":1485294553158,"_cnpm_publish_time":1485294553158,"dist-tags":{"latest":"1.1.2"}}