Add redirect for legacy calculator paths
This commit is contained in:
@@ -42,6 +42,7 @@ The registry currently contains 416 unique calculator slugs.
|
|||||||
| Pascal to Torr – Convert pascals into torr for vacuum work. | pascal-to-torr | 0.00750062 |
|
| Pascal to Torr – Convert pascals into torr for vacuum work. | pascal-to-torr | 0.00750062 |
|
||||||
| Pascal-seconds to Centipoise – Convert Pascal-second viscosity into centipoise. | pascal-seconds-to-centipoise | 1000.0 |
|
| Pascal-seconds to Centipoise – Convert Pascal-second viscosity into centipoise. | pascal-seconds-to-centipoise | 1000.0 |
|
||||||
| Poise to Pascal-seconds – Express CGS poise viscosity in Pascal-seconds. | poise-to-pascal-seconds | 0.1 |
|
| Poise to Pascal-seconds – Express CGS poise viscosity in Pascal-seconds. | poise-to-pascal-seconds | 0.1 |
|
||||||
|
| Stokes to Centistokes – Convert stokes into centistokes for viscosity scales. | stokes-to-centistokes | 100 |
|
||||||
| Becquerel to Curie | becquerel-to-curie | 2.7027027e-11 |
|
| Becquerel to Curie | becquerel-to-curie | 2.7027027e-11 |
|
||||||
| Becquerel to Rutherford | becquerel-to-rutherford | 0.000001 |
|
| Becquerel to Rutherford | becquerel-to-rutherford | 0.000001 |
|
||||||
| Bits to Bytes | bits-to-bytes | 0.125 |
|
| Bits to Bytes | bits-to-bytes | 0.125 |
|
||||||
@@ -71,6 +72,9 @@ The registry currently contains 416 unique calculator slugs.
|
|||||||
| Amps to kVA | amps-to-kva | Multi-Variable |
|
| Amps to kVA | amps-to-kva | Multi-Variable |
|
||||||
| Ampere-turns per meter to Oersted – Convert magnetomotive force per meter into oersted units. | ampere-turns-per-meter-to-oersted | 0.0125663706143592 |
|
| Ampere-turns per meter to Oersted – Convert magnetomotive force per meter into oersted units. | ampere-turns-per-meter-to-oersted | 0.0125663706143592 |
|
||||||
| Oersted to Ampere-turns per meter – Flip the CGS oersted field scale back into ampere-turns per meter. | oersted-to-ampere-turns-per-meter | 79.57747154594767 |
|
| Oersted to Ampere-turns per meter – Flip the CGS oersted field scale back into ampere-turns per meter. | oersted-to-ampere-turns-per-meter | 79.57747154594767 |
|
||||||
|
| Tesla to Gauss – Express teslas as gauss for high-field comparisons. | tesla-to-gauss | 10000 |
|
||||||
|
| Tesla to Milligauss – Convert teslas down into milligauss units. | tesla-to-milligauss | 1e7 |
|
||||||
|
| Tesla to Millitesla – Translate teslas into milliteslas for electronics. | tesla-to-millitesla | 1000 |
|
||||||
| Amps to Milliamps – Translate amperes into milliamperes when tuning circuit currents. | amps-to-milliamps | 1000.0 |
|
| Amps to Milliamps – Translate amperes into milliamperes when tuning circuit currents. | amps-to-milliamps | 1000.0 |
|
||||||
| Carats to Grams | carats-to-grams | 0.2 |
|
| Carats to Grams | carats-to-grams | 0.2 |
|
||||||
| Celsius to Fahrenheit | celsius-to-fahrenheit | Linear Offset (1.8x + 32) |
|
| Celsius to Fahrenheit | celsius-to-fahrenheit | Linear Offset (1.8x + 32) |
|
||||||
@@ -298,11 +302,17 @@ The registry currently contains 416 unique calculator slugs.
|
|||||||
| Torr to Pascal | torr-to-pascal | 133.322 |
|
| Torr to Pascal | torr-to-pascal | 133.322 |
|
||||||
| Tons to pounds | tons-to-pounds | 2000 |
|
| Tons to pounds | tons-to-pounds | 2000 |
|
||||||
| Tons of refrigeration to kilowatts | tons-of-refrigeration-to-kilowatts | 3.51685 |
|
| Tons of refrigeration to kilowatts | tons-of-refrigeration-to-kilowatts | 3.51685 |
|
||||||
|
| Ton of TNT to Joules – Convert a ton of TNT into joules for ordnance calculations. | ton-of-tnt-to-joules | 4.184e+09 |
|
||||||
|
| Tons of Refrigeration to BTU/hour – Turn refrigeration tons into BTU per hour ratings. | tons-of-refrigeration-to-btu-hour | 12000 |
|
||||||
|
| Tons of Refrigeration to Horsepower – Express refrigeration tons as horsepower. | tons-of-refrigeration-to-horsepower | 3.5168525 |
|
||||||
| Terabytes to petabytes | terabytes-to-petabytes | 0.0009765 |
|
| Terabytes to petabytes | terabytes-to-petabytes | 0.0009765 |
|
||||||
| Terabytes to gigabytes | terabytes-to-gigabytes | 1024 |
|
| Terabytes to gigabytes | terabytes-to-gigabytes | 1024 |
|
||||||
| Teaspoons to milliliters | teaspoons-to-milliliters | 4.92892 |
|
| Teaspoons to milliliters | teaspoons-to-milliliters | 4.92892 |
|
||||||
| Tablespoons to milliliters | tablespoons-to-milliliters | 14.78676 |
|
| Tablespoons to milliliters | tablespoons-to-milliliters | 14.78676 |
|
||||||
|
| Sticks of Butter to Cups – Convert sticks of butter into cups for baking. | sticks-of-butter-to-cups | 0.5 |
|
||||||
|
| Sticks of Butter to Tablespoons – Translate butter sticks into tablespoons. | sticks-of-butter-to-tablespoons | 8 |
|
||||||
| Stones to pounds | stones-to-pounds | 14 |
|
| Stones to pounds | stones-to-pounds | 14 |
|
||||||
|
| Stones to Kilograms – Convert stones into kilograms for weight discussions. | stones-to-kilograms | 6.35029318 |
|
||||||
| Square yards to square miles | square-yards-to-square-miles | 3.228e-07 |
|
| Square yards to square miles | square-yards-to-square-miles | 3.228e-07 |
|
||||||
| Square miles to square yards | square-miles-to-square-yards | 3097600 |
|
| Square miles to square yards | square-miles-to-square-yards | 3097600 |
|
||||||
| Square meters to square kilometers | square-meters-to-square-kilometers | 0.000001 |
|
| Square meters to square kilometers | square-meters-to-square-kilometers | 0.000001 |
|
||||||
@@ -312,6 +322,29 @@ The registry currently contains 416 unique calculator slugs.
|
|||||||
| Square feet to square meters | square-feet-to-square-meters | 0.092903 |
|
| Square feet to square meters | square-feet-to-square-meters | 0.092903 |
|
||||||
| Square feet to acres | square-feet-to-acres | 2.295e-05 |
|
| Square feet to acres | square-feet-to-acres | 2.295e-05 |
|
||||||
| Square centimeters to square inches | square-centimeters-to-square-inches | 0.155 |
|
| Square centimeters to square inches | square-centimeters-to-square-inches | 0.155 |
|
||||||
|
| Square Centimeters to Square Meters – Turn tiny square-centimeter patches into square meters. | square-centimeters-to-square-meters | 0.0001 |
|
||||||
|
| Square Feet to Square Inches – Break square feet into square inches when detailing layouts. | square-feet-to-square-inches | 144 |
|
||||||
|
| Square Feet to Square Yards – Describe a backyard in square yards instead of square feet. | square-feet-to-square-yards | 0.1111111111 |
|
||||||
|
| Square Inches to Square Feet – Turn square inches into square feet for tile planning. | square-inches-to-square-feet | 0.006944444444444444 |
|
||||||
|
| Square Kilometers to Acres – Convert square kilometers into acres for acreage reports. | square-kilometers-to-acres | 247.105381 |
|
||||||
|
| Square Kilometers to Hectares – Switch between square kilometers and hectares. | square-kilometers-to-hectares | 100 |
|
||||||
|
| Square Kilometers to Square Miles – Compare square kilometers with square miles. | square-kilometers-to-square-miles | 0.386102159 |
|
||||||
|
| Square Meters to Acres – Translate square meters into acres for large parcels. | square-meters-to-acres | 0.000247105381 |
|
||||||
|
| Square Meters to Ares – Convert square meters into ares when talking metric land units. | square-meters-to-ares | 0.01 |
|
||||||
|
| Square Meters to Barns – Express square meters as barns for particle physics scales. | square-meters-to-barns | 1e28 |
|
||||||
|
| Square Meters to Hectares – Turn square meters into hectares on property summaries. | square-meters-to-hectares | 0.0001 |
|
||||||
|
| Square Meters to Square Centimeters – Break square meters into square centimeters for precision. | square-meters-to-square-centimeters | 10000 |
|
||||||
|
| Square Meters to Square Yards – Translate square meters into square yards. | square-meters-to-square-yards | 1.1959900463 |
|
||||||
|
| Square Miles to Acres – Convert square miles into acres for field maps. | square-miles-to-acres | 640 |
|
||||||
|
| Square Miles to Square Feet – Expand square miles into square feet for big-picture math. | square-miles-to-square-feet | 27878400 |
|
||||||
|
| Square Miles to Square Kilometers – Compare square miles with square kilometers. | square-miles-to-square-kilometers | 2.58998811 |
|
||||||
|
| Square Miles to Square Meters – Show square miles in square meters. | square-miles-to-square-meters | 2.589988110336e+06 |
|
||||||
|
| Square Mils to Circular Mils – Convert square mils into circular mils for wire specs. | square-mils-to-circular-mils | 1.273239544735163 |
|
||||||
|
| Square Yards to Acres – Turn square yards into acres when sizing plots. | square-yards-to-acres | 0.00020661157024793388 |
|
||||||
|
| Square Yards to Square Feet – Convert square yards into square feet. | square-yards-to-square-feet | 9 |
|
||||||
|
| Square Yards to Square Inches – Convert square yards into square inches. | square-yards-to-square-inches | 1296 |
|
||||||
|
| Square Yards to Square Meters – Convert square yards into square meters. | square-yards-to-square-meters | 0.83612736 |
|
||||||
|
| Townships to Square Miles – Translate a township into square miles (36 square miles). | townships-to-square-miles | 36 |
|
||||||
| Slugs to kilograms | slugs-to-kilograms | 14.5939 |
|
| Slugs to kilograms | slugs-to-kilograms | 14.5939 |
|
||||||
| Sievert to rem | sievert-to-rem | 100 |
|
| Sievert to rem | sievert-to-rem | 100 |
|
||||||
| Seconds to minutes | seconds-to-minutes | 0.016667 |
|
| Seconds to minutes | seconds-to-minutes | 0.016667 |
|
||||||
@@ -332,6 +365,11 @@ The registry currently contains 416 unique calculator slugs.
|
|||||||
| PSI to Pascals – Convert PSI into pascals for SI clarity. | psi-to-pascal | 6894.76 |
|
| PSI to Pascals – Convert PSI into pascals for SI clarity. | psi-to-pascal | 6894.76 |
|
||||||
| PSI to mmHg – Express PSI in millimeters of mercury. | psi-to-mmhg | 51.7149 |
|
| PSI to mmHg – Express PSI in millimeters of mercury. | psi-to-mmhg | 51.7149 |
|
||||||
| PSI to Torr – Express PSI in torr for vacuum work. | psi-to-torr | 51.7149 |
|
| PSI to Torr – Express PSI in torr for vacuum work. | psi-to-torr | 51.7149 |
|
||||||
|
| Torr to Atmosphere – Convert torr into atmospheres. | torr-to-atmosphere | 0.0013157894736842105 |
|
||||||
|
| Torr to Bar – Express torr as bars. | torr-to-bar | 0.00133322368421 |
|
||||||
|
| Torr to cmHg – Convert torr into centimeters of mercury. | torr-to-cmhg | 0.1 |
|
||||||
|
| Torr to kPa – Convert torr into kilopascals. | torr-to-kpa | 0.13332236842105263 |
|
||||||
|
| Torr to PSI – Convert torr into pounds per square inch. | torr-to-psi | 0.019336776 |
|
||||||
| PPI to DPI | ppi-to-dpi | 1 |
|
| PPI to DPI | ppi-to-dpi | 1 |
|
||||||
| Pounds to tons | pounds-to-tons | 0.0005 |
|
| Pounds to tons | pounds-to-tons | 0.0005 |
|
||||||
| Pounds to stones | pounds-to-stones | 0.071428 |
|
| Pounds to stones | pounds-to-stones | 0.071428 |
|
||||||
@@ -371,6 +409,7 @@ The registry currently contains 416 unique calculator slugs.
|
|||||||
| Metric tons to long tons | metric-tons-to-long-tons | 0.9842 |
|
| Metric tons to long tons | metric-tons-to-long-tons | 0.9842 |
|
||||||
| Lumens to candela | lumens-to-candela | 0.079577 |
|
| Lumens to candela | lumens-to-candela | 0.079577 |
|
||||||
| GSM to Ounces per sq yard – Convert GSM to Ounces per sq yard instantly. | gsm-to-ounces-per-sq-yard | 0.02952 |
|
| GSM to Ounces per sq yard – Convert GSM to Ounces per sq yard instantly. | gsm-to-ounces-per-sq-yard | 0.02952 |
|
||||||
|
| Tex to Denier – Convert tex into denier for yarn weights. | tex-to-denier | 9 |
|
||||||
| Ounces per sq yard to GSM – Convert fabric weight from ounces per square yard into grams per square meter. | ounces-per-sq-yard-to-gsm | 33.906074 |
|
| Ounces per sq yard to GSM – Convert fabric weight from ounces per square yard into grams per square meter. | ounces-per-sq-yard-to-gsm | 33.906074 |
|
||||||
| Hands to Centimeters – Convert Hands to Centimeters instantly. | hands-to-centimeters | 10.16 |
|
| Hands to Centimeters – Convert Hands to Centimeters instantly. | hands-to-centimeters | 10.16 |
|
||||||
| Hands to Inches – Convert Hands to Inches instantly. | hands-to-inches | 4 |
|
| Hands to Inches – Convert Hands to Inches instantly. | hands-to-inches | 4 |
|
||||||
@@ -398,6 +437,7 @@ The registry currently contains 416 unique calculator slugs.
|
|||||||
| Imperial fl oz to US fl oz – Convert Imperial fl oz to US fl oz instantly. | imperial-fl-oz-to-us-fl-oz | 1.20095 |
|
| Imperial fl oz to US fl oz – Convert Imperial fl oz to US fl oz instantly. | imperial-fl-oz-to-us-fl-oz | 1.20095 |
|
||||||
| Imperial gallons to Liters – Convert Imperial gallons to Liters instantly. | imperial-gallons-to-liters | 4.54609 |
|
| Imperial gallons to Liters – Convert Imperial gallons to Liters instantly. | imperial-gallons-to-liters | 4.54609 |
|
||||||
| Imperial gallons to US gallons – Convert Imperial gallons to US gallons instantly. | imperial-gallons-to-us-gallons | 1.20095 |
|
| Imperial gallons to US gallons – Convert Imperial gallons to US gallons instantly. | imperial-gallons-to-us-gallons | 1.20095 |
|
||||||
|
| US gallons to Imperial gallons – Flip US gallons into Imperial gallons for volume swaps. | us-gallons-to-imperial-gallons | 0.832674 |
|
||||||
| Imperial pints to US pints – Convert Imperial pints to US pints instantly. | imperial-pints-to-us-pints | 1.20095 |
|
| Imperial pints to US pints – Convert Imperial pints to US pints instantly. | imperial-pints-to-us-pints | 1.20095 |
|
||||||
| Inch-Pounds to Foot-Pounds – Convert Inch-Pounds to Foot-Pounds instantly. | inch-pounds-to-foot-pounds | 0.0833333 |
|
| Inch-Pounds to Foot-Pounds – Convert Inch-Pounds to Foot-Pounds instantly. | inch-pounds-to-foot-pounds | 0.0833333 |
|
||||||
| Inch-Pounds to Newton-Meters – Convert Inch-Pounds to Newton-Meters instantly. | inch-pounds-to-newton-meters | 0.112985 |
|
| Inch-Pounds to Newton-Meters – Convert Inch-Pounds to Newton-Meters instantly. | inch-pounds-to-newton-meters | 0.112985 |
|
||||||
@@ -1120,6 +1160,46 @@ The registry currently contains 416 unique calculator slugs.
|
|||||||
- [x] Pints to Cups (`pints-to-cups`)
|
- [x] Pints to Cups (`pints-to-cups`)
|
||||||
- [x] Pints to Gallons (`pints-to-gallons`)
|
- [x] Pints to Gallons (`pints-to-gallons`)
|
||||||
- [x] Pints to Quarts (`pints-to-quarts`)
|
- [x] Pints to Quarts (`pints-to-quarts`)
|
||||||
|
- [x] Square Centimeters to Square Meters (`square-centimeters-to-square-meters`)
|
||||||
|
- [x] Square Feet to Square Inches (`square-feet-to-square-inches`)
|
||||||
|
- [x] Square Feet to Square Yards (`square-feet-to-square-yards`)
|
||||||
|
- [x] Square Inches to Square Feet (`square-inches-to-square-feet`)
|
||||||
|
- [x] Square Kilometers to Acres (`square-kilometers-to-acres`)
|
||||||
|
- [x] Square Kilometers to Hectares (`square-kilometers-to-hectares`)
|
||||||
|
- [x] Square Kilometers to Square Miles (`square-kilometers-to-square-miles`)
|
||||||
|
- [x] Square Meters to Acres (`square-meters-to-acres`)
|
||||||
|
- [x] Square Meters to Ares (`square-meters-to-ares`)
|
||||||
|
- [x] Square Meters to Barns (`square-meters-to-barns`)
|
||||||
|
- [x] Square Meters to Hectares (`square-meters-to-hectares`)
|
||||||
|
- [x] Square Meters to Square Centimeters (`square-meters-to-square-centimeters`)
|
||||||
|
- [x] Square Meters to Square Yards (`square-meters-to-square-yards`)
|
||||||
|
- [x] Square Miles to Acres (`square-miles-to-acres`)
|
||||||
|
- [x] Square Miles to Square Feet (`square-miles-to-square-feet`)
|
||||||
|
- [x] Square Miles to Square Kilometers (`square-miles-to-square-kilometers`)
|
||||||
|
- [x] Square Miles to Square Meters (`square-miles-to-square-meters`)
|
||||||
|
- [x] Square Mils to Circular Mils (`square-mils-to-circular-mils`)
|
||||||
|
- [x] Square Yards to Acres (`square-yards-to-acres`)
|
||||||
|
- [x] Square Yards to Square Feet (`square-yards-to-square-feet`)
|
||||||
|
- [x] Square Yards to Square Inches (`square-yards-to-square-inches`)
|
||||||
|
- [x] Square Yards to Square Meters (`square-yards-to-square-meters`)
|
||||||
|
- [x] Sticks of Butter to Cups (`sticks-of-butter-to-cups`)
|
||||||
|
- [x] Sticks of Butter to Tablespoons (`sticks-of-butter-to-tablespoons`)
|
||||||
|
- [x] Stokes to Centistokes (`stokes-to-centistokes`)
|
||||||
|
- [x] Stones to Kilograms (`stones-to-kilograms`)
|
||||||
|
- [x] Tesla to Gauss (`tesla-to-gauss`)
|
||||||
|
- [x] Tesla to Milligauss (`tesla-to-milligauss`)
|
||||||
|
- [x] Tesla to Millitesla (`tesla-to-millitesla`)
|
||||||
|
- [x] Tex to Denier (`tex-to-denier`)
|
||||||
|
- [x] Ton of TNT to Joules (`ton-of-tnt-to-joules`)
|
||||||
|
- [x] Tons of Refrigeration to BTU/hour (`tons-of-refrigeration-to-btu-hour`)
|
||||||
|
- [x] Tons of Refrigeration to Horsepower (`tons-of-refrigeration-to-horsepower`)
|
||||||
|
- [x] Torr to Atmosphere (`torr-to-atmosphere`)
|
||||||
|
- [x] Torr to Bar (`torr-to-bar`)
|
||||||
|
- [x] Torr to cmHg (`torr-to-cmhg`)
|
||||||
|
- [x] Torr to kPa (`torr-to-kpa`)
|
||||||
|
- [x] Torr to PSI (`torr-to-psi`)
|
||||||
|
- [x] Townships to Square Miles (`townships-to-square-miles`)
|
||||||
|
- [x] US gallons to Imperial gallons (`us-gallons-to-imperial-gallons`)
|
||||||
|
|
||||||
## Backlog / To-Do
|
## Backlog / To-Do
|
||||||
- [x] Acres to hectares
|
- [x] Acres to hectares
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "acres-to-hectares", "name": "Acres to Hectares", "category": "area", "type": "standard", "teaser": "A 50-acre farm prompts the question: how many hectares does it include?", "labels": {"in1": "Acres", "in2": "Hectares"}, "factor": 0.404686},
|
{"slug": "acres-to-hectares", "name": "Acres to Hectares", "category": "area", "type": "standard", "teaser": "A 50-acre farm prompts the question: how many hectares does it include?", "labels": {"in1": "Acres", "in2": "Hectares"}, "factor": 0.404686},
|
||||||
{"slug": "acres-to-square-feet", "name": "Acres to Square Feet", "category": "length", "type": "standard", "teaser": "For the listing, convert 2 acres into square feet to describe the lot size.", "labels": {"in1": "Acres", "in2": "Square Feet"}, "factor": 43560.0},
|
{"slug": "acres-to-square-feet", "name": "Acres to Square Feet", "category": "length", "type": "standard", "teaser": "For the listing, convert 2 acres into square feet to describe the lot size.", "labels": {"in1": "Acres", "in2": "Square Feet"}, "factor": 43560.0},
|
||||||
{"slug": "acre-feet-to-liters", "name": "Acre-feet to Liters", "category": "length", "type": "standard", "teaser": "A lake holds 1 acre-foot; how many liters of water is that?", "labels": {"in1": "Acre-feet", "in2": "Liters"}, "factor": 1233481.8375476},
|
{"slug": "acre-feet-to-liters", "name": "Acre-feet to Liters", "category": "length", "type": "standard", "teaser": "A lake holds 1 acre-foot; how many liters of water is that?", "labels": {"in1": "Acre-feet", "in2": "Liters"}, "factor": 1233481.8375476},
|
||||||
{"slug": "acres-to-square-kilometers", "name": "Acres to Square Kilometers", "category": "length", "type": "standard", "teaser": "How many square kilometers cover one acre?", "labels": {"in1": "Acres", "in2": "Square Kilometers"}, "factor": 0.0040468564224},
|
{"slug": "acres-to-square-kilometers", "name": "Acres to Square Kilometers", "category": "length", "type": "standard", "teaser": "How many square kilometers cover one acre?", "labels": {"in1": "Acres", "in2": "Square Kilometers"}, "factor": 0.0040468564224, "hidden": true},
|
||||||
{"slug": "acres-to-square-meters", "name": "Acres to Square Meters", "category": "length", "type": "standard", "teaser": "Convert a single acre into square meters.", "labels": {"in1": "Acres", "in2": "Square Meters"}, "factor": 4046.8564224},
|
{"slug": "acres-to-square-meters", "name": "Acres to Square Meters", "category": "length", "type": "standard", "teaser": "Convert a single acre into square meters.", "labels": {"in1": "Acres", "in2": "Square Meters"}, "factor": 4046.8564224},
|
||||||
{"slug": "acres-to-square-miles", "name": "Acres to Square Miles", "category": "length", "type": "standard", "teaser": "See how many square miles equal one acre.", "labels": {"in1": "Acres", "in2": "Square Miles"}, "factor": 0.0015625},
|
{"slug": "acres-to-square-miles", "name": "Acres to Square Miles", "category": "length", "type": "standard", "teaser": "See how many square miles equal one acre.", "labels": {"in1": "Acres", "in2": "Square Miles"}, "factor": 0.0015625, "hidden": true},
|
||||||
{"slug": "acres-to-square-yards", "name": "Acres to Square Yards", "category": "length", "type": "standard", "teaser": "Turn acre measurements into square yards.", "labels": {"in1": "Acres", "in2": "Square Yards"}, "factor": 4840.0},
|
{"slug": "acres-to-square-yards", "name": "Acres to Square Yards", "category": "length", "type": "standard", "teaser": "Turn acre measurements into square yards.", "labels": {"in1": "Acres", "in2": "Square Yards"}, "factor": 4840.0},
|
||||||
{"slug": "angstroms-to-nanometers", "name": "Angstroms to Nanometers", "category": "length", "type": "standard", "teaser": "A materials scientist changes 25 angstroms into nanometers to describe a film thickness.", "labels": {"in1": "Angstroms", "in2": "Nanometers"}, "factor": 0.1, "hidden": true},
|
{"slug": "angstroms-to-nanometers", "name": "Angstroms to Nanometers", "category": "length", "type": "standard", "teaser": "A materials scientist changes 25 angstroms into nanometers to describe a film thickness.", "labels": {"in1": "Angstroms", "in2": "Nanometers"}, "factor": 0.1, "hidden": true},
|
||||||
{"slug": "apothecary-ounces-to-grams", "name": "Apothecary Ounces to Grams", "category": "weight", "type": "standard", "teaser": "Preparing a tincture, how many grams are packed in 8 apothecary ounces?", "labels": {"in1": "Apothecary Ounces", "in2": "Grams"}, "factor": 31.1034768},
|
{"slug": "apothecary-ounces-to-grams", "name": "Apothecary Ounces to Grams", "category": "weight", "type": "standard", "teaser": "Preparing a tincture, how many grams are packed in 8 apothecary ounces?", "labels": {"in1": "Apothecary Ounces", "in2": "Grams"}, "factor": 31.1034768},
|
||||||
@@ -74,6 +74,7 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "pascal-to-torr", "name": "Pascal to Torr", "category": "pressure", "type": "standard", "teaser": "Convert pascals into torr for vacuum work.", "labels": {"in1": "Pascal", "in2": "Torr"}, "factor": 0.00750062, "hidden": true},
|
{"slug": "pascal-to-torr", "name": "Pascal to Torr", "category": "pressure", "type": "standard", "teaser": "Convert pascals into torr for vacuum work.", "labels": {"in1": "Pascal", "in2": "Torr"}, "factor": 0.00750062, "hidden": true},
|
||||||
{"slug": "pascal-seconds-to-centipoise", "name": "Pascal-seconds to Centipoise", "category": "pressure", "type": "standard", "teaser": "Convert Pascal-second viscosity into centipoise.", "labels": {"in1": "Pascal-seconds", "in2": "Centipoise"}, "factor": 1000.0},
|
{"slug": "pascal-seconds-to-centipoise", "name": "Pascal-seconds to Centipoise", "category": "pressure", "type": "standard", "teaser": "Convert Pascal-second viscosity into centipoise.", "labels": {"in1": "Pascal-seconds", "in2": "Centipoise"}, "factor": 1000.0},
|
||||||
{"slug": "poise-to-pascal-seconds", "name": "Poise to Pascal-seconds", "category": "pressure", "type": "standard", "teaser": "Express CGS poise viscosity in Pascal-seconds.", "labels": {"in1": "Poise", "in2": "Pascal-seconds"}, "factor": 0.1},
|
{"slug": "poise-to-pascal-seconds", "name": "Poise to Pascal-seconds", "category": "pressure", "type": "standard", "teaser": "Express CGS poise viscosity in Pascal-seconds.", "labels": {"in1": "Poise", "in2": "Pascal-seconds"}, "factor": 0.1},
|
||||||
|
{"slug": "stokes-to-centistokes", "name": "Stokes to Centistokes", "category": "other", "type": "standard", "teaser": "Convert stokes into centistokes for viscosity scales.", "labels": {"in1": "Stokes", "in2": "Centistokes"}, "factor": 100.0},
|
||||||
{"slug": "becquerel-to-curie", "name": "Becquerel to Curie", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Curie"}, "factor": 2.7027027e-11, "hidden": true},
|
{"slug": "becquerel-to-curie", "name": "Becquerel to Curie", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Curie"}, "factor": 2.7027027e-11, "hidden": true},
|
||||||
{"slug": "becquerel-to-rutherford", "name": "Becquerel to Rutherford", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Rutherford"}, "factor": 1e-06, "hidden": true},
|
{"slug": "becquerel-to-rutherford", "name": "Becquerel to Rutherford", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Rutherford"}, "factor": 1e-06, "hidden": true},
|
||||||
{"slug": "bits-to-bytes", "name": "Bits to Bytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Bytes"}, "factor": 0.1},
|
{"slug": "bits-to-bytes", "name": "Bits to Bytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Bytes"}, "factor": 0.1},
|
||||||
@@ -103,6 +104,9 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "amps-to-kva", "name": "Amps to kVA", "category": "electrical", "type": "3col", "labels": {"in1": "Amps", "in2": "kVA", "in3": "Result"}},
|
{"slug": "amps-to-kva", "name": "Amps to kVA", "category": "electrical", "type": "3col", "labels": {"in1": "Amps", "in2": "kVA", "in3": "Result"}},
|
||||||
{"slug": "ampere-turns-per-meter-to-oersted", "name": "Ampere-turns per meter to Oersted", "category": "length", "type": "standard", "teaser": "Convert magnetomotive force per meter into oersted units.", "labels": {"in1": "Ampere-turns per meter", "in2": "Oersted"}, "factor": 0.0125663706143592, "hidden": true},
|
{"slug": "ampere-turns-per-meter-to-oersted", "name": "Ampere-turns per meter to Oersted", "category": "length", "type": "standard", "teaser": "Convert magnetomotive force per meter into oersted units.", "labels": {"in1": "Ampere-turns per meter", "in2": "Oersted"}, "factor": 0.0125663706143592, "hidden": true},
|
||||||
{"slug": "oersted-to-ampere-turns-per-meter", "name": "Oersted to Ampere-turns per meter", "category": "length", "type": "standard", "teaser": "Flip the CGS oersted field scale back into ampere-turns per meter.", "labels": {"in1": "Oersted", "in2": "Ampere-turns per meter"}, "factor": 79.57747154594767},
|
{"slug": "oersted-to-ampere-turns-per-meter", "name": "Oersted to Ampere-turns per meter", "category": "length", "type": "standard", "teaser": "Flip the CGS oersted field scale back into ampere-turns per meter.", "labels": {"in1": "Oersted", "in2": "Ampere-turns per meter"}, "factor": 79.57747154594767},
|
||||||
|
{"slug": "tesla-to-gauss", "name": "Tesla to Gauss", "category": "other", "type": "standard", "teaser": "Express teslas as gauss for high-field comparisons.", "labels": {"in1": "Tesla", "in2": "Gauss"}, "factor": 10000.0},
|
||||||
|
{"slug": "tesla-to-milligauss", "name": "Tesla to Milligauss", "category": "other", "type": "standard", "teaser": "Convert teslas down into milligauss units.", "labels": {"in1": "Tesla", "in2": "Milligauss"}, "factor": 10000000.0},
|
||||||
|
{"slug": "tesla-to-millitesla", "name": "Tesla to Millitesla", "category": "other", "type": "standard", "teaser": "Translate teslas into milliteslas for electronics.", "labels": {"in1": "Tesla", "in2": "Millitesla"}, "factor": 1000.0},
|
||||||
{"slug": "amps-to-milliamps", "name": "Amps to Milliamps", "category": "electrical", "type": "standard", "teaser": "Translate amperes into milliamperes when tuning circuit currents.", "labels": {"in1": "Amps", "in2": "Milliamps"}, "factor": 1000.0},
|
{"slug": "amps-to-milliamps", "name": "Amps to Milliamps", "category": "electrical", "type": "standard", "teaser": "Translate amperes into milliamperes when tuning circuit currents.", "labels": {"in1": "Amps", "in2": "Milliamps"}, "factor": 1000.0},
|
||||||
{"slug": "carats-to-grams", "name": "Carats to Grams", "category": "weight", "type": "standard", "labels": {"in1": "Carats", "in2": "Grams"}, "factor": 0.2, "hidden": true},
|
{"slug": "carats-to-grams", "name": "Carats to Grams", "category": "weight", "type": "standard", "labels": {"in1": "Carats", "in2": "Grams"}, "factor": 0.2, "hidden": true},
|
||||||
{"slug": "celsius-to-fahrenheit", "name": "Celsius to Fahrenheit", "category": "temperature", "type": "standard", "labels": {"in1": "Celsius", "in2": "Fahrenheit"}, "factor": 1.8, "offset": 32.0},
|
{"slug": "celsius-to-fahrenheit", "name": "Celsius to Fahrenheit", "category": "temperature", "type": "standard", "labels": {"in1": "Celsius", "in2": "Fahrenheit"}, "factor": 1.8, "offset": 32.0},
|
||||||
@@ -330,11 +334,17 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "torr-to-pascal", "name": "Torr to Pascal", "category": "pressure", "type": "standard", "labels": {"in1": "Torr", "in2": "Pascal"}, "factor": 133.322},
|
{"slug": "torr-to-pascal", "name": "Torr to Pascal", "category": "pressure", "type": "standard", "labels": {"in1": "Torr", "in2": "Pascal"}, "factor": 133.322},
|
||||||
{"slug": "tons-to-pounds", "name": "Tons to pounds", "category": "weight", "type": "standard", "labels": {"in1": "Tons", "in2": "pounds"}, "factor": 2000.0},
|
{"slug": "tons-to-pounds", "name": "Tons to pounds", "category": "weight", "type": "standard", "labels": {"in1": "Tons", "in2": "pounds"}, "factor": 2000.0},
|
||||||
{"slug": "tons-of-refrigeration-to-kilowatts", "name": "Tons of refrigeration to kilowatts", "category": "weight", "type": "standard", "labels": {"in1": "Tons of refrigeration", "in2": "kilowatts"}, "factor": 3.51685},
|
{"slug": "tons-of-refrigeration-to-kilowatts", "name": "Tons of refrigeration to kilowatts", "category": "weight", "type": "standard", "labels": {"in1": "Tons of refrigeration", "in2": "kilowatts"}, "factor": 3.51685},
|
||||||
|
{"slug": "ton-of-tnt-to-joules", "name": "Ton of TNT to Joules", "category": "weight", "type": "standard", "teaser": "Convert a ton of TNT into joules for ordnance calculations.", "labels": {"in1": "Ton of TNT", "in2": "Joules"}, "factor": 4184000000.0},
|
||||||
|
{"slug": "tons-of-refrigeration-to-btu-hour", "name": "Tons of Refrigeration to BTU/hour", "category": "weight", "type": "standard", "teaser": "Turn refrigeration tons into BTU per hour ratings.", "labels": {"in1": "Tons of Refrigeration", "in2": "BTU/hour"}, "factor": 12000.0},
|
||||||
|
{"slug": "tons-of-refrigeration-to-horsepower", "name": "Tons of Refrigeration to Horsepower", "category": "weight", "type": "standard", "teaser": "Express refrigeration tons as horsepower.", "labels": {"in1": "Tons of Refrigeration", "in2": "Horsepower"}, "factor": 3.5168525},
|
||||||
{"slug": "terabytes-to-petabytes", "name": "Terabytes to petabytes", "category": "data", "type": "standard", "labels": {"in1": "Terabytes", "in2": "petabytes"}, "factor": 0.001},
|
{"slug": "terabytes-to-petabytes", "name": "Terabytes to petabytes", "category": "data", "type": "standard", "labels": {"in1": "Terabytes", "in2": "petabytes"}, "factor": 0.001},
|
||||||
{"slug": "terabytes-to-gigabytes", "name": "Terabytes to gigabytes", "category": "data", "type": "standard", "labels": {"in1": "Terabytes", "in2": "gigabytes"}, "factor": 1000.0},
|
{"slug": "terabytes-to-gigabytes", "name": "Terabytes to gigabytes", "category": "data", "type": "standard", "labels": {"in1": "Terabytes", "in2": "gigabytes"}, "factor": 1000.0},
|
||||||
{"slug": "teaspoons-to-milliliters", "name": "Teaspoons to milliliters", "category": "volume", "type": "standard", "labels": {"in1": "Teaspoons", "in2": "milliliters"}, "factor": 4.92892},
|
{"slug": "teaspoons-to-milliliters", "name": "Teaspoons to milliliters", "category": "volume", "type": "standard", "labels": {"in1": "Teaspoons", "in2": "milliliters"}, "factor": 4.92892},
|
||||||
{"slug": "tablespoons-to-milliliters", "name": "Tablespoons to milliliters", "category": "volume", "type": "standard", "labels": {"in1": "Tablespoons", "in2": "milliliters"}, "factor": 14.78676},
|
{"slug": "tablespoons-to-milliliters", "name": "Tablespoons to milliliters", "category": "volume", "type": "standard", "labels": {"in1": "Tablespoons", "in2": "milliliters"}, "factor": 14.78676},
|
||||||
|
{"slug": "sticks-of-butter-to-cups", "name": "Sticks of Butter to Cups", "category": "volume", "type": "standard", "teaser": "Convert sticks of butter into cups for baking.", "labels": {"in1": "Sticks of Butter", "in2": "Cups"}, "factor": 0.5},
|
||||||
|
{"slug": "sticks-of-butter-to-tablespoons", "name": "Sticks of Butter to Tablespoons", "category": "volume", "type": "standard", "teaser": "Translate butter sticks into tablespoons.", "labels": {"in1": "Sticks of Butter", "in2": "Tablespoons"}, "factor": 8.0},
|
||||||
{"slug": "stones-to-pounds", "name": "Stones to pounds", "category": "weight", "type": "standard", "labels": {"in1": "Stones", "in2": "pounds"}, "factor": 14.0},
|
{"slug": "stones-to-pounds", "name": "Stones to pounds", "category": "weight", "type": "standard", "labels": {"in1": "Stones", "in2": "pounds"}, "factor": 14.0},
|
||||||
|
{"slug": "stones-to-kilograms", "name": "Stones to Kilograms", "category": "weight", "type": "standard", "teaser": "Convert stones into kilograms for weight discussions.", "labels": {"in1": "Stones", "in2": "Kilograms"}, "factor": 6.35029318},
|
||||||
{"slug": "square-yards-to-square-miles", "name": "Square yards to square miles", "category": "length", "type": "standard", "labels": {"in1": "Square yards", "in2": "square miles"}, "factor": 3.228e-07, "hidden": true},
|
{"slug": "square-yards-to-square-miles", "name": "Square yards to square miles", "category": "length", "type": "standard", "labels": {"in1": "Square yards", "in2": "square miles"}, "factor": 3.228e-07, "hidden": true},
|
||||||
{"slug": "square-miles-to-square-yards", "name": "Square miles to square yards", "category": "length", "type": "standard", "labels": {"in1": "Square miles", "in2": "square yards"}, "factor": 3097600.0},
|
{"slug": "square-miles-to-square-yards", "name": "Square miles to square yards", "category": "length", "type": "standard", "labels": {"in1": "Square miles", "in2": "square yards"}, "factor": 3097600.0},
|
||||||
{"slug": "square-meters-to-square-kilometers", "name": "Square meters to square kilometers", "category": "length", "type": "standard", "labels": {"in1": "Square meters", "in2": "square kilometers"}, "factor": 1e-06, "hidden": true},
|
{"slug": "square-meters-to-square-kilometers", "name": "Square meters to square kilometers", "category": "length", "type": "standard", "labels": {"in1": "Square meters", "in2": "square kilometers"}, "factor": 1e-06, "hidden": true},
|
||||||
@@ -344,6 +354,29 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "square-feet-to-square-meters", "name": "Square feet to square meters", "category": "length", "type": "standard", "labels": {"in1": "Square feet", "in2": "square meters"}, "factor": 0.092903, "hidden": true},
|
{"slug": "square-feet-to-square-meters", "name": "Square feet to square meters", "category": "length", "type": "standard", "labels": {"in1": "Square feet", "in2": "square meters"}, "factor": 0.092903, "hidden": true},
|
||||||
{"slug": "square-feet-to-acres", "name": "Square feet to acres", "category": "length", "type": "standard", "labels": {"in1": "Square feet", "in2": "acres"}, "factor": 2.295e-05, "hidden": true},
|
{"slug": "square-feet-to-acres", "name": "Square feet to acres", "category": "length", "type": "standard", "labels": {"in1": "Square feet", "in2": "acres"}, "factor": 2.295e-05, "hidden": true},
|
||||||
{"slug": "square-centimeters-to-square-inches", "name": "Square centimeters to square inches", "category": "length", "type": "standard", "labels": {"in1": "Square centimeters", "in2": "square inches"}, "factor": 0.155, "hidden": true},
|
{"slug": "square-centimeters-to-square-inches", "name": "Square centimeters to square inches", "category": "length", "type": "standard", "labels": {"in1": "Square centimeters", "in2": "square inches"}, "factor": 0.155, "hidden": true},
|
||||||
|
{"slug": "square-centimeters-to-square-meters", "name": "Square Centimeters to Square Meters", "category": "length", "type": "standard", "teaser": "Turn tiny square-centimeter patches into square meters.", "labels": {"in1": "Square Centimeters", "in2": "Square Meters"}, "factor": 0.0001, "hidden": true},
|
||||||
|
{"slug": "square-feet-to-square-inches", "name": "Square Feet to Square Inches", "category": "length", "type": "standard", "teaser": "Break square feet into square inches when detailing layouts.", "labels": {"in1": "Square Feet", "in2": "Square Inches"}, "factor": 144.0},
|
||||||
|
{"slug": "square-feet-to-square-yards", "name": "Square Feet to Square Yards", "category": "length", "type": "standard", "teaser": "Describe a backyard in square yards instead of square feet.", "labels": {"in1": "Square Feet", "in2": "Square Yards"}, "factor": 0.1111111111, "hidden": true},
|
||||||
|
{"slug": "square-inches-to-square-feet", "name": "Square Inches to Square Feet", "category": "length", "type": "standard", "teaser": "Turn square inches into square feet for tile planning.", "labels": {"in1": "Square Inches", "in2": "Square Feet"}, "factor": 0.006944444444444444, "hidden": true},
|
||||||
|
{"slug": "square-kilometers-to-acres", "name": "Square Kilometers to Acres", "category": "length", "type": "standard", "teaser": "Convert square kilometers into acres for acreage reports.", "labels": {"in1": "Square Kilometers", "in2": "Acres"}, "factor": 247.105381},
|
||||||
|
{"slug": "square-kilometers-to-hectares", "name": "Square Kilometers to Hectares", "category": "length", "type": "standard", "teaser": "Switch between square kilometers and hectares.", "labels": {"in1": "Square Kilometers", "in2": "Hectares"}, "factor": 100.0},
|
||||||
|
{"slug": "square-kilometers-to-square-miles", "name": "Square Kilometers to Square Miles", "category": "length", "type": "standard", "teaser": "Compare square kilometers with square miles.", "labels": {"in1": "Square Kilometers", "in2": "Square Miles"}, "factor": 0.386102159, "hidden": true},
|
||||||
|
{"slug": "square-meters-to-acres", "name": "Square Meters to Acres", "category": "length", "type": "standard", "teaser": "Translate square meters into acres for large parcels.", "labels": {"in1": "Square Meters", "in2": "Acres"}, "factor": 0.000247105381, "hidden": true},
|
||||||
|
{"slug": "square-meters-to-ares", "name": "Square Meters to Ares", "category": "length", "type": "standard", "teaser": "Convert square meters into ares when talking metric land units.", "labels": {"in1": "Square Meters", "in2": "Ares"}, "factor": 0.01},
|
||||||
|
{"slug": "square-meters-to-barns", "name": "Square Meters to Barns", "category": "length", "type": "standard", "teaser": "Express square meters as barns for particle physics scales.", "labels": {"in1": "Square Meters", "in2": "Barns"}, "factor": 1e+28},
|
||||||
|
{"slug": "square-meters-to-hectares", "name": "Square Meters to Hectares", "category": "length", "type": "standard", "teaser": "Turn square meters into hectares on property summaries.", "labels": {"in1": "Square Meters", "in2": "Hectares"}, "factor": 0.0001, "hidden": true},
|
||||||
|
{"slug": "square-meters-to-square-centimeters", "name": "Square Meters to Square Centimeters", "category": "length", "type": "standard", "teaser": "Break square meters into square centimeters for precision.", "labels": {"in1": "Square Meters", "in2": "Square Centimeters"}, "factor": 10000.0},
|
||||||
|
{"slug": "square-meters-to-square-yards", "name": "Square Meters to Square Yards", "category": "length", "type": "standard", "teaser": "Translate square meters into square yards.", "labels": {"in1": "Square Meters", "in2": "Square Yards"}, "factor": 1.1959900463},
|
||||||
|
{"slug": "square-miles-to-acres", "name": "Square Miles to Acres", "category": "length", "type": "standard", "teaser": "Convert square miles into acres for field maps.", "labels": {"in1": "Square Miles", "in2": "Acres"}, "factor": 640.0},
|
||||||
|
{"slug": "square-miles-to-square-feet", "name": "Square Miles to Square Feet", "category": "length", "type": "standard", "teaser": "Expand square miles into square feet for big-picture math.", "labels": {"in1": "Square Miles", "in2": "Square Feet"}, "factor": 27878400.0},
|
||||||
|
{"slug": "square-miles-to-square-kilometers", "name": "Square Miles to Square Kilometers", "category": "length", "type": "standard", "teaser": "Compare square miles with square kilometers.", "labels": {"in1": "Square Miles", "in2": "Square Kilometers"}, "factor": 2.58998811},
|
||||||
|
{"slug": "square-miles-to-square-meters", "name": "Square Miles to Square Meters", "category": "length", "type": "standard", "teaser": "Show square miles in square meters.", "labels": {"in1": "Square Miles", "in2": "Square Meters"}, "factor": 2589988.110336},
|
||||||
|
{"slug": "square-mils-to-circular-mils", "name": "Square Mils to Circular Mils", "category": "area", "type": "standard", "teaser": "Convert square mils into circular mils for wire specs.", "labels": {"in1": "Square Mils", "in2": "Circular Mils"}, "factor": 1.273239544735163},
|
||||||
|
{"slug": "square-yards-to-acres", "name": "Square Yards to Acres", "category": "length", "type": "standard", "teaser": "Turn square yards into acres when sizing plots.", "labels": {"in1": "Square Yards", "in2": "Acres"}, "factor": 0.00020661157024793388, "hidden": true},
|
||||||
|
{"slug": "square-yards-to-square-feet", "name": "Square Yards to Square Feet", "category": "length", "type": "standard", "teaser": "Convert square yards into square feet.", "labels": {"in1": "Square Yards", "in2": "Square Feet"}, "factor": 9.0},
|
||||||
|
{"slug": "square-yards-to-square-inches", "name": "Square Yards to Square Inches", "category": "length", "type": "standard", "teaser": "Convert square yards into square inches.", "labels": {"in1": "Square Yards", "in2": "Square Inches"}, "factor": 1296.0},
|
||||||
|
{"slug": "square-yards-to-square-meters", "name": "Square Yards to Square Meters", "category": "length", "type": "standard", "teaser": "Convert square yards into square meters.", "labels": {"in1": "Square Yards", "in2": "Square Meters"}, "factor": 0.83612736, "hidden": true},
|
||||||
|
{"slug": "townships-to-square-miles", "name": "Townships to Square Miles", "category": "length", "type": "standard", "teaser": "Translate a township into square miles (36 square miles).", "labels": {"in1": "Townships", "in2": "Square Miles"}, "factor": 36.0},
|
||||||
{"slug": "slugs-to-kilograms", "name": "Slugs to kilograms", "category": "weight", "type": "standard", "labels": {"in1": "Slugs", "in2": "kilograms"}, "factor": 14.5939},
|
{"slug": "slugs-to-kilograms", "name": "Slugs to kilograms", "category": "weight", "type": "standard", "labels": {"in1": "Slugs", "in2": "kilograms"}, "factor": 14.5939},
|
||||||
{"slug": "sievert-to-rem", "name": "Sievert to rem", "category": "radiation", "type": "standard", "labels": {"in1": "Sievert", "in2": "rem"}, "factor": 100.0},
|
{"slug": "sievert-to-rem", "name": "Sievert to rem", "category": "radiation", "type": "standard", "labels": {"in1": "Sievert", "in2": "rem"}, "factor": 100.0},
|
||||||
{"slug": "seconds-to-minutes", "name": "Seconds to minutes", "category": "time", "type": "standard", "labels": {"in1": "Seconds", "in2": "minutes"}, "factor": 0.016667, "hidden": true},
|
{"slug": "seconds-to-minutes", "name": "Seconds to minutes", "category": "time", "type": "standard", "labels": {"in1": "Seconds", "in2": "minutes"}, "factor": 0.016667, "hidden": true},
|
||||||
@@ -364,6 +397,11 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "psi-to-pascal", "name": "PSI to Pascals", "category": "pressure", "type": "standard", "teaser": "Convert PSI into pascals for SI clarity.", "labels": {"in1": "PSI", "in2": "Pascals"}, "factor": 6894.76},
|
{"slug": "psi-to-pascal", "name": "PSI to Pascals", "category": "pressure", "type": "standard", "teaser": "Convert PSI into pascals for SI clarity.", "labels": {"in1": "PSI", "in2": "Pascals"}, "factor": 6894.76},
|
||||||
{"slug": "psi-to-mmhg", "name": "PSI to mmHg", "category": "pressure", "type": "standard", "teaser": "Express PSI in millimeters of mercury.", "labels": {"in1": "PSI", "in2": "mmHg"}, "factor": 51.7149},
|
{"slug": "psi-to-mmhg", "name": "PSI to mmHg", "category": "pressure", "type": "standard", "teaser": "Express PSI in millimeters of mercury.", "labels": {"in1": "PSI", "in2": "mmHg"}, "factor": 51.7149},
|
||||||
{"slug": "psi-to-torr", "name": "PSI to Torr", "category": "pressure", "type": "standard", "teaser": "Express PSI in torr for vacuum work.", "labels": {"in1": "PSI", "in2": "Torr"}, "factor": 51.7149},
|
{"slug": "psi-to-torr", "name": "PSI to Torr", "category": "pressure", "type": "standard", "teaser": "Express PSI in torr for vacuum work.", "labels": {"in1": "PSI", "in2": "Torr"}, "factor": 51.7149},
|
||||||
|
{"slug": "torr-to-atmosphere", "name": "Torr to Atmosphere", "category": "pressure", "type": "standard", "teaser": "Convert torr into atmospheres.", "labels": {"in1": "Torr", "in2": "Atmosphere"}, "factor": 0.0013157894736842105, "hidden": true},
|
||||||
|
{"slug": "torr-to-bar", "name": "Torr to Bar", "category": "pressure", "type": "standard", "teaser": "Express torr as bars.", "labels": {"in1": "Torr", "in2": "Bar"}, "factor": 0.00133322368421},
|
||||||
|
{"slug": "torr-to-cmhg", "name": "Torr to cmHg", "category": "pressure", "type": "standard", "teaser": "Convert torr into centimeters of mercury.", "labels": {"in1": "Torr", "in2": "cmHg"}, "factor": 0.1},
|
||||||
|
{"slug": "torr-to-kpa", "name": "Torr to kPa", "category": "pressure", "type": "standard", "teaser": "Convert torr into kilopascals.", "labels": {"in1": "Torr", "in2": "kPa"}, "factor": 0.13332236842105263},
|
||||||
|
{"slug": "torr-to-psi", "name": "Torr to PSI", "category": "pressure", "type": "standard", "teaser": "Convert torr into pounds per square inch.", "labels": {"in1": "Torr", "in2": "PSI"}, "factor": 0.019336776, "hidden": true},
|
||||||
{"slug": "ppi-to-dpi", "name": "PPI to DPI", "category": "other", "type": "standard", "labels": {"in1": "PPI", "in2": "DPI"}},
|
{"slug": "ppi-to-dpi", "name": "PPI to DPI", "category": "other", "type": "standard", "labels": {"in1": "PPI", "in2": "DPI"}},
|
||||||
{"slug": "pounds-to-tons", "name": "Pounds to tons", "category": "weight", "type": "standard", "labels": {"in1": "Pounds", "in2": "tons"}, "factor": 0.0005, "hidden": true},
|
{"slug": "pounds-to-tons", "name": "Pounds to tons", "category": "weight", "type": "standard", "labels": {"in1": "Pounds", "in2": "tons"}, "factor": 0.0005, "hidden": true},
|
||||||
{"slug": "pounds-to-stones", "name": "Pounds to stones", "category": "weight", "type": "standard", "labels": {"in1": "Pounds", "in2": "stones"}, "factor": 0.071428, "hidden": true},
|
{"slug": "pounds-to-stones", "name": "Pounds to stones", "category": "weight", "type": "standard", "labels": {"in1": "Pounds", "in2": "stones"}, "factor": 0.071428, "hidden": true},
|
||||||
@@ -403,13 +441,14 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "metric-tons-to-long-tons", "name": "Metric tons to long tons", "category": "weight", "type": "standard", "labels": {"in1": "Metric tons", "in2": "long tons"}, "factor": 0.9842},
|
{"slug": "metric-tons-to-long-tons", "name": "Metric tons to long tons", "category": "weight", "type": "standard", "labels": {"in1": "Metric tons", "in2": "long tons"}, "factor": 0.9842},
|
||||||
{"slug": "lumens-to-candela", "name": "Lumens to candela", "category": "light", "type": "standard", "labels": {"in1": "Lumens", "in2": "candela"}, "factor": 0.079577, "hidden": true},
|
{"slug": "lumens-to-candela", "name": "Lumens to candela", "category": "light", "type": "standard", "labels": {"in1": "Lumens", "in2": "candela"}, "factor": 0.079577, "hidden": true},
|
||||||
{"slug": "gsm-to-ounces-per-sq-yard", "name": "GSM to Ounces per sq yard", "category": "length", "type": "standard", "teaser": "Convert GSM to Ounces per sq yard instantly.", "labels": {"in1": "GSM", "in2": "Ounces per sq yard"}, "factor": 0.02952, "hidden": true},
|
{"slug": "gsm-to-ounces-per-sq-yard", "name": "GSM to Ounces per sq yard", "category": "length", "type": "standard", "teaser": "Convert GSM to Ounces per sq yard instantly.", "labels": {"in1": "GSM", "in2": "Ounces per sq yard"}, "factor": 0.02952, "hidden": true},
|
||||||
|
{"slug": "tex-to-denier", "name": "Tex to Denier", "category": "other", "type": "standard", "teaser": "Convert tex into denier for yarn weights.", "labels": {"in1": "Tex", "in2": "Denier"}, "factor": 9.0},
|
||||||
{"slug": "ounces-per-sq-yard-to-gsm", "name": "Ounces per sq yard to GSM", "category": "length", "type": "standard", "teaser": "Convert fabric weight from ounces per square yard into grams per square meter.", "labels": {"in1": "Ounces per sq yard", "in2": "GSM"}, "factor": 33.906074},
|
{"slug": "ounces-per-sq-yard-to-gsm", "name": "Ounces per sq yard to GSM", "category": "length", "type": "standard", "teaser": "Convert fabric weight from ounces per square yard into grams per square meter.", "labels": {"in1": "Ounces per sq yard", "in2": "GSM"}, "factor": 33.906074},
|
||||||
{"slug": "hands-to-centimeters", "name": "Hands to Centimeters", "category": "length", "type": "standard", "teaser": "Convert Hands to Centimeters instantly.", "labels": {"in1": "Hands", "in2": "Centimeters"}, "factor": 10.16},
|
{"slug": "hands-to-centimeters", "name": "Hands to Centimeters", "category": "length", "type": "standard", "teaser": "Convert Hands to Centimeters instantly.", "labels": {"in1": "Hands", "in2": "Centimeters"}, "factor": 10.16},
|
||||||
{"slug": "hands-to-inches", "name": "Hands to Inches", "category": "length", "type": "standard", "teaser": "Convert Hands to Inches instantly.", "labels": {"in1": "Hands", "in2": "Inches"}, "factor": 4.0},
|
{"slug": "hands-to-inches", "name": "Hands to Inches", "category": "length", "type": "standard", "teaser": "Convert Hands to Inches instantly.", "labels": {"in1": "Hands", "in2": "Inches"}, "factor": 4.0},
|
||||||
{"slug": "hartree-to-electron-volts", "name": "Hartree to Electron-volts", "category": "energy", "type": "standard", "teaser": "Convert Hartree to Electron-volts instantly.", "labels": {"in1": "Hartree", "in2": "Electron-volts"}, "factor": 27.2114},
|
{"slug": "hartree-to-electron-volts", "name": "Hartree to Electron-volts", "category": "energy", "type": "standard", "teaser": "Convert Hartree to Electron-volts instantly.", "labels": {"in1": "Hartree", "in2": "Electron-volts"}, "factor": 27.2114},
|
||||||
{"slug": "hectares-to-ares", "name": "Hectares to Ares", "category": "area", "type": "standard", "teaser": "Convert Hectares to Ares instantly.", "labels": {"in1": "Hectares", "in2": "Ares"}, "factor": 100.0},
|
{"slug": "hectares-to-ares", "name": "Hectares to Ares", "category": "area", "type": "standard", "teaser": "Convert Hectares to Ares instantly.", "labels": {"in1": "Hectares", "in2": "Ares"}, "factor": 100.0},
|
||||||
{"slug": "hectares-to-square-feet", "name": "Hectares to Square Feet", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Feet instantly.", "labels": {"in1": "Hectares", "in2": "Square Feet"}, "factor": 107639.0},
|
{"slug": "hectares-to-square-feet", "name": "Hectares to Square Feet", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Feet instantly.", "labels": {"in1": "Hectares", "in2": "Square Feet"}, "factor": 107639.0},
|
||||||
{"slug": "hectares-to-square-kilometers", "name": "Hectares to Square Kilometers", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Kilometers instantly.", "labels": {"in1": "Hectares", "in2": "Square Kilometers"}, "factor": 0.01},
|
{"slug": "hectares-to-square-kilometers", "name": "Hectares to Square Kilometers", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Kilometers instantly.", "labels": {"in1": "Hectares", "in2": "Square Kilometers"}, "factor": 0.01, "hidden": true},
|
||||||
{"slug": "hectares-to-square-meters", "name": "Hectares to Square Meters", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Meters instantly.", "labels": {"in1": "Hectares", "in2": "Square Meters"}, "factor": 10000.0},
|
{"slug": "hectares-to-square-meters", "name": "Hectares to Square Meters", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Meters instantly.", "labels": {"in1": "Hectares", "in2": "Square Meters"}, "factor": 10000.0},
|
||||||
{"slug": "hectopascals-to-atmosphere", "name": "Hectopascals to Atmosphere", "category": "pressure", "type": "standard", "teaser": "Convert Hectopascals to Atmosphere instantly.", "labels": {"in1": "Hectopascals", "in2": "Atmosphere"}, "factor": 0.000986923},
|
{"slug": "hectopascals-to-atmosphere", "name": "Hectopascals to Atmosphere", "category": "pressure", "type": "standard", "teaser": "Convert Hectopascals to Atmosphere instantly.", "labels": {"in1": "Hectopascals", "in2": "Atmosphere"}, "factor": 0.000986923},
|
||||||
{"slug": "hectopascals-to-bar", "name": "Hectopascals to Bar", "category": "pressure", "type": "standard", "teaser": "Convert Hectopascals to Bar instantly.", "labels": {"in1": "Hectopascals", "in2": "Bar"}, "factor": 0.001},
|
{"slug": "hectopascals-to-bar", "name": "Hectopascals to Bar", "category": "pressure", "type": "standard", "teaser": "Convert Hectopascals to Bar instantly.", "labels": {"in1": "Hectopascals", "in2": "Bar"}, "factor": 0.001},
|
||||||
@@ -422,7 +461,7 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "hex-to-octal", "name": "Hex to Octal", "category": "number-systems", "type": "base", "teaser": "Convert Hex to Octal instantly.", "labels": {"in1": "Hex", "in2": "Octal"}, "fromBase": 16, "toBase": 8},
|
{"slug": "hex-to-octal", "name": "Hex to Octal", "category": "number-systems", "type": "base", "teaser": "Convert Hex to Octal instantly.", "labels": {"in1": "Hex", "in2": "Octal"}, "fromBase": 16, "toBase": 8},
|
||||||
{"slug": "hogshead-to-liters", "name": "Hogshead to Liters", "category": "volume", "type": "standard", "teaser": "Convert Hogshead (US) to Liters instantly.", "labels": {"in1": "Hogshead", "in2": "Liters"}, "factor": 238.481},
|
{"slug": "hogshead-to-liters", "name": "Hogshead to Liters", "category": "volume", "type": "standard", "teaser": "Convert Hogshead (US) to Liters instantly.", "labels": {"in1": "Hogshead", "in2": "Liters"}, "factor": 238.481},
|
||||||
{"slug": "horsepower-to-btuhour", "name": "Horsepower to BTU/hour", "category": "energy", "type": "standard", "teaser": "Convert Horsepower to BTU/hour instantly.", "labels": {"in1": "Horsepower", "in2": "BTU/hour"}, "factor": 2544.43},
|
{"slug": "horsepower-to-btuhour", "name": "Horsepower to BTU/hour", "category": "energy", "type": "standard", "teaser": "Convert Horsepower to BTU/hour instantly.", "labels": {"in1": "Horsepower", "in2": "BTU/hour"}, "factor": 2544.43},
|
||||||
{"slug": "horsepower-to-tons-of-refrigeration", "name": "Horsepower to Tons of Refrigeration", "category": "weight", "type": "standard", "teaser": "Convert Horsepower to Tons of Refrigeration instantly.", "labels": {"in1": "Horsepower", "in2": "Tons of Refrigeration"}, "factor": 0.284345},
|
{"slug": "horsepower-to-tons-of-refrigeration", "name": "Horsepower to Tons of Refrigeration", "category": "weight", "type": "standard", "teaser": "Convert Horsepower to Tons of Refrigeration instantly.", "labels": {"in1": "Horsepower", "in2": "Tons of Refrigeration"}, "factor": 0.284345, "hidden": true},
|
||||||
{"slug": "horsepower-to-watts", "name": "Horsepower to Watts", "category": "power", "type": "standard", "teaser": "Convert Horsepower to Watts instantly.", "labels": {"in1": "Horsepower", "in2": "Watts"}, "factor": 745.7},
|
{"slug": "horsepower-to-watts", "name": "Horsepower to Watts", "category": "power", "type": "standard", "teaser": "Convert Horsepower to Watts instantly.", "labels": {"in1": "Horsepower", "in2": "Watts"}, "factor": 745.7},
|
||||||
{"slug": "hours-to-seconds", "name": "Hours to Seconds", "category": "time", "type": "standard", "teaser": "Convert Hours to Seconds instantly.", "labels": {"in1": "Hours", "in2": "Seconds"}, "factor": 3600.0},
|
{"slug": "hours-to-seconds", "name": "Hours to Seconds", "category": "time", "type": "standard", "teaser": "Convert Hours to Seconds instantly.", "labels": {"in1": "Hours", "in2": "Seconds"}, "factor": 3600.0},
|
||||||
{"slug": "hours-to-weeks", "name": "Hours to Weeks", "category": "time", "type": "standard", "teaser": "Convert Hours to Weeks instantly.", "labels": {"in1": "Hours", "in2": "Weeks"}, "factor": 0.00595238},
|
{"slug": "hours-to-weeks", "name": "Hours to Weeks", "category": "time", "type": "standard", "teaser": "Convert Hours to Weeks instantly.", "labels": {"in1": "Hours", "in2": "Weeks"}, "factor": 0.00595238},
|
||||||
@@ -430,6 +469,7 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "imperial-fl-oz-to-us-fl-oz", "name": "Imperial fl oz to US fl oz", "category": "other", "type": "standard", "teaser": "Convert Imperial fl oz to US fl oz instantly.", "labels": {"in1": "Imperial fl oz", "in2": "US fl oz"}, "factor": 1.20095},
|
{"slug": "imperial-fl-oz-to-us-fl-oz", "name": "Imperial fl oz to US fl oz", "category": "other", "type": "standard", "teaser": "Convert Imperial fl oz to US fl oz instantly.", "labels": {"in1": "Imperial fl oz", "in2": "US fl oz"}, "factor": 1.20095},
|
||||||
{"slug": "imperial-gallons-to-liters", "name": "Imperial gallons to Liters", "category": "volume", "type": "standard", "teaser": "Convert Imperial gallons to Liters instantly.", "labels": {"in1": "Imperial gallons", "in2": "Liters"}, "factor": 4.54609},
|
{"slug": "imperial-gallons-to-liters", "name": "Imperial gallons to Liters", "category": "volume", "type": "standard", "teaser": "Convert Imperial gallons to Liters instantly.", "labels": {"in1": "Imperial gallons", "in2": "Liters"}, "factor": 4.54609},
|
||||||
{"slug": "imperial-gallons-to-us-gallons", "name": "Imperial gallons to US gallons", "category": "volume", "type": "standard", "teaser": "Convert Imperial gallons to US gallons instantly.", "labels": {"in1": "Imperial gallons", "in2": "US gallons"}, "factor": 1.20095},
|
{"slug": "imperial-gallons-to-us-gallons", "name": "Imperial gallons to US gallons", "category": "volume", "type": "standard", "teaser": "Convert Imperial gallons to US gallons instantly.", "labels": {"in1": "Imperial gallons", "in2": "US gallons"}, "factor": 1.20095},
|
||||||
|
{"slug": "us-gallons-to-imperial-gallons", "name": "US gallons to Imperial gallons", "category": "volume", "type": "standard", "teaser": "Flip US gallons into Imperial gallons for volume swaps.", "labels": {"in1": "US gallons", "in2": "Imperial gallons"}, "factor": 0.832674, "hidden": true},
|
||||||
{"slug": "imperial-pints-to-us-pints", "name": "Imperial pints to US pints", "category": "volume", "type": "standard", "teaser": "Convert Imperial pints to US pints instantly.", "labels": {"in1": "Imperial pints", "in2": "US pints"}, "factor": 1.20095},
|
{"slug": "imperial-pints-to-us-pints", "name": "Imperial pints to US pints", "category": "volume", "type": "standard", "teaser": "Convert Imperial pints to US pints instantly.", "labels": {"in1": "Imperial pints", "in2": "US pints"}, "factor": 1.20095},
|
||||||
{"slug": "inch-pounds-to-foot-pounds", "name": "Inch-Pounds to Foot-Pounds", "category": "force", "type": "standard", "teaser": "Convert Inch-Pounds to Foot-Pounds instantly.", "labels": {"in1": "Inch-Pounds", "in2": "Foot-Pounds"}, "factor": 0.0833333, "hidden": true},
|
{"slug": "inch-pounds-to-foot-pounds", "name": "Inch-Pounds to Foot-Pounds", "category": "force", "type": "standard", "teaser": "Convert Inch-Pounds to Foot-Pounds instantly.", "labels": {"in1": "Inch-Pounds", "in2": "Foot-Pounds"}, "factor": 0.0833333, "hidden": true},
|
||||||
{"slug": "inch-pounds-to-newton-meters", "name": "Inch-Pounds to Newton-Meters", "category": "force", "type": "standard", "teaser": "Convert Inch-Pounds to Newton-Meters instantly.", "labels": {"in1": "Inch-Pounds", "in2": "Newton-Meters"}, "factor": 0.112985, "hidden": true},
|
{"slug": "inch-pounds-to-newton-meters", "name": "Inch-Pounds to Newton-Meters", "category": "force", "type": "standard", "teaser": "Convert Inch-Pounds to Newton-Meters instantly.", "labels": {"in1": "Inch-Pounds", "in2": "Newton-Meters"}, "factor": 0.112985, "hidden": true},
|
||||||
@@ -464,8 +504,8 @@ export const calculators: CalculatorDef[] = [
|
|||||||
{"slug": "gallons-to-pints", "name": "Gallons to Pints", "category": "volume", "type": "standard", "teaser": "Pouring one gallon equals how many pints for serving?", "labels": {"in1": "Gallons", "in2": "Pints"}, "factor": 8.0},
|
{"slug": "gallons-to-pints", "name": "Gallons to Pints", "category": "volume", "type": "standard", "teaser": "Pouring one gallon equals how many pints for serving?", "labels": {"in1": "Gallons", "in2": "Pints"}, "factor": 8.0},
|
||||||
{"slug": "gallons-to-quarts", "name": "Gallons to Quarts", "category": "volume", "type": "standard", "teaser": "Four gallons convert to how many quarts for canning?", "labels": {"in1": "Gallons", "in2": "Quarts"}, "factor": 4.0},
|
{"slug": "gallons-to-quarts", "name": "Gallons to Quarts", "category": "volume", "type": "standard", "teaser": "Four gallons convert to how many quarts for canning?", "labels": {"in1": "Gallons", "in2": "Quarts"}, "factor": 4.0},
|
||||||
{"slug": "gamma-mass-to-micrograms", "name": "Gamma (mass) to Micrograms", "category": "weight", "type": "standard", "teaser": "A lab note shows gamma units; what is that in micrograms?", "labels": {"in1": "Gamma (mass)", "in2": "Micrograms"}},
|
{"slug": "gamma-mass-to-micrograms", "name": "Gamma (mass) to Micrograms", "category": "weight", "type": "standard", "teaser": "A lab note shows gamma units; what is that in micrograms?", "labels": {"in1": "Gamma (mass)", "in2": "Micrograms"}},
|
||||||
{"slug": "gauss-to-tesla", "name": "Gauss to Tesla", "category": "other", "type": "standard", "teaser": "A field reads five thousand gauss; what is that in tesla?", "labels": {"in1": "Gauss", "in2": "Tesla"}, "factor": 0.0001},
|
{"slug": "gauss-to-tesla", "name": "Gauss to Tesla", "category": "other", "type": "standard", "teaser": "A field reads five thousand gauss; what is that in tesla?", "labels": {"in1": "Gauss", "in2": "Tesla"}, "factor": 0.0001, "hidden": true},
|
||||||
{"slug": "millitesla-to-tesla", "name": "Millitesla to Tesla", "category": "other", "type": "standard", "teaser": "Convert milliteslas into teslas for electromagnetism work.", "labels": {"in1": "Millitesla", "in2": "Tesla"}, "factor": 0.001},
|
{"slug": "millitesla-to-tesla", "name": "Millitesla to Tesla", "category": "other", "type": "standard", "teaser": "Convert milliteslas into teslas for electromagnetism work.", "labels": {"in1": "Millitesla", "in2": "Tesla"}, "factor": 0.001, "hidden": true},
|
||||||
{"slug": "gbps-to-mbps", "name": "Gbps to Mbps", "category": "other", "type": "standard", "teaser": "A fiber uplink reports 10 Gbps; how many megabits per second of capacity is that?", "labels": {"in1": "Gbps", "in2": "Mbps"}, "factor": 1000.0},
|
{"slug": "gbps-to-mbps", "name": "Gbps to Mbps", "category": "other", "type": "standard", "teaser": "A fiber uplink reports 10 Gbps; how many megabits per second of capacity is that?", "labels": {"in1": "Gbps", "in2": "Mbps"}, "factor": 1000.0},
|
||||||
{"slug": "gibibytes-to-gigabytes", "name": "Gibibytes to Gigabytes", "category": "data", "type": "standard", "teaser": "A backup file is 2 GiB; how many gigabytes will the storage quota show?", "labels": {"in1": "Gibibytes", "in2": "Gigabytes"}, "factor": 1.073741824},
|
{"slug": "gibibytes-to-gigabytes", "name": "Gibibytes to Gigabytes", "category": "data", "type": "standard", "teaser": "A backup file is 2 GiB; how many gigabytes will the storage quota show?", "labels": {"in1": "Gibibytes", "in2": "Gigabytes"}, "factor": 1.073741824},
|
||||||
{"slug": "gigabits-to-megabits", "name": "Gigabits to Megabits", "category": "data", "type": "standard", "teaser": "A carrier promises 3 gigabits per second; how many megabits is the link rated for?", "labels": {"in1": "Gigabits", "in2": "Megabits"}, "factor": 1000.0},
|
{"slug": "gigabits-to-megabits", "name": "Gigabits to Megabits", "category": "data", "type": "standard", "teaser": "A carrier promises 3 gigabits per second; how many megabits is the link rated for?", "labels": {"in1": "Gigabits", "in2": "Megabits"}, "factor": 1000.0},
|
||||||
|
|||||||
6
hdyc-svelte/src/routes/calculator/[slug]/+page.server.ts
Normal file
6
hdyc-svelte/src/routes/calculator/[slug]/+page.server.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import { redirect } from '@sveltejs/kit';
|
||||||
|
import type { PageServerLoad } from './$types';
|
||||||
|
|
||||||
|
export const load: PageServerLoad = ({ params }) => {
|
||||||
|
throw redirect(301, `/${params.slug}`);
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user