Socket
Book a DemoInstallSign in
Socket

@openenergytools/scl-lib

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openenergytools/scl-lib

Function library supporting SCL editing

latest
Source
npmnpm
Version
1.8.0
Version published
Weekly downloads
48
65.52%
Maintainers
2
Weekly downloads
 
Created
Source

scl-lib

This repository - SclLib - is a collection of TypeScript functions, that allow to faster develop modules for SCL editing.

Content

SclLib is primarily exporting functions, that allow to manipulate SCL elements. There are various types of functions you can find in this library grouped into:

  • element creation: Those functions are triggered by the wish to create a valid SCL element. Those functions do check primarily whether limitation to create such an element are met.

    • The input is the parent/ancestor element and and an options object defining a user-defined configuration of the element to be created.
    • The output is a delta compared to the current SCL
  • edit checks: Those function are triggered by the wish to edit a specific SCL element, e.g. GSEControl.

    • The input is a delta to the actual SCL formulated as Update, Insert or Remove.
    • The output is a corrected delta formulated as an array of Update, Insert or Remove. The difference between the input and output contains expertise related to IEC 61850-6.
  • generators: Generator functions that allow to dynamically create unique value such as MAC-addresses, APPID and others

FAQs

Package last updated on 01 Sep 2025

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