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

/pon-context/

    Package Sidebar

    Install

    npm i pon-context

    Weekly Downloads

    6

    Version

    3.0.2

    License

    Apache-2.0

    Unpacked Size

    172 kB

    Total Files

    50

    Last publish

    Collaborators

    • okunishinishi
    • realglobe