UNPKG

ects-halyna-mazur

Version:

Convert 100-point grading scores to ECTS grades

43 lines (27 loc) 791 B
# ECTS Score Converter This package converts scores from the 100-point grading system to the ECTS grading scale. ## Installation To install the package, use npm: ```sh npm install ects-halyna-mazur ``` ## Usage Import the package and use the `ECTS` class to convert scores: ```js const ECTS = require('ects-halyna-mazur'); const myScore = new ECTS(85); console.log(myScore.ectsFromScore()); // Output: "B" ``` ## Conversion Table | 100-Point Score | ECTS Grade | |-----------------|------------| | 90 - 100 | A | | 82 - 89 | B | | 74 - 81 | C | | 65 - 73 | D | | 60 - 64 | E | | 0 - 59 | F | ## License This package is licensed under the MIT License. ## Author Halyna Mazur