1.0.0 • Published 11 months ago

em-to-rem-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

em-to-rem-cli

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

npm license

Quick Start

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

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

Example Output

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

  • Input with default base: 2em
  • Output: 2em = 2rem (Base: 16px)

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

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

Contributing

We welcome contributions to em-to-rem-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.

1.0.0

11 months ago