# gpa

> This module convert gpa between int and string value

Latest version **1.6.80** (published 2024-05-03) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.6.80 |
| Published | 2024-05-03 |
| First published | 2019-09-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=17.0.0 |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Raphael Piccolo |
| Maintainers | rafi.piccolo |

## Links

- npm: https://www.npmjs.com/package/gpa
- Repository: https://gitea.raphaelpiccolo.com:10022/root/gpa
- npm.io page: https://npm.io/package/gpa

## Recent versions

- 1.6.80 (latest) — 2024-05-03
- 1.6.79 — 2024-04-19
- 1.6.78 — 2024-04-03
- 1.6.77 — 2024-02-06
- 1.6.76 — 2023-10-14
- 1.6.75 — 2023-09-11
- 1.6.74 — 2023-07-17
- 1.6.73 — 2023-07-06
- 1.6.72 — 2023-07-02
- 1.6.71 — 2023-06-20
- 1.6.70 — 2023-06-17
- 1.6.69 — 2023-06-17
- 1.6.68 — 2023-06-15
- 1.6.67 — 2023-06-13
- 1.6.66 — 2023-06-12
- … 85 more at https://npm.io/package/gpa/versions

## README

# README

## Description

This module convert gpa between int and string value

## Install

Go into a node project and type the following :

    $> npm install gpa

## Exemple

    import gpa from 'gpa';

    console.log(gpa('A+')); // display : 17

    console.log(gpa(10)); // display : C

## Run

    $> node server.js

## correlation table

| grade | number |
| ----- | ------ |
| F-    | 0      |
| F     | 1      |
| F+    | 2      |
| E-    | 3      |
| E     | 4      |
| E+    | 5      |
| D-    | 6      |
| D     | 7      |
| D+    | 8      |
| C-    | 9      |
| C     | 10     |
| C+    | 11     |
| B-    | 12     |
| B     | 13     |
| B+    | 14     |
| A-    | 15     |
| A     | 16     |
| A+    | 17     |

edge cases :

    gpa('') => -1
    gpa(78) => ''

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