Skip to content

Calculate a “Net Promoter Score” from an array of integers.

License

Notifications You must be signed in to change notification settings

flesch/net-promoter-score

Repository files navigation

@flesch/net-promoter-score

📈 Calculate a “Net Promoter Score” from an array of integers.

Install

$ npm install --save @flesch/net-promoter-score

Usage

const nps = require('@flesch/net-promoter-score');

const score = nps([10, 9, 10, 8, 7, 5, 6, 9, 10]);

console.log(score); // => 33

About

Calculate a “Net Promoter Score” from an array of integers.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published