average-rating
Advanced tools
Comparing version 0.3.1 to 0.4.0
{ | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"name": "average-rating", | ||
"description": "Calculate average score and rating based on Wilson Score Equation", | ||
"homepage": "http://techpush.net", | ||
"homepage": "https://www.npmjs.com/package/average-rating", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:ndaidong/average-rating.git" | ||
"url": "https://github.com/ndaidong/average-rating" | ||
}, | ||
"author": "Dong Nguyen <ndaidong@gmail.com> (https://twitter.com/ndaidong)", | ||
"author": "@ndaidong", | ||
"main": "./index.js", | ||
@@ -12,0 +12,0 @@ "engines": { |
@@ -13,3 +13,6 @@ # average-rating | ||
``` | ||
import {rate, average, score} from 'average-rating'; | ||
var av = require('average-rating'); | ||
var rate = av.rate; | ||
var average = av.average; | ||
var score = av.score; | ||
@@ -16,0 +19,0 @@ // from 1 to 5 stars |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31832
40