UNPKG

xplora

Version:

Xplora is a command-line tool to visualize files & directories on your file system and output them into a hierarchical tree. Xplora also comes with many other great features.

14 lines (11 loc) 212 B
"use strict"; /** * Return number in two digits. * * @param {number} num * @returns {String} */ function twoDigitNum(num) { return num > 9 ? num : "0" + num; } module.exports = twoDigitNum;