An open API service indexing awesome lists of open source software.

https://github.com/jhordyess/data-unit-converter

Data unit converter using binary and traditional prefixes
https://github.com/jhordyess/data-unit-converter

data-conversion docker-container mathjs react typescript

Last synced: 3 months ago
JSON representation

Data unit converter using binary and traditional prefixes

Awesome Lists containing this project

README

          

# Data unit converter

A simple data unit converter using binary and traditional prefixes.

## Description

To use the data unit converter, first enter the value in the first input box, then select the units you wish to convert from and to, respectively. The converted value will be displayed in the second input box.

For a theoretical explanation, you could visit: [Units of information](https://wikipedia.org/wiki/Units_of_information) on Wikipedia.

### Technologies Used

- JS Libraries: [ReactJS](https://react.dev/), [Math.js](https://mathjs.org/), [React Select](https://react-select.com/), [Primer/Octicons](https://primer.style/octicons/)
- Font: [Dosis by Impallari Type](https://fonts.google.com/specimen/Dosis)
- Programming Language: [TypeScript](https://www.typescriptlang.org/)
- Build tool: [Vite](https://vitejs.dev/)
- Testing: [Vitest](https://vitest.dev/), [Testing Library](https://testing-library.com/)
- Deployment CI/CD: [GitHub Actions](https://github.com/features/actions)
- Hosting: [GitHub Pages](https://pages.github.com/)
- Dev Environment: [VSCode](https://code.visualstudio.com/) with the [react-tailwind-ts-starter](https://github.com/jhordyess/react-tailwind-ts-starter) template

### Demo

You can see the demo here: .

### Screenshot

![Home](https://res.cloudinary.com/jhordyess/image/upload/v1675256029/data-unit-converter/home.png_g4nb6r.png)

## How to use

### Prerequisites

1. Install [Node.js](https://nodejs.org/en/download) (LTS version recommended).
2. Install [pnpm](https://pnpm.io/installation) globally:

```sh
npm install -g pnpm@latest-10
```

### Running the project locally

1. Clone the repository:

```bash
git clone git@github.com:jhordyess/data-unit-converter.git
```

2. Open the project folder:

```bash
cd data-unit-converter
```

3. Install the dependencies:

```bash
pnpm i
```

4. Run the project:

```bash
pnpm dev
```

5. Open the browser at

## To-Do

- Improve code readability.
- Update UX/UI design.
- Add rounding.
- Add more features 🤔

## Contribution

If you would like to contribute to the project, open an issue or make a pull request on the repository.

## License

© 2022 [Jhordyess](https://github.com/jhordyess). Under the [MIT](https://choosealicense.com/licenses/mit/) license. See the [LICENSE](./LICENSE) file for more details.

---

Made with 💪 by [Jhordyess](https://www.jhordyess.com/)