{"id":15725290,"url":"https://github.com/isuke/advanced-poe-filter-parser","last_synced_at":"2025-08-12T09:14:03.969Z","repository":{"id":34969052,"uuid":"185354031","full_name":"isuke/advanced-poe-filter-parser","owner":"isuke","description":"Advanced PoE Filter Parser","archived":false,"fork":false,"pushed_at":"2024-12-23T23:00:22.000Z","size":420,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T01:05:31.263Z","etag":null,"topics":["filter-of-kalandra","path-of-exile","pathofexile","pegjs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/advanced-poe-filter-parser","language":"JavaScript","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/isuke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-07T08:12:57.000Z","updated_at":"2024-12-23T23:00:23.000Z","dependencies_parsed_at":"2023-12-05T15:28:25.509Z","dependency_job_id":"798836c4-f31f-48e1-990d-4024eb3488f8","html_url":"https://github.com/isuke/advanced-poe-filter-parser","commit_stats":{"total_commits":68,"total_committers":1,"mean_commits":68.0,"dds":0.0,"last_synced_commit":"904dd20dda31d16d37bad485e6b57df621e79144"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/isuke/advanced-poe-filter-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fadvanced-poe-filter-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fadvanced-poe-filter-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fadvanced-poe-filter-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fadvanced-poe-filter-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isuke","download_url":"https://codeload.github.com/isuke/advanced-poe-filter-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fadvanced-poe-filter-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269677392,"owners_count":24457847,"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-08-10T02:00:08.965Z","response_time":71,"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":["filter-of-kalandra","path-of-exile","pathofexile","pegjs"],"created_at":"2024-10-03T22:20:22.039Z","updated_at":"2025-08-12T09:14:03.937Z","avatar_url":"https://github.com/isuke.png","language":"JavaScript","readme":"# Advanced PoE Filter Parser [![Test and Lint](https://github.com/isuke/advanced-poe-filter-parser/actions/workflows/main.yml/badge.svg)](https://github.com/isuke/advanced-poe-filter-parser/actions/workflows/main.yml) [![git-consistent friendly](https://img.shields.io/badge/git--consistent-friendly-brightgreen.svg)](https://github.com/isuke/git-consistent) [![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](https://raw.githubusercontent.com/isuke/advanced-poe-filter-parser/main/LICENSE) [![npm](https://img.shields.io/npm/v/advanced-poe-filter-parser.svg)](https://www.npmjs.com/package/advanced-poe-filter-parser)\n\nAdvanced PoE Filter is used by [Filter of Kalandra](https://filter-of-kalandra.netlify.com/).\n\n## Usage\n\n```js\nimport { parse, SyntaxError } from \"advanced-poe-filter-parser\"\n\nconst script = [\n'Show \"Map Section\"'\n'    Class \"Maps\"'\n'    MapTier \u003e 3'\n'    SetBorderColor 250 251 252'\n'    PlayAlertSound 1 300'\n''\n'    Fork \"Rarity\"'\n'        Show \"Rare\"'\n'            Rarity Rare'\n'            SetBackgroundColor 255 0 0 100'\n''\n'        Hide \"Magic\"'\n'            Rarity Magic'\n''\n].join('\\n')\n\nconst object = parse(script)\n  // [\n  //   {\n  //     id: '0003',\n  //     name: 'Map Section',\n  //     activity: 'Show',\n  //     conditions: {\n  //       Class: { ope: '=', vals: ['Maps'] },\n  //       MapTier: { ope: '\u003e', val: 3 },\n  //     },\n  //     actions: {\n  //       SetBorderColor: { rgb: { r: 250, g: 251, b: 252 }, alpha: 255 },\n  //       PlayAlertSound: { id: '1', volume: 300 },\n  //     },\n  //     branches: [\n  //       {\n  //         name: 'Rarity',\n  //         type: 'Fork',\n  //         blocks: [\n  //           {\n  //             id: '0001',\n  //             name: 'Rare',\n  //             activity: 'Show',\n  //             conditions: {\n  //               Rarity: { ope: '=', val: 'Rare' },\n  //             },\n  //             actions: { SetBackgroundColor: { rgb: { r: 255, g: 0, b: 0 }, alpha: 100 } },\n  //             branches: [],\n  //             location: {\n  //               start: { line: 8, column: 9, offset: 135 },\n  //               end: { line: 12, column: 1, offset: 215 },\n  //               source: undefined,\n  //             },\n  //           },\n  //           {\n  //             id: '0002',\n  //             name: 'Magic',\n  //             activity: 'Hide',\n  //             conditions: {\n  //               Rarity: { ope: '=', val: 'Magic' },\n  //             },\n  //             actions: {},\n  //             branches: [],\n  //             location: {\n  //               start: { line: 12, column: 9, offset: 223 },\n  //               end: { line: 14, column: 1, offset: 261 },\n  //               source: undefined,\n  //             },\n  //           },\n  //         ],\n  //         location: {\n  //           start: { line: 7, column: 5, offset: 113 },\n  //           end: { line: 14, column: 1, offset: 261 },\n  //           source: undefined,\n  //         },\n  //       },\n  //     ],\n  //     location: {\n  //       start: { line: 1, column: 1, offset: 0 },\n  //       end: { line: 14, column: 1, offset: 261 },\n  //       source: undefined,\n  //     },\n  //   },\n  // ]\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisuke%2Fadvanced-poe-filter-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisuke%2Fadvanced-poe-filter-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisuke%2Fadvanced-poe-filter-parser/lists"}