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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wincc-oa/create-ts-manager

v1.0.0

Published

Scaffolding tool for WinCC OA TypeScript managers

Readme

@wincc-oa/create-ts-manager

Scaffolding tool for creating TypeScript-based WinCC OA JavaScript managers.

Usage

Run from within a WinCC OA project directory tree:

npx @wincc-oa/create-ts-manager <managerName>

This will:

  1. Create a directory <managerName> in the current directory
  2. Initialize a TypeScript project from WinCC OA template
  3. Locate the WinCC OA installation from the project's config/config file
  4. Add @types/winccoa-manager as a dev dependency
  5. Run npm install (unless --skip-install is passed)

Options

  • Explicit name: npx @wincc-oa/create-ts-manager my-manager — creates my-manager/ in javascript/
  • Current directory: npx @wincc-oa/create-ts-manager . — initializes the current directory (must be a subdirectory of javascript/)
  • Interactive: npx @wincc-oa/create-ts-manager — prompts for a name
  • Skip install: npx @wincc-oa/create-ts-manager my-manager --skip-install — skips npm install after scaffolding

Important: run in the main project

This tool must be run from within a WinCC OA project that contains a config/config file, because it reads that file to locate the WinCC OA installation path. It will not work when run inside a sub-project, since sub-projects do not have their own config/config.

If you need the manager in a sub-project, run the scaffolding in the main project first and move the created directory to the sub-project afterwards.

Project structure

The scaffolded project has the following structure:

<managerName>/
  src/
    manager.ts          TypeScript source code
  dist/                 Compiled JavaScript (created by tsc)
  start.js              Entry point for WinCC OA Console
  package.json
  tsconfig.json
  eslint.config.mjs
  .prettierrc
  .gitignore

Getting started

After scaffolding:

cd <new manager directory>
npm run build              # compile TypeScript

or

cd <new manager directory>
npm run watch              # compile TypeScript in watch mode

In the WinCC OA Console, add a JavaScript Manager with command line:

<managerName>/start.js

Set start mode to manual and start the manager. Check the Log Viewer for the message "JavaScript Manager working".

Requirements

  • Node.js >= 20
  • Must be run from within a WinCC OA project directory tree (a directory that has a config/config file in its ancestry)
  • The WinCC OA installation must have the Environment for JavaScript installed (provides winccoa-manager and @types/winccoa-manager)