pon-context

Tasks context for pon


Keywords
Pon, oss
License
Apache-2.0
Install
npm install pon-context@3.0.2

Documentation

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