feat(new tool): Raid Calculator
This adds the feature listed in #1132 .
Support for popular RAID types is given along with some helpful information on fault tolerances and space use efficiency. Worth noting is a small change to the utility convert.ts file. I added an optional argument to set the base unit used for the bytes calculation. By default this is base 2 so no functionality changes in places where this is currently used. Base 10 can also be passed in (via an Enum) to calculate sizes that way. Disks size calculations are typically done this way. The existing function did almost exactly what was needed so it seemed more prudent to amend it rather than create a new one.
I've never tried to create or contribute to something written in Typescript before so if there are modifications that need to be done just let me know. I tried to follow the format of other tools as much as possible.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| it-tools | ✅ Ready (Inspect) | Visit Preview | Aug 1, 2024 6:36pm |
Quality Gate passed
Issues
3 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Hi, for people interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)