Tasks context for pon
$ npm install pon-context --save
'use strict'
const ponContext = require('pon-context')
async function myCustomPonTask (ctx) {
let { logger } = ctx
logger.debug('Do some custom staff')
}
{
let ctx = ponContext({})
myCustomPonTask(ctx)
}
This software is released under the Apache-2.0 License.