# configcat-common

> ConfigCat is a configuration as a service that lets you manage your features and configurations without actually deploying new code.

Latest version **9.4.1** (published 2025-10-17) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install configcat-common
pnpm add configcat-common
yarn add configcat-common
bun add configcat-common
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 9.4.1 |
| Published | 2025-10-17 |
| First published | 2018-11-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 618.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 17 |
| Author | ConfigCat |
| Maintainers | laliconfigcat, pcsajtai, endret, adam-configcat |
| Keywords | configcat, config, configuration, remote configuration, configcat client, feature flags, feature toggle, feature switch, canary release, soft launch, release strategy |

## Links

- npm: https://www.npmjs.com/package/configcat-common
- Repository: https://github.com/configcat/common-js
- Homepage: https://configcat.com
- Issues: https://github.com/configcat/common-js/issues
- npm.io page: https://npm.io/package/configcat-common

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.4.1

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 9.4.1 (latest) — 2025-10-17
- 2.5.2-beta.1 (beta) — 2020-07-24
- 9.4.0 — 2025-05-26
- 9.3.1 — 2024-09-06
- 9.3.0 — 2024-03-21
- 9.2.0 — 2024-01-15
- 9.1.0 — 2024-01-08
- 9.0.0 — 2023-11-24
- 8.2.0 — 2023-10-10
- 8.1.1 — 2023-08-04
- 8.1.0 — 2023-07-26
- 8.0.2 — 2023-07-07
- 8.0.1 — 2023-06-23
- 8.0.0 — 2023-06-12
- 7.0.1 — 2023-01-03
- … 70 more at https://npm.io/package/configcat-common/versions

## README

| :mega: Important notice |
|-------------------------|
| This library is superseded by the [new, unified ConfigCat SDK for JavaScript](https://github.com/configcat/js-unified-sdk#configcat-sdk-for-javascript).<br/>This legacy library is in maintenance mode now, it will receive only critical security patches until **official support ends on August 31, 2026**. |

# ConfigCat Common library for JavaScript

[![Common JS CI](https://github.com/configcat/common-js/actions/workflows/common-js-ci.yml/badge.svg?branch=master)](https://github.com/configcat/common-js/actions/workflows/common-js-ci.yml) [![codecov](https://codecov.io/gh/configcat/common-js/branch/master/graph/badge.svg)](https://codecov.io/gh/configcat/common-js) [![Known Vulnerabilities](https://snyk.io/test/github/configcat/common-js/badge.svg?targetFile=package.json)](https://snyk.io/test/github/configcat/common-js?targetFile=package.json) [![Tree Shaking](https://badgen.net/bundlephobia/tree-shaking/configcat-common)](https://bundlephobia.com/result?p=configcat-common) ![License](https://img.shields.io/github/license/configcat/common-js.svg) \
[![NPM](https://nodei.co/npm/configcat-common.png)](https://nodei.co/npm/configcat-common/)

ConfigCat Common library for JavaScript is a shared package that provides the common ConfigCat SDK logic for [ConfigCat SDK for Node.js](https://github.com/configcat/node-sdk) and [ConfigCat SDK for JavaScript](https://github.com/configcat/js-sdk).

ConfigCat is a feature flag, feature toggle, and configuration management service that lets you launch new features and change your software configuration remotely without actually (re)deploying code. ConfigCat even helps you do controlled roll-outs like canary releases and blue-green deployments.

ConfigCat is a [hosted feature flag service](https://configcat.com). Manage feature toggles across frontend, backend, mobile, desktop apps. [Alternative to LaunchDarkly](https://configcat.com). Management app + feature flag SDKs.

## Installing
```
npm install
```

## Running the tests
```
npm test
```

## Need help?
https://configcat.com/support

## Contributing
Contributions are welcome. For more info please read the [Contribution Guideline](CONTRIBUTING.md).

## About ConfigCat
- [Documentation](https://configcat.com/docs)
- [Blog](https://configcat.com/blog)

# Troubleshooting
### Make sure you have the proper Node.js version installed
You might run into errors caused by the wrong version of Node.js. To make sure you are using the recommended Node.js version follow these steps.

1. Have nvm (Node Version Manager - https://github.com/nvm-sh/nvm ) installed:
1. Run `nvm install`. This will install the compatible version of Node.js.
1. Run `nvm use`. This will use the compatible version of Node.js.

---
_Source: https://npm.io/package/configcat-common · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
