rem-to-em-cli

1.0.0 • Public • Published

rem-to-em-cli

rem-to-em-cli is a CLI tool that converts rem to em.

npm license

Quick Start

Get rem-to-em-cli up and running quickly!

  1. Run (default base size is 16px):
    npx rem-to-em-cli 2
    or with a custom base size:
    npx rem-to-em-cli 2 18
  2. Done!

Example Output

This will convert the rem value to its em equivalent using a base size of 16px by default. You can also provide a custom base size.

  • Input with default base: 2rem

  • Output: 2rem = 2em (Base: 16px)

  • Input with custom base: 2rem with Base: 18px

  • Output: 2rem = 1.78em (Base: 18px)

Contributing

We welcome contributions to rem-to-em-cli! Whether it's reporting a bug, suggesting an enhancement, or submitting a pull request, your input is valued.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any questions, suggestions, or feedback, please contact love1ace.

Package Sidebar

Install

npm i rem-to-em-cli

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.42 kB

Total Files

4

Last publish

Collaborators

  • lovelacedud