pon-context

3.0.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.2
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.2
    7
  • 3.0.1
    0
  • 2.0.2
    0
  • 2.0.1
    0

Package Sidebar

Install

npm i pon-context

Weekly Downloads

5

Version

3.0.2

License

Apache-2.0

Unpacked Size

172 kB

Total Files

50

Last publish

Collaborators

  • okunishinishi
  • realglobe