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

@digicatapult/dtdl-parser

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digicatapult/dtdl-parser

JS tool to parse DTDL defined Ontologies

  • 0.0.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
709
decreased by-6.83%
Maintainers
0
Weekly downloads
 
Created
Source

dtdl-parser

A library for parsing and validating (DTDL)[https://learn.microsoft.com/en-us/azure/digital-twins/concepts-models] ontologies.

Prerequisites

node >= 20 dotnet CLI Run dotnet workload install wasm-tools to install wasm-tools

Getting started

Install dependencies

npm install

Build javascript files

npm run build

Basic usage

import { parseDirectories,  validateDirectories} from "dtdl-parser"
import { getInterop } from 'dtdl-parser/src/interop'

const parser = await getInterop()
parseDirectories('../dtdl/simple', parser)

Keywords

FAQs

Package last updated on 15 Oct 2024

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