mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-21 21:44:40 +03:00
1 parent
937ddc64c7
commit
91f565f839
6 files changed
+70
No files matched your search
@@ -261,6 +261,8 @@
|
|||||||
"tesseract.js": "^5.1.1",
|
"tesseract.js": "^5.1.1",
|
||||||
"text-encoding-utf-8": "^1.0.2",
|
"text-encoding-utf-8": "^1.0.2",
|
||||||
"tidy-url": "^1.18.3",
|
"tidy-url": "^1.18.3",
|
||||||
|
"to-double-quotes": "^4.0.0",
|
||||||
|
"to-single-quotes": "^4.0.0",
|
||||||
"turndown": "^7.2.0",
|
"turndown": "^7.2.0",
|
||||||
"ua-parser-js": "^2.0.1",
|
"ua-parser-js": "^2.0.1",
|
||||||
"ulid": "^2.3.0",
|
"ulid": "^2.3.0",
|
||||||
|
|||||||
Generated
+23
@@ -680,6 +680,12 @@ dependencies:
|
|||||||
tidy-url:
|
tidy-url:
|
||||||
specifier: ^1.18.3
|
specifier: ^1.18.3
|
||||||
version: 1.18.3
|
version: 1.18.3
|
||||||
|
to-double-quotes:
|
||||||
|
specifier: ^4.0.0
|
||||||
|
version: 4.0.0
|
||||||
|
to-single-quotes:
|
||||||
|
specifier: ^4.0.0
|
||||||
|
version: 4.0.0
|
||||||
turndown:
|
turndown:
|
||||||
specifier: ^7.2.0
|
specifier: ^7.2.0
|
||||||
version: 7.2.0
|
version: 7.2.0
|
||||||
@@ -17143,6 +17149,13 @@ packages:
|
|||||||
hasBin: true
|
hasBin: true
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/to-double-quotes@4.0.0:
|
||||||
|
resolution: {integrity: sha512-frEcC+DRPpFrbEfUS2IwDKu2Pv/jjV1hcQGUjQvLhnv9zJlhMCXgrwODmhM1wlvfBik3GHOtyvm4WoZpKylL2Q==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
to-single-quotes: 3.0.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
/to-fast-properties@2.0.0:
|
/to-fast-properties@2.0.0:
|
||||||
resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
|
resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
|
||||||
engines: {node: '>=4'}
|
engines: {node: '>=4'}
|
||||||
@@ -17153,6 +17166,16 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
is-number: 7.0.0
|
is-number: 7.0.0
|
||||||
|
|
||||||
|
/to-single-quotes@3.0.0:
|
||||||
|
resolution: {integrity: sha512-XdY9d95LLY+6yPI34vzUtI9KVSlfUM6RQIrLvislvD/rwYgjIHgKZsjiqjxJsWwPATEqXLgb1fM0Zy5x5rvPxA==}
|
||||||
|
engines: {node: '>=4'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/to-single-quotes@4.0.0:
|
||||||
|
resolution: {integrity: sha512-sMi8lbpy+CIqZUb2Q/ZjhChlg+2B7ohuLaKYy0SsOqaAp8Yky2YT0JgbBTPqOi/rOtEMBcEFyeYM4QhHUbsLQg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/to-through@3.0.0:
|
/to-through@3.0.0:
|
||||||
resolution: {integrity: sha512-y8MN937s/HVhEoBU1SxfHC+wxCHkV1a9gW8eAdTadYh/bGyesZIVcbjI+mSpFbSVwQici/XjBjuUyri1dnXwBw==}
|
resolution: {integrity: sha512-y8MN937s/HVhEoBU1SxfHC+wxCHkV1a9gW8eAdTadYh/bGyesZIVcbjI+mSpFbSVwQici/XjBjuUyri1dnXwBw==}
|
||||||
engines: {node: '>=10.13.0'}
|
engines: {node: '>=10.13.0'}
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
import { Quote } from '@vicons/tabler';
|
||||||
|
import { defineTool } from '../tool';
|
||||||
|
|
||||||
|
export const tool = defineTool({
|
||||||
|
name: 'Quote Converter',
|
||||||
|
path: '/quote-converter',
|
||||||
|
description: 'Convert quoted string from/to \' and "',
|
||||||
|
keywords: ['quote', 'converter'],
|
||||||
|
component: () => import('./quote-converter.vue'),
|
||||||
|
icon: Quote,
|
||||||
|
createdAt: new Date('2025-05-01'),
|
||||||
|
category: 'Development',
|
||||||
|
});
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import toDoubleQuotes from 'to-double-quotes';
|
||||||
|
import toSingleQuotes from 'to-single-quotes';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<c-card title="Single quotes to double quotes" mb-2>
|
||||||
|
<format-transformer
|
||||||
|
input-label="Single quoted string"
|
||||||
|
input-placeholder="Paste your single quoted string here..."
|
||||||
|
output-label="Double quoted string"
|
||||||
|
:transformer="toDoubleQuotes"
|
||||||
|
/>
|
||||||
|
</c-card>
|
||||||
|
|
||||||
|
<c-card title="Double quotes to single quotes">
|
||||||
|
<format-transformer
|
||||||
|
input-label="Double quoted string"
|
||||||
|
input-placeholder="Paste your double quoted string here..."
|
||||||
|
output-label="Single quoted string"
|
||||||
|
:transformer="toSingleQuotes"
|
||||||
|
/>
|
||||||
|
</c-card>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
declare module 'to-double-quotes' {
|
||||||
|
export default function convert(s: string): string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
declare module 'to-single-quotes' {
|
||||||
|
export default function convert(s: string): string;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user