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.

18 lines (13 loc) 377 B
#!/usr/bin/env node /** * @fileoverview Application entry point. * @author Priyanshu raj */ "use strict"; // Replaces all match from string. // NOTE: this is the fixed for linux. String.prototype.replaceAll = function (match, val) { const regex = new RegExp(match, "g"); return this.replace(regex, val); }; module.exports = require("./lib/xplora");