Catalog npm
PACKAGE EXPLORERView in registry

18-npm-modules-tetianapyuryk-main

npm

Converter of points from the 100-point evaluation system to ECTS format

Versions collected1
Direct dependencies0From release 1.0.0
Last observed20 Oct, 18:18 UTC

README

Current package documentation

Practical task

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.

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.

How to test localy

Publish your package and write name of it in name.txt.

On Unix-systems follow next steps:

  1. Navigate to the root directory of this project.
  2. Run chmod +x .github/workflows/test.sh
  3. Run ./.github/workflows/test.sh

For Windows, you have two options:

  1. Use the prepared .bat script. Run the following command from the root directory of this project: .\.github\workflows\test.bat
  2. Alternatively, use the Git Bash terminal and follow instructions for Unix-systems

After 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)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.0Registry latest21 Feb 20240

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
tetianapyuryk/node.js-online-marathon

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d462391292bd5e2cacce0e943d424a8c6b0dab5c20ba728ed818f71dca3dfe5b