Hubik-Util
v0.0.1
Published
The utils of Hubik.
Downloads
3
Readme
Hubik-Util
The utils of Hubik.
Installation
npm install hubik-util
Usage
var hubikUtil = require("hubik-util")
1. hubikUtil.wait(time = Number)
This method will make the process wait for some time.It will return a es6 promise.
2. hubikUtil.getArgs(fn = Function)
This method will parse the a function and get the name of parameters.It will return an array of these names.
3. hubikUtil.log(msg = String)
This method will print messages on the console.
- hubikUtil.log.info
- hubikUtil.log.error
- hubikUtil.log.protocol
- hubikUtil.log.result
- hubikUtil.log.command
- hubikUtil.log.progress