Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sturdynut/emify
- Owner: sturdynut
- License: mit
- Created: 2019-07-26T20:40:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-26T23:11:02.000Z (over 5 years ago)
- Last Synced: 2024-10-10T18:48:28.102Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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
```