Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@pilotlab/debug

pilot-lab29ISC0.1.174TypeScript support: included

A luxurious user experience framework, developed by your friends at Pilot.

UX, framework, utilities, pilot, pilotlab

readme

debug

Debugging utilities.

Install

sudo npm install --save @pilotlab/debug

Usage

import Debug from '@pilotlab/debug';

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