open-index/open-npm huggingface dataset:
npm package: @omicronenergy/open-scd-core
Description: The core component of OpenSCD
Author: OMICRON Electronics GmbH
Latest version: 0.0.4

# OpenSCD Core
## \<open-scd>

## Installation

```sh
npm i open-scd
```

## Usage

```html
<script type="module">
  import 'open-scd/open-scd.js';
</script>

<open-scd></open-scd>
```

## Linting and formatting

To scan the project for linting and formatting errors, run

```sh
npm run lint
```

To automatically fix linting and formatting errors, run

```sh
npm run format
```

We use ESLint and Prettier for linting and formatting. Plugins for automatic
formatting and linting during editing are available for vim, emacs, VSCode,
and all popular IDEs.

## Testing with Web Test Runner

To execute a single test run:

```sh
npm test
```

To run the tests in interactive watch mode run:

```sh
npm run test:watch
```

## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the
amount of files in the project.

## Local Demo with `web-dev-server`

```sh
npm start
```

To run a local development server that serves the basic demo located in `demo/index.html`

> This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## License

This project is licensed under the [Apache License 2.0](LICENSE).

&copy; 2022 OMICRON electronics GmbH
npm package: @omicronenergy/oscd-api
Description: OpenSCD API for IEC 61850 SCL files
Author: OMICRON Electronics GmbH
Latest version: 0.1.3

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-api/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-api/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-api)

# OpenSCD API

This package defines a common set of APIs, types, and interfaces for use by [OpenSCD](https://openscd.org) distributions and plugins.  
It does **not** contain any business logic or implementation—only the shared contracts that enable interoperability between OpenSCD core, plugins, and distribution builders.

## Purpose

- **For Plugin Developers:**  
  Provides the types and event interfaces needed to build plugins that integrate seamlessly with OpenSCD core.  
  See [docs/plugin-api.md](docs/plugin-api.md) for a detailed description of the plugin API.

- **For Distribution Builders:**  
  Supplies the types and interfaces for the OpenSCD root element and other extension points.  
  _API documentation for the OpenSCD root element and constraints for `plugin.json` will be provided in future docs._

## Documentation

- [Plugin API](docs/plugin-api.md):  
  Comprehensive guide for plugin authors, including property contracts, event types, and theming.

- _Additional documentation (e.g., for the OpenSCD root element and `plugin.json` constraints) will be added soon._

## License

[Apache-2.0](LICENSE)
npm package: @omicronenergy/oscd-background-editv1
Description: OpenSCD background Plugin for supporting Edit V1 events (oscd-edit). This provides backward compatibility for plugins still relying on Edit V1 events in OpenSCD.
Author: OMICRON Electronics GmbH
Latest version: 0.0.7

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-background-editv1/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-background-editv1/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-background-editv1)

# \<oscd-background-editv1>

This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## What is this?

This is a basic menu plugin for [OpenSCD](https://openscd.org) which adds a menu item allowing users to load files into the OpenSCD Editor. Start up a demo server with `npm run start` and see for yourself!

## Linting and formatting

To scan the project for linting and formatting errors, run

```bash
npm run lint
```

To automatically fix linting and formatting errors, run

```bash
npm run format
```

## Testing with Web Test Runner

> This demo plugin does nothing much that could be tested as it relies exclusively on built-in browser components to do its job. We therefore currently have no tests. If you find something that could be tested, please feel free!

To execute a single test run:

```bash
npm run test
```

To run the tests in interactive watch mode run:

```bash
npm run test:watch
```

## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `web-dev-server`

```bash
npm run start
```

To run a local development server that serves the basic demo located in `demo/index.html`

&copy; 2022 OMICRON electronics GmbH

## License

[Apache-2.0](LICENSE)
npm package: @omicronenergy/oscd-background-wizard-events
Description: OpenSCD background Plugin for supporting Edit V1 events (oscd-edit). This provides backward compatibility for plugins still relying on Edit V1 events in OpenSCD.
Author: OMICRON Electronics GmbH
Latest version: 0.0.4

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-background-wizard-events/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-background-wizard-events/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-background-wizard-events)

