
Security News
Socket Named a Supply Chain Innovator in Latio's 2026 Application Security Market Report
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.
@solucx/indicators
Advanced tools
This is a TypeScript library for calculating various customer satisfaction indicators. It includes support for NPS, CES, CSAT, CSAT10, NSS, LD, and NONE indicators.
To install this package, use the following command:
npm install @solucx/indicators
This is a private repository. You should be logged in into a allowed npm account or keep this authorized .npmrc credentials file at project or usr root folder.
Here's how you can use the indicators in your TypeScript code:
import Indicators, { Type } from '@solucx/indicators';
// Create an instance of a specific indicator
const npsIndicator = Indicators.getIndicator(Type.NPS);
// Calculate the score
const score = npsIndicator.getScore(positives, negatives, neutrals);
// Calculate the sampling error
const error = npsIndicator.getSamplingError(total, positives, negatives, neutrals);
You can replace Type.NPS with any other indicator type like Type.CSAT, Type.CES, etc. the available indicators are:
the indicators shall follow the following rules:
To run the test suite use npm run test
To publish a new version of the SDK follow this steps:
npm version (major|minor|patch)
npm publish
npm login)https://www.npmjs.com/package/@solucx/indicators)git push --tagsFAQs
SoluCX Indicators
The npm package @solucx/indicators receives a total of 118 weekly downloads. As such, @solucx/indicators popularity was classified as not popular.
We found that @solucx/indicators demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.

Research
/Security News
Malicious Packagist packages disguised as Laravel utilities install an encrypted PHP RAT via Composer dependencies, enabling remote access and C2 callbacks.