Skip to content

realglobe-Inc/pon-context

Repository files navigation

Title Banner

Build Status npm Version JS Standard

Tasks context for pon

Installation

$ npm install pon-context --save

Usage

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

API Guide

License

This software is released under the Apache-2.0 License.

Links