hubik-util

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i hubik-util

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • ycinfinity