{"id":20244315,"url":"https://github.com/protonmail/sieve.js","last_synced_at":"2025-04-10T20:43:53.238Z","repository":{"id":44645806,"uuid":"61641954","full_name":"ProtonMail/sieve.js","owner":"ProtonMail","description":"Javascript library to wrap sieve configuration","archived":false,"fork":false,"pushed_at":"2023-07-07T11:38:53.000Z","size":1944,"stargazers_count":13,"open_issues_count":18,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-13T22:26:19.658Z","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/ProtonMail.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-21T14:45:42.000Z","updated_at":"2023-11-20T21:32:27.000Z","dependencies_parsed_at":"2024-11-14T09:14:30.827Z","dependency_job_id":"33a3ac2c-bff1-4775-a7ad-b639692f56fd","html_url":"https://github.com/ProtonMail/sieve.js","commit_stats":{"total_commits":51,"total_committers":12,"mean_commits":4.25,"dds":0.7450980392156863,"last_synced_commit":"638f3b99677ede932eb8498477746eea720d5d3c"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonMail%2Fsieve.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonMail%2Fsieve.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonMail%2Fsieve.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonMail%2Fsieve.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProtonMail","download_url":"https://codeload.github.com/ProtonMail/sieve.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248294160,"owners_count":21079795,"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-14T09:14:25.038Z","updated_at":"2025-04-10T20:43:53.205Z","avatar_url":"https://github.com/ProtonMail.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/ProtonMail/sieve.js.svg?style=svg)](https://circleci.com/gh/ProtonMail/sieve.js)\n\n# Sieve.js\n\nJavaScript library to wrap sieve configuration\n\n### Simple representation\n\n```js\n{\n    Operator: {\n        label: '',\n        value: 'AllOf' // 'AnyOf'\n    },\n    Conditions: [\n        {\n            Comparator: {\n                value: 'contains' // 'is', 'matches', 'starts', 'ends'\n            },\n            Values: ['thomas.anderson@protonmail.com']\n        }\n    ],\n    Actions: {\n        FileInto: ['trash'],\n        Mark: {\n            Read: false,\n            Starred: false\n        },\n        Vacation: 'Not here for few days'\n    }\n}\n```\n\n## Test\n\n`npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotonmail%2Fsieve.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotonmail%2Fsieve.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotonmail%2Fsieve.js/lists"}