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

@labb/dx-engine

v24.2.31

Published

The DX Engine to enable the DX API from Pega in the browser

Downloads

613

Readme

Summary

This library is a framework agnostic implementation for common container types coming from the Pega Constellation Core library. For detailed documentation, see the API specification.

Installation

npm install @labb/dx-engine

Versioning is based on <major.minor.patch>, where:

  • major: the major version of Pega that is used
  • minor: the minor version of Pega that is used
  • patch: the version of updates to the library itself

The library works together with Pega's constellation core. Make sure the correct versions of that libraries is installed as well.

npm install @pega/constellationjs

Features

Container management

This library is responsible for managing the containers as defined by Pega's constellation core. The library will listen for state changes to each container and update the properties accordingly. Different type of containers can have different functionality during initialization or after state changes. This functionality is implemented for the following container types:

  • Attachment
  • DeferLoad
  • FlowContainer
  • ModalViewContainer
  • Reference
  • Region
  • RootContainer
  • SimpleTable
  • ViewContainer
  • View

Constellation Bootstrapping

To load the constellation core in the browser and setup initial communication with the Pega server, a set of precise and specific steps need to be performed. To avoid errors and mistakes in this bootstrapping process, an easy to use BootstrapService is provided.

OAuth2 authentication

After the constellation core and the DX Egine are bootstrapped, the application is ready for communication with the Infinity server using the DX API's. The first step in this communication is retrieving a valid access token. To work together with the OAuth2 client registrations in Pega, a OAuth2 authentication service is provided by the DX Engine. Using this service it is possible to retrieve a token using the credentials or the authorization code (with or without PKCE) flows.

API documentation

For detailed documentation, see the API specification.