Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 707 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 707 Bytes

rem-this

npm

A simple CLI tool to convert pixel values to rem units.

Install

npm install -g rem-this

Usage

rem-this 1440

Output:

1440px => 90rem
Copied to clipboard!

Flags

Flags Description Default
--round, -r Round the number to the nearest integer true
--disable-copy, -d Disable copying the result to the clipboard false
--font-size, -f The base font size to convert to rem units 16