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
40
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.42
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
516
increased by112.35%
Maintainers
0
Weekly downloads
 
Created
Source

dtdl-parser library

A library for parsing and validating DTDL ontologies.

Installation / Adding to the Package.json

@digicatapult/dtdl-parser are available as an npm package. In order to use your local version in the project please use npm link more on it -> here and below in this document

// with npm
npm install @digicatapult/dtdl-parser

Basic Usage

Install dependencies

import { parseDirectories,  validateDirectories, getInterop } from "@digicatapult/dtdl-parser"


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

Keywords

FAQs

Package last updated on 03 Dec 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