Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vinodotdev/codegen

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vinodotdev/codegen

Code generator for Vino components

  • 5.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Vino codegen

This is the core code generator for Vino components and providers.

Installation

$ npm install -g @vinodotdev/codegen

Usage

Run vino-codegen --help to get a list of languages available to generate. Use --help on any of the languages to dive further, e.g.:

$ vino-codegen rust --help
vino-codegen rust

Generate Rust code from a WIDL schema

Commands:
  vino-codegen rust interface <schema_dir> [options]             Generate source code for well-known interfaces
  vino-codegen rust provider-component <schema> [options]        Generate boilerplate for native provider components
  vino-codegen rust provider-integration <schema_dir> [options]  Generate the Vino integration code for all component schemas
  vino-codegen rust wapc-component <schema> [options]            Generate boilerplate for WaPC components
  vino-codegen rust wapc-integration <schema_dir> [options]      Generate the Vino & WaPC integration code for all component schemas
  vino-codegen rust wapc-lib                                     Generate the boilerplate lib.rs for WaPC components
  vino-codegen rust wellknown-implementer <interface> [options]  Generate the Vino integration code for well-known interface schemas

Options:
      --version  Show version number                                                                                                           [boolean]
  -h, --help     Show help                                                                                                                     [boolean]

Testing and debugging

Run tests via

$ npm run tests

Tests for the generated code are accounted for in downstream consumers but this repository should have some baseline tests. THis would be a great first issue for anyone interested.

FAQs

Package last updated on 01 Mar 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc