collabs

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i collabs

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

7.79 kB

Total Files

12

Last publish

Collaborators

  • seiyria