1.0.2 • Published 6 years ago

pon-task-open v1.0.2

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

pon-task-open

Build Status npm Version JS Standard

pon task to open files

Installation

$ npm install pon-task-open --save

Usage

'use strict'

const pon = require('pon')
const open = require('pon-task-open')

;(async () => {
  let run = pon({
    'open:local': open('http://localhost:300', {wait: false})
  })

  run('open:local')
}).catch((err) => console.error(err))

Signatures

define(target, options) -> function

Define task

ParamtypeDescription
targetstringTarget to open
optionsObjectOptional settings

License

This software is released under the Apache-2.0 License.

Links

1.0.2

6 years ago

1.0.1

6 years ago