1.0.1 • Published 4 years ago

collabs v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Collabs

A tool to create cross-language enums and interfaces.

Usage

npx collabs

CLI Flags

  • --file - the .collab file to parse
  • --outFile - the destination file to output
  • --format - the format of the file to parse as (supports ts only at this time)

Supported Features

  • Interface data types: string, char, boolean, integer, float, any, Record<x, y>, Array<x>
  • Enum types: Bare enums, numerical enums, string enums
  • Turn .collab files into any* language

* only the languages in formats/ are supported at this time

Examples

Check out the examples directory to see some simple examples.