0.0.65 • Published 5 years ago

alcumus-updated-processor v0.0.65

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

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);
});