A CLI application that converts centimetres into metres and vice versa!
npm install -g @eshan1799/unitconverter
npm install @eshan1799/unitconverter
-
Supported units: cm (centimetres) & m (metres)
-
String format:
x unit1 in unit2
converter "'enter string here'"
converter "5 m in cm"
--> output:"500 cm"
-
Add script(s) in your package.json
-
"converter": "converter \"enter string here\""
-
npm run converter
-
"converter": "converter \"5 m in cm\""
-
npm run converter
-
--> output:
"500 cm"