1.0.1 • Published 6 months ago

ects-converter-module v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

ects-converter-module

This is a npm module for converting scores from the 100-point grading system to the ECTS format. It accepts only numbers in range 0 - 100.

Installing

Using npm:

$ npm install ects-converter-module

Once the package is installed, you can import the library using require approach:

const ECTS = require('ects-converter-module');

Example

const ECTS = require('ects-converter-module');

const score = 80;
const ectsInstance = new ECTS(score);
const ectsGrade = ectsInstance.ectsFromScore();

console.log(ectsGrade);
// expected output: "C" 
1.0.1

6 months ago

1.0.0

6 months ago