0.1.57 • Published 7 years ago

@pilotlab/lux-debug v0.1.57

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
7 years ago

lux-debug

Debugging utilities.

Install

sudo npm install --save @pilotlab/lux-debug

Usage

import Debug from '@pilotlab/lux-debug';

Debug.assert(
     is.notEmpty(myVariable),
     'The value of myVariable is %MY%. The value of otherVariable is %OTHER%.',
     'AwesomeClass.doSomethingCool(...)', {"MY": myVariable, "OTHER": otherVariable});