alcumus-processor
v1.0.245
Published
This is a processor developed by alcumus
Downloads
58
Maintainers
Keywords
Readme
Alcumus Processor
This is a processor developed by alcumus
Installation
npm i @alcumus/alcumus-processor
Usage examples
const { processor } = require('alcumus-processor');
processor('todo.add', async function ({payload}, {documents: [target]}) {
target.todo = target.todo || [];
target.todo.push(payload);
});