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

@softwareimaging/backstage-azure-config

v1.3.2

Published

A provider for [Backstage]() that adds support for the [Azure App Configuration]() service.

Readme

Backstage Azure App Configuration Provider

A provider for Backstage that adds support for the Azure App Configuration service.

Backstage is a headless environment & feature flag library that isn't tied to any specific service or format. It's a React based library that focuses on being easy to use and simple to integrate with any (and multiple) feature providers.

Usage

If you haven't added Backstage to your project yet, install the main package.

npm i @softwareimaging/backstage --save

To get started with this provider, add it to your project also.

npm i @softwareimaging/backstage-azure-config --save

Additional conditions

const BackstageProvider = ({ children }) => {
  const providers = [
    BackstageAzureConfig(0, {
      connectionString,
      label: 'production', // environments, etc
      groups: ['customer-a'], // organisations, groups, tenants, etc.
      user: 'dc994182-d8d6-477e-a1bf-b7307c0bb051' /* to identify
      a single user, please don't use emails or names. */
    })
  ]

  return <Backstage providers={providers}>{children}</Backstage>
}

You can supply a user & an array of groups to the provider to be compared against in Azure App Configuration's "Targeting" feature filter.

If a flag is disabled, it will be false in Backstage regardless of the following additional conditions.

If the user string matches what's supplied in the filter then it will be turned on. This bypasses any group condition or rollout percentage.

As is stands this list of users is exposed to all clients. Ensure you use a anonymous, random value like a hash or an ID and not an email or name to ensure you don't leak personal information.

In Azure App Configuration, when you enable a Targeting filter you get a "rollout percentage" as both a default and for each specific group. 0 means off for everyone, 100 means on for everyone. If it's in the middle, that will be used as a probability when setting the flags on the client side.

In both cases, the results of the probability evaluation is saved to local storage to keep it sticky. This is designed for short term experiments like A/B testing or canary deployments, not for robust, reliable long-term uses.

If the groups provided match a group in Azure App Configuration, the rollout probability will be calculated and the result saved.

If you change the "rollout percentage", either default or in a group, the saved probability will be discarded and a new one will be calculated and saved.

Some features are not supported

Please note, currently both "Time window" and custom filters are not supported in Backstage and will throw an error at runtime.