Socket
Socket
Sign inDemoInstall

collabs

Package Overview
Dependencies
8
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    collabs

A tool to generate cross-language enums and interfaces.


Version published
Maintainers
1
Install size
328 kB
Created

Readme

Source

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.

FAQs

Last updated on 18 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc