Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

average-rating

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

average-rating - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc