DABH
Software by DABH

Small tools.
Lasting maintenance.

Open-source libraries for clearer console output, focused debugging, and everyday JavaScript development. Distributed and maintained by DABH LLC, building on the work of their authors and contributors.

01 / Download & build

Developer libraries

Free to use under the MIT license. Install with npm or download a release directly.

Terminal stylingv1.6.1

@colors/colors

Add color and style to Node.js console output. Use the safe API for styling strings without extending String.prototype.

npm install @colors/colors
const colors = require('@colors/colors/safe');
console.log(colors.green('Ready.'));

DABH LLC distribution of colors.js. Original library by Marak Squires; additional functionality credited to Sindre Sorhus and DABH. License & credits.

Debug loggingv2.0.9

@dabh/diagnostics

Namespace-based debugging for Node.js and browsers. Turn diagnostic messages on when you need them, with configurable adapters, modifiers, and loggers.

npm install @dabh/diagnostics
const debug = require('@dabh/diagnostics')('app:startup');
debug('Ready.'); // Enable with DEBUG=app:*

Distributed and maintained by DABH LLC. Based on diagnostics by Arnout Kazemier, Martijn Swaagman, and contributors. License & credits.

JavaScript utilityv1.0.6

array-typeof-values

Find the most specific common type of the values in an array. A small utility with TypeScript definitions included.

npm install array-typeof-values
const arrayType = require('array-typeof-values');
arrayType(['a', 'b']); // 'string'
arrayType([[1], [2]]); // 'array'

Written by David Hyde (DABH). Distributed and maintained by DABH LLC. MIT license.

02 / Try it in your browser

Make sense of
your Winston logs.

Combine formats, experiment with custom transformations, and compare level filters. Follow the log object through every step, then download working Node.js configuration.

Open the format playground ↗
A developer tool by DABH LLC
errors → splat → timestamp
                 ↓
     ┌───────────┴───────────┐
     Console                 JSON
     printf → colorize       json
     level: debug            level: warn

Powered by Winston’s logform formatting engine. Your sample logs and custom code stay in the browser.

03 / Work with the maintainer

Need a hand integrating it?

DABH provides software consulting and open-source engineering support. Get help understanding a dependency, troubleshooting logging behavior, or building the tools your team needs.

hello@dabh.llc ↗

For reproducible bugs and feature requests, use the issue tracker linked from each repository.