Convert is a JavaScript library that provides conversion utilities for various data types.
Check out the official demo for detailed usage instructions and examples.
To install the package, run:
npm install @jonibach/convert
Here's how you can use the package:
import { metersToFeet, feetToMeters } from '@jonibach/convert';
console.log(metersToFeet(1)); // Converts 1 meter to feet
console.log(feetToMeters(3.28084)); // Converts 3.28084 feet to meters