# \<oscd-background-wizard-events>

This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## What is this?

The oscd-shell has been updated with the recent api changes, which removes built in support for the Wizard.
This means the oscd-shell (formerly known as open-scd-core) no longer listens for wizard events.
This OpenSCD background plugin, provides backwards compatability for other plugins which are reliant on the wizard events:

- oscd-create-wizard-request
- oscd-edit-wizard-request
- oscd-close-wizard

If your distro uses plugins which fire these events, you need to include this background plugin to intercept these events and open up the appropriate wizard dialog.

## Linting and formatting

To scan the project for linting and formatting errors, run

```bash
npm run lint
```

To automatically fix linting and formatting errors, run

```bash
npm run format
```

## Testing with Web Test Runner

> This demo plugin does nothing much that could be tested as it relies exclusively on built-in browser components to do its job. We therefore currently have no tests. If you find something that could be tested, please feel free!

To execute a single test run:

```bash
npm run test
```

To run the tests in interactive watch mode run:

```bash
npm run test:watch
```

## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `web-dev-server`

```bash
npm run start
```

To run a local development server that serves the basic demo located in `demo/index.html`

&copy; 2025 OMICRON electronics GmbH

## License

[Apache-2.0](LICENSE)
npm package: @omicronenergy/oscd-editor
Description: Function library for basic XML manipulations
Author: OMICRON electronics GmbH
Latest version: 1.7.1

This repository hold the XML editing engine inspired by the [OpenSCD core](https://github.com/openscd/open-scd-core) and is following the newest agreed [OpenSCD Core API](https://github.com/OpenEnergyTools/open-scd-core/blob/main/API.md)


## Usage

You can either load and use the `handleEdit` function through npm or other content delivery networks. This function does manipulate a XMLDocument as per user intent through the edit as its input:

```ts
const removeNode: Remove = {node: toBeRemovedNode}
handleEdit(removeNode)
```

You can also use the exported `EditV2Editor` class which keeps track of an undo/redo
history. This class is a wrapper around the `handleEdit` function and provides
a more user-friendly API. The `EditV2Editor` class can be used as follows:

```ts
import { EditV2Editor } from '@omicronenergy/oscd-editor';

const editor = new EditV2Editor();

const removeNode: Remove = {node: toBeRemovedNode}
editor.handleEdit(removeNode);

expect(toBeRemovedNode.parentNode).to.not.exist;

editor.undo(); // undo the latest edit

expect(toBeRemovedNode.parentNode).to.exist;

editor.redo(); // redo the most recently undone edit

expect(toBeRemovedNode.parentNode).to.not.exist;
```

## Linting and formatting

To scan the project for linting and formatting errors, run

>npm run lint

To automatically fix linting and formatting errors, run

>npm run format

We use ESLint and Prettier for linting and formatting. Plugins for automatic formatting and linting during editing are available for vim, emacs, VSCode, and all popular IDEs.

## Testing with Web Test Runner

To execute a single test run:

>npm test

To run the tests in interactive watch mode run:

>npm run test:watch


# License

This project is licensed under the Apache License 2.0.

© 2025 Jakob Vogelsang, OMICRON electronics GmbH
npm package: @omicronenergy/oscd-editor-ied
Description: OpenSCD Editor Plugin for Editing the IEDs in an IEC 61850 document.
Latest version: 0.0.1

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-editor-ied/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-editor-ied/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-editor-ied)

# !!Missing Description!!

## `<oscd-editor-ied>`

## What is this?

