Observed since 20 Oct, 18:18 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Converter of points from the 100-point evaluation system to ECTS format
You need to implement an npm package that converts scores from the 100-point grading system to the ECTS format.
To achieve this, your package should include a class called ECTS, which you will export. The constructor of this class should accept one parameter, which is the score in the 100-point format. Additionally, the class should have a method called ectsFromScore() that will return the corresponding ECTS value for the given score.
The score-to-ECTS conversion ratios are provided in the table.

Publish the created module on npm and write its name in the name.txt file. You need to push only name.txt as the result of this task. Do not make any changes to other files in this repository. You can create another repository for code of your package. Tests will retrieve your published package from npm.
Name your package in the format ects-your-full-name because npm does not allow two packages with the same name.
Publish your package and write name of it in name.txt.
On Unix-systems follow next steps:
chmod +x .github/workflows/test.sh./.github/workflows/test.shFor Windows, you have two options:
.\.github\workflows\test.batAfter testing, you will see the created package.json file. Remember that you should not push it to GitHub in this task (do not delete anything from .gitignore)
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0Registry latest | 21 Feb 2024 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 18:18 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d462391292bd5e2cacce0e943d424a8c6b0dab5c20ba728ed818f71dca3dfe5b