Unit Price Helper

Automatically generate unit price for applicable items when shopping online.

目前为 2022-10-07 提交的版本。查看 最新版本

作者
yzhu27
评分
0 0 0
版本
0.1
创建于
2022-10-07
更新于
2022-10-07
大小
12.9 KB
许可证
暂无
适用于

Unit Price Helper

GitHub Contributor license language DeepScan grade DOI GitHub Build

Unit Price Helper is an Google Chrome extension that allows to display the prices per unit for the products on multiple shopping sites, including Harris Teeter, Costco and Target.

Online shopping sites give us more choices of products, but to some extent, online shopping also increases the difficulty of selection. Most people tend to buy cheaper products, but which are cheaper? $18.38 for 48 Fl Oz or $27.49 for 101 Fl Oz? It's difficult to calculate each products' unit price manually. UnitPriceHelper is a solution to unit price comparation. It calculates the unit prices of products automatically and attach unit price tags to the product listing pages and product description pages, thus helping customers figure out each item's unit price.

[video]

Features

  • Display unit price tags on listing pages.

  • Display unit price tags on product description pages.

Prerequisites

Supported Websites

More will be supported in the future...

Installation

Install from Google Chrome Extension Web Store

Install from GreasyFork

install from here

Manually install

  • Git clone this repository. git clone https://github.com/yzhu27/UnitPriceHelper.git
  • Open Google Chrome browser, click upper right three-dot "More" button $\rightarrow$ "More Tools" $\rightarrow$ "Extensions".

  • Turn on "Developer mode", then choose "Load unpacked".

  • Select extension folder in the UnitPriceHelper folder

  • Start your online shopping!


Note 1) Make sure you allow the extension to read and change this page.

2) If the unit price tags doesn't appear, try to refresh your page.

Languages

  • JavaScript
  • HTML

Style Checker and Code Fomatter

  • IDE and Style Checker: VSCode

  • Code Style Formatter: Beautify

  • Code Syntax Checker : Eslint for Vscode plugin.

Test and Coverage

Statements Branches Functions Lines
Statements Branches Functions Lines

Unit Test

  • Mocha and Chai.

  • Setup

    From the repository root, run:

    npm install
    npm run test:unit
    

    Code Coverage

  • Istanbul

Automated Analysis Tool

deepScan

Contributors

SE22 Group 7

  • Pinxiang Wang
  • Jiayuan Huang
  • Yuheng Zhu
  • Mengzhe Wang
  • Yiran Zhu

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址