This is an [OpenSCD](https://openscd.org) plugin. Start up a demo server with `npm run start` and see for yourself!

## Linting and formatting

To scan the project for linting and formatting errors, run

```bash
npm run lint
```

To automatically fix linting and formatting errors, run

```bash
npm run format
```

## Testing with Web Test Runner

> This demo plugin does nothing much that could be tested as it relies exclusively on built-in browser components to do its job. We therefore currently have no tests. If you find something that could be tested, please feel free!

To execute a single test run:

```bash
npm run test
```

To run the tests in interactive watch mode run:

```bash
npm run test:watch
```

## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `web-dev-server`

```bash
npm run start
```

To run a local development server that serves the basic demo located in `demo/index.html`

&copy; 2025 OMICRON electronics GmbH

## License

[Apache-2.0](LICENSE)
npm package: @omicronenergy/oscd-menu-commons
Description: OpenSCD Menu Plugin for working with IEC 61850 SCL files.
Latest version: 0.0.1

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-menu-commons/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-menu-commons/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-menu-commons)

# !!Missing Description!!

## `<oscd-menu-new>`

## What is this?

This is an [OpenSCD](https://openscd.org) plugin. Start up a demo server with `npm run start` and see for yourself!

## Linting and formatting

To scan the project for linting and formatting errors, run

```bash
npm run lint
```

To automatically fix linting and formatting errors, run

```bash
npm run format
```

## Testing with Web Test Runner

> This demo plugin does nothing much that could be tested as it relies exclusively on built-in browser components to do its job. We therefore currently have no tests. If you find something that could be tested, please feel free!

To execute a single test run:

```bash
npm run test
```

To run the tests in interactive watch mode run:

```bash
npm run test:watch
```

## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `web-dev-server`

```bash
npm run start
```

To run a local development server that serves the basic demo located in `demo/index.html`

&copy; 2025 OMICRON electronics GmbH

## License

[Apache-2.0](LICENSE)
npm package: @omicronenergy/oscd-menu-open
Description: OpenSCD Menu Plugin for loading IEC 61850 SCL files into OpenSCD.
Author: OMICRON Electronics GmbH
Latest version: 0.0.6

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-menu-open/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-menu-open/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-menu-open)

# \<oscd-menu-open>

This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## What is this?

This is a basic menu plugin for [OpenSCD](https://openscd.org) which adds a menu item allowing users to load files into the OpenSCD Editor. Start up a demo server with `npm run start` and see for yourself!

## Linting and formatting

To scan the project for linting and formatting errors, run

```bash
npm run lint
```

To automatically fix linting and formatting errors, run

```bash
npm run format
```

## Testing with Web Test Runner

> This demo plugin does nothing much that could be tested as it relies exclusively on built-in browser components to do its job. We therefore currently have no tests. If you find something that could be tested, please feel free!

To execute a single test run:

```bash
npm run test
```

To run the tests in interactive watch mode run:

```bash
npm run test:watch
```


## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `web-dev-server`

```bash
npm run start
```

To run a local development server that serves the basic demo located in `demo/index.html`

&copy; 2022 OMICRON electronics GmbH

## License

[Apache-2.0](LICENSE)
npm package: @omicronenergy/oscd-menu-save
Description: OpenSCD Menu Plugin for loading IEC 61850 SCL files into OpenSCD.
Author: OMICRON Electronics GmbH
Latest version: 0.0.2

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-menu-save/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-menu-save/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-menu-save)

# \<oscd-menu-save>

This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## What is this?

This is a basic menu plugin for [OpenSCD](https://openscd.org) which adds a menu item allowing users to safe files from the OpenSCD Editor. Start up a demo server with `npm run start` and see for yourself!

## Linting and formatting

To scan the project for linting and formatting errors, run

```bash
npm run lint
```

To automatically fix linting and formatting errors, run

```bash
npm run format
```

## Testing with Web Test Runner

> This demo plugin does nothing much that could be tested as it relies exclusively on built-in browser components to do its job. We therefore currently have no tests. If you find something that could be tested, please feel free!

To execute a single test run:

```bash
npm run test
```

To run the tests in interactive watch mode run:

```bash
npm run test:watch
```

## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `web-dev-server`

```bash
npm run start
```

To run a local development server that serves the basic demo located in `demo/index.html`

&copy; 2025 OMICRON electronics GmbH

## License

[Apache-2.0](LICENSE)
npm package: @omicronenergy/oscd-scl-dialogs
Description: Provides a resuable dialog for adding and editing SCL elements in OpenSCD.
Latest version: 0.0.12

# wizard-dialog

This is a component allowing you to add a dialog to edit or create SCL elements. Be aware that not all SCL elements are yet covered and the the existing dialog masks are not tested directly.

Currently supported Tag matrix

| Tag Name | Supports Create | Supports Edit |
|-------------|----------------|----------------|
| AccessControl | ❌ | ❌ |
| AccessPoint | ❌ | ❌ |
| Address | ❌ | ❌ |
| Association | ❌ | ❌ |
| Authentication | ❌ | ❌ |
| Bay | ✅ | ✅ |
| BDA | ❌ | ✅ |
| BitRate | ❌ | ❌ |
| ClientLN | ❌ | ❌ |
| ClientServices | ❌ | ❌ |
| CommProt | ❌ | ❌ |
| Communication | ❌ | ❌ |
| ConductingEquipment | ✅ | ✅ |
| ConfDataSet | ❌ | ❌ |
| ConfLdName | ❌ | ❌ |
| ConfLNs | ❌ | ❌ |
| ConfLogControl | ❌ | ❌ |
| ConfReportControl | ❌ | ❌ |
| ConfSG | ❌ | ❌ |
| ConfSigRef | ❌ | ❌ |
| ConnectedAP | ✅ | ✅ |
| DA | ✅ | ✅ |
| DAType | ❌ | ❌ |
| DO | ✅ | ✅ |
| DOI | ❌ | ❌ |
| DOType | ✅ | ❌ |
| DataObjectDirectory | ❌ | ❌ |
| DataSet | ❌ | ❌ |
| DataSetDirectory | ❌ | ❌ |
| DataTypeTemplates | ❌ | ❌ |
| DynAssociation | ❌ | ❌ |
| DynDataSet | ❌ | ❌ |
| EnumType | ✅ | ❌ |
| EnumVal | ✅ | ✅ |
| EqFunction | ✅ | ✅ |
| EqSubFunction | ✅ | ✅ |
| ExtRef | ❌ | ❌ |
| FileHandling | ❌ | ❌ |
| Function | ✅ | ✅ |
| GeneralEquipment | ✅ | ✅ |
| GetCBValues | ❌ | ❌ |
| GetDataObjectDefinition | ❌ | ❌ |
| GetDataSetValue | ❌ | ❌ |
| GetDirectory | ❌ | ❌ |
| GOOSE | ❌ | ❌ |
| GOOSESecurity | ❌ | ❌ |
| GSE | ❌ | ✅ |
| GSEDir | ❌ | ❌ |
| GSESettings | ❌ | ❌ |
| GSSE | ❌ | ❌ |
| Header | ❌ | ❌ |
| History | ❌ | ❌ |
| Hitem | ❌ | ❌ |
| IED | ✅ | ✅ |
| IEDName | ❌ | ❌ |
| Inputs | ❌ | ❌ |
| IssuerName | ❌ | ❌ |
| KDC | ❌ | ❌ |
| LDevice | ✅ | ✅ |
| LN | ✅ | ✅ |
| LN0 | ❌ | ✅ |
| LNode | ✅ | ❌ |
| LNodeType | ✅ | ❌ |
| Line | ✅ | ✅ |
| Log | ❌ | ❌ |
| LogControl | ❌ | ❌ |
| LogSettings | ❌ | ❌ |
| MaxTime | ❌ | ❌ |
| McSecurity | ❌ | ❌ |
| MinTime | ❌ | ❌ |
| NeutralPoint | ❌ | ❌ |
| P | ❌ | ❌ |
| PhysConn | ❌ | ❌ |
| PowerTransformer | ✅ | ✅ |
| Private | ❌ | ❌ |
| Process | ✅ | ✅ |
| ProtNs | ❌ | ❌ |
| Protocol | ❌ | ❌ |
| ReadWrite | ❌ | ❌ |
| RedProt | ❌ | ❌ |
| ReportControl | ❌ | ❌ |
| ReportSettings | ❌ | ❌ |
| RptEnabled | ❌ | ❌ |
| SamplesPerSec | ❌ | ❌ |
| SecPerSamples | ❌ | ❌ |
| SCL | ❌ | ❌ |
| SDI | ❌ | ❌ |
| SDO | ✅ | ✅ |
| Server | ❌ | ❌ |
| ServerAt | ❌ | ❌ |
| Services | ❌ | ❌ |
| SetDataSetValue | ❌ | ❌ |
| SettingControl | ❌ | ❌ |
| SettingGroups | ❌ | ❌ |
| SGEdit | ❌ | ❌ |
| SmpRate | ❌ | ❌ |
| SMV | ❌ | ✅ |
| SmvOpts | ❌ | ❌ |
| SMVsc | ❌ | ❌ |
| SMVSecurity | ❌ | ❌ |
| SMVSettings | ❌ | ❌ |
| SubEquipment | ✅ | ✅ |
| SubFunction | ✅ | ✅ |
| SubNetwork | ✅ | ✅ |
| Subject | ❌ | ❌ |
| Substation | ✅ | ✅ |
| SupSubscription | ❌ | ❌ |
| TapChanger | ✅ | ✅ |
| Text | ✅ | ✅ |
| TimerActivatedControl | ❌ | ❌ |
| TimeSyncProt | ❌ | ❌ |
| TransformerWinding | ✅ | ✅ |
| Val | ❌ | ❌ |
| ValueHandling | ❌ | ❌ |
| Voltage | ❌ | ❌ |
| VoltageLevel | ✅ | ✅ |
npm package: @omicronenergy/oscd-shell
Description: The shell component of OpenSCD, where plugins are loaded and the application is initialized.
Author: OMICRON Electronics GmbH
Latest version: 0.0.13

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-shell/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-shell/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-shell)

