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

@krlwlfrt/omeco

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@krlwlfrt/omeco

OData metadata converter

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
65
increased by30%
Maintainers
1
Weekly downloads
 
Created
Source

@krlwlfrt/omeco

pipeline status npm license) documentation

This tool can extract data from an OData metadata file (currently only v2) and compile it to other representations of the extracted data. Currently these are:

  • TypeScript interfaces
  • PlantUML and a resulting class diagram
    • Caution: Please make sure that node-plantuml is installed if you want to generate class diagrams.

CLI

Install and execute @krlwlfrt/omeco globally and use it as a CLI.

npm install -g @krlwlfrt/omeco

omeco convert PATH/TO/METADATA.XML

This will generate output files in the same directory as the supplied metadata file with names which match the basename (without extension) of the source file.

For further usage refer to the help section of the CLI:

omeco --help

Programmatically

Install @krlwlfrt/omeco as a dependency in your project and use it programmatically.

npm install @krlwlfrt/omeco

Extract

Use extractData to extract data from a metadata description.

Compile

  • Use generateTypeScript from @krlwlfrt/tsg to generate TypeScript interfaces from the extracted data.
  • Use compilePlantUml to generate PlantUML from the extracted data.
  • Use writePlantUmlPng to write a class diagram (PNG) from generated PlantUML.

Documentation

See documentation for detailed description of usage.

Keywords

FAQs

Package last updated on 26 Jul 2021

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