@jonibach/convert
v1.2.2
Published
[![npm version](https://img.shields.io/npm/v/@jonibach/convert.svg)](https://www.npmjs.com/package/@jonibach/convert) [![GitHub repo](https://img.shields.io/badge/GitHub-repo-blue.svg)](https://github.com/JoniBach/from-to-js)
Downloads
12
Readme
Convert
Convert is a JavaScript library that provides conversion utilities for various data types.
Documentation
Check out the official demo for detailed usage instructions and examples.
Installation
To install the package, run:
npm install @jonibach/convert
Usage
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