{"id":22514631,"url":"https://github.com/cityssm/node-avanti-time-data-parser","last_synced_at":"2025-10-27T06:07:41.176Z","repository":{"id":219159850,"uuid":"747340258","full_name":"cityssm/node-avanti-time-data-parser","owner":"cityssm","description":"Parses the time data Excel report from Avanti into a JavaScript object.","archived":false,"fork":false,"pushed_at":"2024-04-18T17:34:11.000Z","size":4791,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T09:23:56.028Z","etag":null,"topics":["avanti","parser","payroll","timesheets"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@cityssm/avanti-time-data-parser","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/cityssm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-23T18:29:32.000Z","updated_at":"2024-05-12T05:40:37.000Z","dependencies_parsed_at":"2025-02-02T03:26:22.648Z","dependency_job_id":"ccefd4fe-e300-47dd-8eea-c636b0820bb2","html_url":"https://github.com/cityssm/node-avanti-time-data-parser","commit_stats":null,"previous_names":["cityssm/node-avanti-time-data-parser"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cityssm/node-avanti-time-data-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-avanti-time-data-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-avanti-time-data-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-avanti-time-data-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-avanti-time-data-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cityssm","download_url":"https://codeload.github.com/cityssm/node-avanti-time-data-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-avanti-time-data-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281222980,"owners_count":26464067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"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":["avanti","parser","payroll","timesheets"],"created_at":"2024-12-07T03:19:27.336Z","updated_at":"2025-10-27T06:07:41.160Z","avatar_url":"https://github.com/cityssm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-avanti-time-data-parser\n\n[![npm (scoped)](https://img.shields.io/npm/v/%40cityssm/avanti-time-data-parser)](https://www.npmjs.com/package/@cityssm/avanti-time-data-parser)\n[![DeepSource](https://app.deepsource.com/gh/cityssm/node-avanti-time-data-parser.svg/?label=active+issues\u0026show_trend=true\u0026token=wRt7Ndp1zquLCKeUyP1gDZLL)](https://app.deepsource.com/gh/cityssm/node-avanti-time-data-parser/)\n[![Maintainability](https://api.codeclimate.com/v1/badges/5d5941f60f29d0d4d952/maintainability)](https://codeclimate.com/github/cityssm/node-avanti-time-data-parser/maintainability)\n[![codecov](https://codecov.io/gh/cityssm/node-avanti-time-data-parser/graph/badge.svg?token=PR322WWMI9)](https://codecov.io/gh/cityssm/node-avanti-time-data-parser)\n[![Coverage Testing](https://github.com/cityssm/node-avanti-time-data-parser/actions/workflows/coverage.yml/badge.svg)](https://github.com/cityssm/node-avanti-time-data-parser/actions/workflows/coverage.yml)\n\nParses the time data Excel report from Avanti into a JavaScript object.\n\nHelpful when building an external process for supervisors to approve time entered\nby time entry clerks.\n\n![Time Data in Excel](docs/excel.png)\n\n## Installation\n\n```sh\nnpm install @cityssm/avanti-time-data-parser\n```\n\n## Usage\n\n```javascript\nimport { parseTimeData } from '@cityssm/avanti-time-data-parser'\n\nconst timeData = parseTimeData('timesheet.xlsx')\n\nconsole.log(timeData)\n\n/*\n{\n  \"dateMin\": \"2024/01/07\",\n  \"dateMax\": \"2024/01/20\",\n  \"timeData\": {\n    \"12345\": {\n      \"employeeNumber\": \"12345\",\n      \"employeeName\": \"MARIO, MARIO\",\n      \"payCodes\": {\n        \"REG\": {\n          \"payCode\": \"REG\",\n          \"payCodeDescription\": \"Regular Earnings\",\n          \"hours\": {\n            \"2024/01/08\": 7,\n            \"2024/01/09\": 5,\n            \"2024/01/10\": 4,\n            \"2024/01/11\": 7,\n            \"2024/01/12\": 7,\n            \"2024/01/15\": 8.5,\n            \"2024/01/16\": 7,\n            \"2024/01/17\": 4,\n            \"2024/01/18\": 7,\n            \"2024/01/19\": 7\n          }\n        },\n        \"SK\": {\n          ...\n        },\n        \"SB\": {\n          ...\n        },\n        \"VAC\": {\n          ...\n        }\n      }\n    },\n    \"12346\": {\n      ...\n    }\n  },\n  \"approvedTimeData\": {\n    \"12345\": {\n      ...\n    },\n    \"12346\": {\n      ...\n    }\n  }\n}\n*/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityssm%2Fnode-avanti-time-data-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcityssm%2Fnode-avanti-time-data-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityssm%2Fnode-avanti-time-data-parser/lists"}