Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Latest commit

 

History

History
49 lines (34 loc) · 1.16 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.16 KB

Net Promoter Score widget Build Status

A lightweight web widget for gathering Net Promoter Score surveys.

The widget was created for SatisMeter Customer loyalty analytics SaaS app.

NPS widget

Install using browserify

npm install satismeter/nps-widget

Use

var View = require('nps-widget');
var view = new View();
view.on('dismiss', function() { /* Handle dismiss */ });
view.on('submit', function() {
    console.log(view.rating, view.feedback);
});
view.show();

Develop

To run local server and watch for changes run:

make

Browser support

Supports all modern browsers and Internet explorer 9+.

Sauce Test Status

Testing

make test

Copyright

Net Promoter, NPS, and Net Promoter Score are trademarks of Satmetrix Systems, Inc., Bain & Company, Inc., and Fred Reichheld.