Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sturdynut/emify

📟 Convert "px" to "em" or "rem" units in the command line
https://github.com/sturdynut/emify

Last synced: 8 days ago
JSON representation

📟 Convert "px" to "em" or "rem" units in the command line

Awesome Lists containing this project

README

        

# emify [![Build Status](https://travis-ci.org/sturdynut/emify.svg?branch=master)](https://travis-ci.org/sturdynut/emify)

> A CLI to convert PX to *EM units

## Install

```
$ npm install --global emify
```

## Usage

```
$ emify [input]

Options
--base 10px [Default: 16px]
--unit em [Default: rem]

Examples
$ emify 12px --base 14px --unit rem
1.17rem
```