{"id":21306554,"url":"https://github.com/techmdw/sie-parser","last_synced_at":"2025-07-11T21:31:34.073Z","repository":{"id":57359217,"uuid":"428496281","full_name":"TechMDW/sie-parser","owner":"TechMDW","description":"Parse sie files to JS object","archived":false,"fork":false,"pushed_at":"2021-11-16T02:55:06.000Z","size":9,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T02:21:42.149Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechMDW.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-16T02:54:59.000Z","updated_at":"2024-08-07T09:19:43.000Z","dependencies_parsed_at":"2022-09-06T21:41:18.934Z","dependency_job_id":null,"html_url":"https://github.com/TechMDW/sie-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TechMDW/sie-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fsie-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fsie-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fsie-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fsie-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechMDW","download_url":"https://codeload.github.com/TechMDW/sie-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fsie-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264902402,"owners_count":23681061,"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","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":[],"created_at":"2024-11-21T16:24:32.487Z","updated_at":"2025-07-11T21:31:32.897Z","avatar_url":"https://github.com/TechMDW.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sie-parser (WIP)\n\nParses sie files to JavaScript Object. This is still a WIP but I'll try to push updates when I got time.\n\nTried to keep the project in english but the variable names from the sie are in swedish as they are presented. This will be fixed onces I add support for sie5.\n\n# Installation\n\n`npm i sie-parser`\n\n# Usage\n\nInitialize the parser\n\n```ts\nimport sieParser from 'sie-parser';\n\nconst sie = new sieParser('./myfile2parse.se');\n```\n\n# Functions\n\nGet full parsed content\n\n```ts\nconst sieObject = sie.sieObject;\n```\n\nGet verifications\n\n```ts\n// This will return array with all existing verifications\nconst verifications = sie.getVerifications()\n\n/*\n* Returns data as array on all verification with that series\n* Exapmle of series A, B, C, D\n*/\nconst verificationsSpecific = sie.getVerificationsData(series:string)\n```\n\nGet Accounts\n\n```ts\n// Returns array with all accounts with objects including { kontonr, kontonamn }\nconst accounts = sie.getAccount();\n/*\nExample output\n[  \n  {\n    kontonr: '1010',\n    kontonamn: 'Utvecklingsutgifter'\n  },\n  {\n    kontonr: '1011',\n    kontonamn: 'Balanserade utgifter för forskning och utveckling'\n  }\n]\n*/\n\n// if you wanna get more specific data your can use\nconst kontonr = '1010' || 1010;\n// Options will filter the response data\nconst opts = {\n  ib: false || true,\n  ub: false || true,\n  psaldo: false || true,\n  konto: false || true,\n};\n// All options are optional if not manually set they default to false\nconst account = sie.getAccount(kontonr, opts);\n/*\nExample output\n{\n  kontonr: '1012',\n  kontonamn: 'Balanserade utgifter för programvaror',\n  IB: [],\n  UB: [],\n  PSALDO: []\n}\n*/\n```\n\n# Report issues\n\nPlease report all issues [here](https://github.com/techmdw/sie-parser/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechmdw%2Fsie-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechmdw%2Fsie-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechmdw%2Fsie-parser/lists"}