New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@knime/jsonforms

Package Overview
Dependencies
Maintainers
1
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knime/jsonforms

Internal JSON Forms integration for frontend KNIME projects

latest
Source
npmnpm
Version
1.21.3
Version published
Weekly downloads
1.4K
-7.45%
Maintainers
1
Weekly downloads
 
Created
Source

Image KNIME JSONForms integration

This repository contains the frontend components of the KNIME JSONForms integration that is based on Vue. It is built as a Vue library and used in KNIME Analytics Platform and/or KNIME Hub.

Installation

To install the @knime/jsonforms package, you can use npm:

npm install @knime/jsonforms

Usage

The vue component controlling the JSONForms instance can be imported as follows:

import { JsonFormsDialog } from "@knime/jsonforms";

It requires renderers as property, which can be constructed using a variety of defaults.

Those default components are divided into layouts and controls:

import { controls, layouts } from "@jsonforms/testing";

Use the toRenderers method to construct the final list of renderers once the chosen controls/layouts are modified in the desired way. A modification might entail replacing the tester by which this renderer is used by jsonforms or wrapping a control using higher order vue components.

Combined example:

<script setup lang="ts">
import {
  controls,
  layouts,
  JsonFormsDialog
  toRenderers
} from "@knime/jsonforms"


const renderers = toRenderers([/**
  Add newly constructed renderers here
*/], [
  controls.dropdownRenderer,
  controls.textRenderer
], [
  layouts.sectionRenderer
])
</script>
<template>
  <JsonFormsDialog :data="..." ... :renderers="renderers" />
</template>

Testing

Types and utility methods for testing are made available in the following way:

import * from "@knime/jsonforms/testing"

Development

Prerequisites

  • Install Node.js, see version in package.json.

Newer versions may also work, but have not been tested.

Install dependencies

pnpm install

and then use the following commands. For detailed explanations see Vue CLI docs:

Demo application with mocks

pnpm dev

Testing

Run unit- and integration-tests individually by

pnpm test:unit
pnpm test:integration

You can generate a coverage report with

pnpm coverage:unit
pnpm coverage:integration

The output can be found in the coverage folder. It contains a browseable html report as well as raw coverage data in LCOV and Clover format, which can be used in analysis software (SonarQube, Jenkins, …).

Note: noisy Vue warnings are suppressed if you set the environment flag SUPPRESS_WARNINGS=true, and they are also suppressed when running with CI=true which is set by default in most pipeline environments.

Running security audit

npm provides a check against known security issues of used dependencies. Run it by calling

pnpm audit

Building

To build the package, use the following command:

pnpm build

Join the Community!

FAQs

Package last updated on 02 Apr 2026

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