css-unit-converter Converts CSS values from one unit to another Installation npm install css-unit-converter Usage var convert = require('css-unit-converter');//convert 1 inch to pcconvert(1, 'in', 'pc'); // 6 //convert 10px to cm with a maximum of 10 decimalsconvert(10, 'px', 'cm', 10); // 0.2645833333