Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from google/cddlconv

A commandline utility for converting CDDL to various formats.

License

wanderer/cddlconv

 
 

Repository files navigation

cddlconv

crates.io license ci

A commandline utility for converting CDDL to various formats.

Usage

  1. Clone this repo and cd into it.
  2. cargo run -- path/to/file.cddl

Tips

Formatting output

The output is generally ugly, so you may need to format it. The easiest way is to pipe it into a formatter.

For example,

outfile=path/to/file.ts
cargo run -- path/to/file.cddl | prettier --stdin-filepath=$outfile > $outfile

Limitations

  1. Only TypeScript and Zod is supported at the moment.

About

A commandline utility for converting CDDL to various formats.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.4%
  • Rust 47.5%
  • Nix 1.1%