mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 14:01:42 +03:00
feat(new tool): Frequency Converter
This commit is contained in:
1 parent
c209954ffd
commit
2f3fe4f280
2 files changed
+34
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<script setup lang="ts">
|
||||
import UnitsConverter from '@/components/UnitsConverter.vue';
|
||||
|
||||
const supportedUnits = {
|
||||
'Hz': 'hertz',
|
||||
'mHz': 'millihertz',
|
||||
'kHz': 'kilohertz',
|
||||
'MHz': 'megahertz',
|
||||
'GHz': 'gigahertz',
|
||||
'THz': 'terahertz',
|
||||
'rpm': 'revolutions per minute',
|
||||
'deg/s': 'degree per second',
|
||||
'rad/s': 'radian per second',
|
||||
}; ;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UnitsConverter default-unit="Hz" converter-type="frequency" :supported-units="supportedUnits" label-width="160px" />
|
||||
</template>
|
||||
@@ -0,0 +1,15 @@
|
||||
import { AntennaBars4 } from '@vicons/tabler';
|
||||
import { defineTool } from '../tool';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: 'Frequency Converter',
|
||||
path: '/frequency-converter',
|
||||
description: 'Convert values between frequency units',
|
||||
keywords: ['frequency', 'converter',
|
||||
'units', 'hz', 'hertz', 'rpm', 'deg/s', 'rad/s',
|
||||
],
|
||||
component: () => import('./frequency-converter.vue'),
|
||||
icon: AntennaBars4,
|
||||
createdAt: new Date('2026-01-30'),
|
||||
category: 'Physics',
|
||||
});
|
||||
Reference in new issue
Block a user