xbol0 / conv2

Online data format converter for Deno

Home Page:https://conv2.deno.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conv2

Online data format converter for Deno.

Usage

It can be deploy on Deno Deploy.

deno run -A conv2.ts

Features

Current supports these formats converting:

  • YAML -> JSON
  • JSON -> YAML
  • YAML -> TOML
  • TOML -> YAML
  • JSON -> TOML
  • TOML -> JSON
  • bech32 -> hex
  • hex -> bech32

API

POST/PUT /:from/:to

Example:

Convert JSON to YAML:

curl -d '{"name":"tom"}' example.com/json/yaml

Or use a file:

curl -T file.yml example.com/yaml/json

About

Online data format converter for Deno

https://conv2.deno.dev

License:MIT License


Languages

Language:TypeScript 100.0%