# pricing

> Pricing a commercial package

Latest version **1.1.1** (published 2018-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install pricing
pnpm add pricing
yarn add pricing
bun add pricing
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2018-02-14 |
| First published | 2017-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Diaa Kasem |
| Maintainers | diaakasem |
| Keywords | package, pricing |

## Links

- npm: https://www.npmjs.com/package/pricing
- Repository: https://github.com/diaakasem/pricing
- Homepage: https://github.com/diaakasem/pricing#readme
- Issues: https://github.com/diaakasem/pricing/issues
- npm.io page: https://npm.io/package/pricing

## Recent versions

- 1.1.1 (latest) — 2018-02-14
- 1.1.0 — 2017-12-28
- 1.0.11 — 2017-12-28
- 1.0.10 — 2017-12-28
- 1.0.8 — 2017-12-24
- 1.0.7 — 2017-12-24
- 1.0.6 — 2017-12-24
- 1.0.5 — 2017-12-24
- 1.0.4 — 2017-12-24
- 1.0.3 — 2017-12-24
- 1.0.2 — 2017-12-24
- 1.0.1 — 2017-12-24
- 1.0.0 — 2017-12-23

## README

# Pricing
Determine the price of was missing package

## Methods
### price

#### Description
Calculate the price for [**Was Missing**][wasmissing-url] package.

#### Arguments
- packageIndex
  - 0 is the **Free** package
  - 1 is the **Basic** package
  - 2 is the **Advanced** package
  - 3 is the **Extreme** package
- users
The count of users/coupons the buyer is buying for
- months
Buying for how many months

#### Returns
- The Price the user should see ( and pay )

[wasmissing-url]: http://wasmissing.com

---
_Source: https://npm.io/package/pricing · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
