You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cd-utils

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cd-utils

CodeDungeon Utilities [WIP]

0.17.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

cd-utils

Node Utils

Installation

Install cd-utils as a development dependency to your project (plugin should be installed for each project)

npm install --D cd-utils

Usage

After you have installed plugin, you can access like any standard node module

var utils = require('cd-utils')();

Note: When requiring cd-utils you must include the addition parens to execute internal function

API

COMPLETE THIS SECTION (OUTLINE PARAMS AND PROPERTIES)

Methods

notifyOptions(status, override)

  • status S
  • override {}

failMessage(options)

passMessage(options)

notifyPassed(options)

notifyFailed(options)

error(msg, data)

info(msg, data)

success(msg, data)

warning(msg, data)

isWindows

mergeTemplate(msg, data)

timestamp

difference

params

param(key)

is_js instance

kind-of instance (as kindOf)

chalk instance

extend

Credits

cd-utils written by Mike Erickson

E-Mail: codedungeon@gmail.com

Twitter: @codedungeon

Website: codedungeon.org

Keywords

utils

FAQs

Package last updated on 28 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts