npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

bcs-engineering-dsl

v0.0.25

Published

A Building Control System engineering language

Readme

BCS Engineering DSL

1 Publishing

1.1 Install Dependencies

npm install

1.2 Build

npm run langium:generate && npm run build

1.3 Generate Extension

Before generating the extension, make sure to run the build commands first.

vsce package

1.4 Publish CLI

NOTE: Previous versions have been published under the name bcs-engineering-dsl on my personal npm account. To avoid confusion, you might want to publish under a different name.

npm login
npm publish --access public

2 Installation

2.1 Install VS Code Extension

Right click on the bcs-engineering-dsl-<version>.vsix file and select Install Extension VSIX.

2.2 Install the CLI:

npm install -g bcs-engineering-dsl

or link the local version

npm link

3 Usage

3.1 Generate Code

bcs-engineering-cli beckhoff generate <path-to-bcsctrl-file>

3.2 Generate Code and Deploy

bcs-engineering-cli beckhoff deploy <path-to-bcsctrl-file>

NOTE: The working directory will be set to the root of the provided file. This means that the .bcsctrl file can contain cross-references to other files in the same directory.

3.3 Supported Target Platforms

Currently the following target platforms are supported:

3.3.1 Beckhoff

In addition to the standard libraries provided by Beckhoff, the following libraries are supported:

  • Tc3_DALI: Please note that this library integration is not fully tested.

4 Future Work

  • Add support for more target platforms (e.g., Siemens, Codesys)
  • Add and test support for more bus systems (e.g., EtherCAT, Profinet)
  • Add a more sophisticated module system (e.g., support multiple files, packages, imports, etc.)
  • Support structs of structs
  • Support not only statefull FBs, but also stateless functions
  • Support FB properties (besides inputs, outputs, locals, and logic)
  • Support better scoping e.g. true block scoping for variables
  • Support UseStmt within FB logic
  • Look into debugging DSLs
  • Look into moving the framework to a web-based solution (both the DSL and the deployment tool)
  • Look into graphical modeling