0.1.4 • Published 5 years ago

@surajkrishna/pxtorem v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Build Status

Coverage Status

pxtorem

=====================

A small library that convert pixel to rem

Installation

npm install @surajkrishna/pxtorem

Usage

Common JS var pxtorem = required('@surajkrishna/pxtorem');

Modules import pxtorem from "@surajkrishna/pxtorem";

inside styled component css/js file font-size: ${pxtorem(24)}

Output should be font-size: 1.5rem

Test

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.0

5 years ago