New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ui5/dts-generator

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/dts-generator

Generates TypeScript Definitions from UI5 api.json files

  • 2.0.5
  • npm
  • Socket score

Version published
Weekly downloads
234
decreased by-43.61%
Maintainers
1
Weekly downloads
 
Created
Source

npm (scoped)

@ui5/DTS-Generator

This npm package contains the logic for generating TypeScript signatures from SAP UI5 api.json files.

It is used by the @sapui5/ts-types package to generate the TypeScript signatures For UI5.

Status

This project is in an experimental Beta State. Significant changes are likely to occur, including potential breaking changes

Installation

For the latest version:

  • npm install @ui5/dts-generator --save-dev

Usage

Please see the TypeScript API for additional details for each argument.

const { jsonToDTS } = require("@ui5/dts-generator");

// Directives help the DTS Generator handle typos and other inconsistencies in api.json files.
const directives = {};

const dtsText = jsonToDTS(libJsonData, {
  directives,
  dependencies: [
    /* Array of api.json dependencies as plain JavaScript objects */
  ],
});

// Normally one would output the `dtsText` to a file.
console.log(dtsText);

Support

Please open issues on github.

Contributing

See CONTRIBUTING.md.

FAQs

Package last updated on 25 Nov 2020

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