# OpenSCD Shell

## \<oscd-shell>

## Installation

```sh
npm i @omicronenergy/oscd-shell
```

## Usage

```html
<script type="module">
  import '@omicronenergy/oscd-shell/oscd-shell.js';
</script>

<oscd-shell></oscd-shell>
```

## Linting and formatting

To scan the project for linting and formatting errors, run

```sh
npm run lint
```

To automatically fix linting and formatting errors, run

```sh
npm run format
```

We use ESLint and Prettier for linting and formatting. Plugins for automatic
formatting and linting during editing are available for vim, emacs, VSCode,
and all popular IDEs.

## Testing with Web Test Runner

To execute a single test run:

```sh
npm test
```

To run the tests in interactive watch mode run:

```sh
npm run test:watch
```

## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the
amount of files in the project.

## Local Demo with `web-dev-server`

```sh
npm run start
```

To run a local development server that serves the basic demo located in `demo/index.html`

> This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## License

This project is licensed under the [Apache License 2.0](LICENSE).

&copy; 2022 OMICRON electronics GmbH
npm package: @omicronenergy/oscd-test-utils
Description: OpenSCD Test support library for IEC 61850
Author: OMICRON Electronics GmbH
Latest version: 0.0.11

[![Tests](https://github.com/OMICRONEnergyOSS/oscd-test-utils/actions/workflows/test.yml/badge.svg)](https://github.com/OMICRONEnergyOSS/oscd-test-utils/actions/workflows/test.yml) ![NPM Version](https://img.shields.io/npm/v/@omicronenergy/oscd-test-utils)

# OpenSCD API

This package defines a common set of Utilities and Helpers design to make testing in OpenSCD easier.

## Purpose

- comming soon

## Documentation

- comming soon

## License

[Apache-2.0](LICENSE)