smartniz / linkml-runtime.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linkml-runtime.js

Status: EXPERIMENTAL

This is an experimental translation of linkml-runtime to Typescript/Javascript

The goal is to be as lightweight as possible. Currently there are two modules:

  • MetaModel
    • this is an automated translation of the linkml metamodel to Typescript
    • this is entirely interface/type declarations - the compiled js is empty
  • SchemaView
    • manual translation (HIGHLY INCOMPLETE) of schemaview.py

For examples see test/data

You can convert a linkml schema to typescript using gen-typescript (part of the main linkml package)

About


Languages

Language:TypeScript 99.3%Language:JavaScript 0.4%Language:HTML 0.3%