1.0.2 • Published 6 years ago
pon-task-open v1.0.2
pon-task-open
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
Param | type | Description |
---|---|---|
target | string | Target to open |
options | Object | Optional settings |
License
This software is released under the Apache-2.0 License.