A tool to create cross-language enums and interfaces.
npx collabs
-
--file
- the.collab
file to parse -
--outFile
- the destination file to output -
--format
- the format of the file to parse as (supportsts
only at this time)
- 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
Check out the examples
directory to see some simple examples.