Skip to content

tactivos/nps-widget

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Packages

No packages published

Languages

  • JavaScript 67.6%
  • HTML 15.9%
  • CSS 15.6%
  • Makefile 0.9%