
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
@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 41 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
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.