@protontech/sieve.js
v2.0.6
Published
JavaScript library to wrap sieve configuration
Downloads
3
Keywords
Readme
Sieve.js
JavaScript library to wrap sieve configuration
Simple representation
{
Operator: {
label: '',
value: 'AllOf' // 'AnyOf'
},
Conditions: [
{
Comparator: {
value: 'contains' // 'is', 'matches', 'starts', 'ends'
},
Values: ['[email protected]']
}
],
Actions: {
FileInto: ['trash'],
Mark: {
Read: false,
Starred: false
},
Vacation: 'Not here for few days'
}
}
Test
npm test