Socket
Socket
Sign inDemoInstall

@langion/introspector

Package Overview
Dependencies
28
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @langion/introspector

Introspect Langion format


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
7.74 MB
Created
Weekly downloads
 

Readme

Source

Introspector

This lib parses Langion format in order to create smaller description about types and REST methods.

Config

IntrospectorConfig<O extends string>

KeyTypeComment
originsArray<Origin<O>>Array of services from Langion
getOriginFromModuleName(path: string) => OPath is a module path, i.e. com.app.myname.appname and the result of this function must be the origin name
adaptersAdapter[]Array of adapters that will be used to parse Langion
share?SideOrigin<O>If this property is set, introspector will try to find equal types among origins and extract them in to separate origin

Origin<O extends string>

KeyTypeComment
nameOName of the origin, for example in com.app.myname.appname name can be appname
getLangion() => Promise<langion.Langion>This function should return Promise with Langion JSON description

SideOrigin<O extends string>

KeyTypeComment
originOOrigin that will be extracted as Shared
originstringName of the origin

FAQs

Last updated on 18 Nov 2019

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