{"id":36539851,"url":"https://github.com/po8klasie/points-calculator","last_synced_at":"2026-01-12T05:41:27.170Z","repository":{"id":55899130,"uuid":"172373751","full_name":"po8klasie/points-calculator","owner":"po8klasie","description":"Recruitment points calculator for polish highschools","archived":false,"fork":false,"pushed_at":"2020-12-08T16:01:23.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-09T00:03:39.054Z","etag":null,"topics":["calculator","highschool","points-calculator"],"latest_commit_sha":null,"homepage":"https://npm.im/@warsawlo/points-calculator","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/po8klasie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-02-24T18:23:47.000Z","updated_at":"2020-12-08T16:01:26.000Z","dependencies_parsed_at":"2022-08-15T09:00:34.227Z","dependency_job_id":null,"html_url":"https://github.com/po8klasie/points-calculator","commit_stats":null,"previous_names":["warsawlo/points-calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/po8klasie/points-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po8klasie%2Fpoints-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po8klasie%2Fpoints-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po8klasie%2Fpoints-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po8klasie%2Fpoints-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/po8klasie","download_url":"https://codeload.github.com/po8klasie/points-calculator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po8klasie%2Fpoints-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calculator","highschool","points-calculator"],"created_at":"2026-01-12T05:41:26.390Z","updated_at":"2026-01-12T05:41:27.162Z","avatar_url":"https://github.com/po8klasie.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Points Calcutator\n\nPackage for calculating recruitment points.\n\n## Installation\n\n```bash\nyarn add @warsawlo/points-calculator\n```\n\nor\n\n```bash\nnpm i -S @warsawlo/points-calculator\n```\n\n\nWe've migrated our docs to [https://oss.warsawlo.pl](https://oss.warsawlo.pl/docs/packages/overview).\n\n### Warning!\nThere are some key differences between v1 and v2 of the package.\nIf you don't migrate to the latest version, your code won't work properly.\n\n**Version 1.0.2 is deprecated. Use that version only if you want to support `secondarySchool` mode.**\n\n## Basic usage\n\n```typescript\nimport { PointsCalculator, configs } from '@warsawlo/points-calculator';\nconst { config2018_2019 } = configs;\n\nconst Calc = new PointsCalculator(config2018_2019);\n\nCalc.setGrades({\n\tpolish: 6,\n\tmath: 4\n});\n\nCalc.setExamResult({\n\tpolish: .95\n});\n\nconsole.log(Calc.points);\n\nCalc.watch(points =\u003e {});\n\nsetTimeout(() =\u003e Calc.setMerit(true), 1000);\n```\n\n## Docs\n\n* [Configs](https://github.com/WarsawLO/points-calculator/tree/master/docs/configs.md)\n* Utils\n    * [Validators](https://github.com/WarsawLO/points-calculator/tree/master/docs/validators.md)\n    * [Initial data](https://github.com/WarsawLO/points-calculator/tree/master/docs/initial-data.md)\n* API Reference\n    * [PointsCalculator](https://github.com/WarsawLO/points-calculator/tree/master/docs/api-reference/PointsCalculator.md)\n    * [Interfaces \u0026 types](https://github.com/WarsawLO/points-calculator/tree/master/docs/api-reference/interfaces.md)\n* [Changelog](https://github.com/WarsawLO/points-calculator/tree/master/CHANGELOG.md)\n    \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpo8klasie%2Fpoints-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpo8klasie%2Fpoints-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpo8klasie%2Fpoints-calculator/lists"}