diff --git a/app.vue b/app.vue index 1cec031..ccea876 100644 --- a/app.vue +++ b/app.vue @@ -26,7 +26,8 @@

What is this tool?

This tool is an online converter for CBOR (Concise Binary Object Representation) and JSON (JavaScript Object Notation). It allows you to convert data between CBOR and JSON formats.

-

Just paste your CBOR value as hex or base64, or JSON as string above to begin.

+

To get started, just paste your CBOR value (in base64 or hex) or a JSON string into the respective input field + above.

What is CBOR?

@@ -36,6 +37,15 @@

For more information, you can visit the CBOR website.

+
+

Source, Issues and Development

+

Explore the GitHub repository to view the source + code, contribute to pull requests and issues.

+
+
+

About me

+

Visit my blog for more developer tips and stories.

+
@@ -55,10 +65,18 @@ const jsonPlaceHolder = JSON.stringify({ }) const cborPlaceHolder = computed(() => Buffer.from(jsonPlaceHolder).toString(cborEncoding.value)) +useHead({ + title: 'CBOR to JSON Online Converter', + meta: [ + { name: 'og:title', content: 'CBOR to JSON Online Converter' }, + { name: 'description', content: 'Easily convert data between CBOR (Concise Binary Object Representation) and JSON (JavaScript Object Notation) formats with our online converter. Effortlessly transform CBOR-encoded data to JSON strings or vice versa, enabling seamless debugging and data interchange' } + ], +}) onMounted(() => { jsonToCbor() }) + function stringToBuffer(input: string) { if (cborEncoding.value === 'base64') { return Buffer.from(input, 'base64')