3.0.2 • Published 6 years ago

pon-context v3.0.2

Weekly downloads
347
License
Apache-2.0
Repository
github
Last release
6 years ago

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

3.0.2

6 years ago

3.0.1

6 years ago

2.0.2

7 years ago

2.0.1

7 years ago