ects-converter-module

1.0.1 • Public • Published

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" 

Readme

Keywords

none

Package Sidebar

Install

npm i ects-converter-module

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

2.13 kB

Total Files

3

Last publish

Collaborators

  • basher207