{"_id":"18-npm-modules-dobruan_test","_rev":"3-f4348085614df4de577b7eefe928bd6a","name":"18-npm-modules-dobruan_test","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"18-npm-modules-dobruan_test","version":"1.0.0","type":"module","description":"You need to implement an npm package that converts scores from the 100-point grading system to the ECTS format.","main":"ECTS.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"18-npm-modules-dobruan_test@1.0.0","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-hWJYPuw6c1gGBVPVzjQOuy+J3FEgncoklYyL9zN6reDIakbpQI5qN6MTzcM9Kd+LcxKEvRBILMPNuo7NFTaSWA==","shasum":"e6be0c53b824807b8b6e867638e328bc8b12d368","tarball":"https://registry.npmjs.org/18-npm-modules-dobruan_test/-/18-npm-modules-dobruan_test-1.0.0.tgz","fileCount":10,"unpackedSize":16240,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQat4eBBuDJ4WB+ajp2VvDFG98hP6IZ+SSvCS6QrNkcgIgDTMhZ3dMLUtpIKirK9Ei50JBHWYc8Iijg74ehYte2uQ="}]},"_npmUser":{"name":"dobruan","email":"karpaty2007@gmail.com"},"directories":{},"maintainers":[{"name":"dobruan","email":"karpaty2007@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/18-npm-modules-dobruan_test_1.0.0_1700657059574_0.9840428055850052"},"_hasShrinkwrap":false},"1.0.1":{"name":"18-npm-modules-dobruan_test","version":"1.0.1","type":"commonjs","description":"You need to implement an npm package that converts scores from the 100-point grading system to the ECTS format.","main":"ECTS.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"18-npm-modules-dobruan_test@1.0.1","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-qWmc7rq7cjbm2y+8QeXMwj6lMCAnads/E2dTCn1m0E42IaOUauqBP92fTjNS1Qp65ZW+1ciFNh5SRcb/WJzkvA==","shasum":"03e04e0e8d74d66fc258d1595689fa19cc3c2ecc","tarball":"https://registry.npmjs.org/18-npm-modules-dobruan_test/-/18-npm-modules-dobruan_test-1.0.1.tgz","fileCount":10,"unpackedSize":16242,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDModal+KcmOcb6vHtccaZmIecGmIQRNw3LTcD/ClqEegIhAPRdpmvr4xZhOkjC45X6jPSLLw8GwptgmKjiRXmxAhgJ"}]},"_npmUser":{"name":"dobruan","email":"karpaty2007@gmail.com"},"directories":{},"maintainers":[{"name":"dobruan","email":"karpaty2007@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/18-npm-modules-dobruan_test_1.0.1_1700658523650_0.690910196829752"},"_hasShrinkwrap":false},"1.0.2":{"name":"18-npm-modules-dobruan_test","version":"1.0.2","type":"commonjs","description":"You need to implement an npm package that converts scores from the 100-point grading system to the ECTS format.","main":"ECTS.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"18-npm-modules-dobruan_test@1.0.2","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-MjQWOOHt94kc6GI02PkXO0I+xRnFI4u8FGwO9DfxXm/98yAW833ptaWq0nBGNyF7W1NsgZGIUUU4xUpE+jochA==","shasum":"23c156e9b2d7fd0271e74455592dc098e55dd834","tarball":"https://registry.npmjs.org/18-npm-modules-dobruan_test/-/18-npm-modules-dobruan_test-1.0.2.tgz","fileCount":10,"unpackedSize":16239,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUH6sY6oyLQqUShw3jrVy5aYguKaouUWj9RSkZxvx1fgIhAJqHkWIS6h1ARsgiAh2TVI1WuE7DLlF3JFqU2fEQScmQ"}]},"_npmUser":{"name":"dobruan","email":"karpaty2007@gmail.com"},"directories":{},"maintainers":[{"name":"dobruan","email":"karpaty2007@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/18-npm-modules-dobruan_test_1.0.2_1700660349627_0.985937331769936"},"_hasShrinkwrap":false},"1.0.3":{"name":"18-npm-modules-dobruan_test","version":"1.0.3","type":"commonjs","description":"You need to implement an npm package that converts scores from the 100-point grading system to the ECTS format.","main":"ECTS.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"18-npm-modules-dobruan_test@1.0.3","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-l5+RiKXeSqcsgzRRaWy12Nzcam4gnwZlcsXuzGk7cfXfRwYwLPtP+N6YMADqzXNsiQvIIgsG3f0jruTyPI56LA==","shasum":"e0d66c6eebbe901def62173488c61d7340de5f17","tarball":"https://registry.npmjs.org/18-npm-modules-dobruan_test/-/18-npm-modules-dobruan_test-1.0.3.tgz","fileCount":10,"unpackedSize":16269,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHyPp+b5X1k60GscWJsxou8fHtoq0MBlICDkOvfZUVdAiAKnqHF2U+JZ7+c/b/5gUrazH7ajTU+ZD2WQiQYj8w1eg=="}]},"_npmUser":{"name":"dobruan","email":"karpaty2007@gmail.com"},"directories":{},"maintainers":[{"name":"dobruan","email":"karpaty2007@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/18-npm-modules-dobruan_test_1.0.3_1700661142678_0.2528753162682731"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-22T12:44:19.573Z","1.0.0":"2023-11-22T12:44:20.009Z","modified":"2023-11-22T13:52:23.091Z","1.0.1":"2023-11-22T13:08:43.867Z","1.0.2":"2023-11-22T13:39:09.832Z","1.0.3":"2023-11-22T13:52:22.904Z"},"maintainers":[{"name":"dobruan","email":"karpaty2007@gmail.com"}],"description":"You need to implement an npm package that converts scores from the 100-point grading system to the ECTS format.","license":"ISC","readme":"# Practical task\r\n\r\nYou need to implement an npm package that converts scores from the 100-point grading system to the ECTS format.\r\n\r\nTo 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.\r\n\r\nThe score-to-ECTS conversion ratios are provided in the table.\r\n\r\n![table](ECTS.png)\r\n\r\nPublish the created module on npm and write its name in the [name.txt](name.txt) file. You need to push only [name.txt](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**.\r\n\r\n> Name your package in the format ects-your-full-name because npm does not allow two packages with the same name.\r\n\r\n## How to test localy\r\n\r\nPublish your package and write name of it in [name.txt](name.txt). \r\n\r\nOn *Unix*-systems follow next steps:\r\n\r\n1. Navigate to the root directory of this project.\r\n2. Run `chmod +x .github/workflows/test.sh`\r\n3. Run `./.github/workflows/test.sh`\r\n\r\nFor Windows, you have two options:\r\n\r\n1. Use the prepared .bat script. Run the following command from the root directory of this project: `.\\.github\\workflows\\test.bat`\r\n2. Alternatively, use the *Git Bash* terminal and follow instructions for *Unix*-systems\r\n\r\nAfter 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](.gitignore))\r\n","readmeFilename":"README.md"}