average-rating

v1.1.4
Calculate average score and rating based on Wilson Score Equation
rating vote poll average score Wilson Score util

lint

eslint .

nsp

nsp check --output checkstyle

tape

nyc tape test/start.js | tap-spec

tape:debug

DEBUG=*:* nyc tape test/start.js | tap-spec

report

nyc report --reporter=lcov > coverage.lcov && codecov

pretest

npm run lint && npm run nsp

test

npm run tape

posttest

CODECOV_TOKEN=47b63968-97ab-4ad1-8812-267ce37a3e5f npm run report

reset

node reset

Metadata

  • MIT
  • >= 6.0
  • @ndaidong
  • released 11/19/2017

Downloads

Maintainers