UNPKG

msync

Version:

Easily manage building and syncing multiple node-modules in a flexibly defined workspace.

11 lines (10 loc) 398 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var libs_1 = require("./libs"); function formatModuleName(input) { var parts = (input || '').split('/'); var hasOrg = parts.length > 1; var text = hasOrg ? libs_1.log.gray(parts[0] + "/" + libs_1.log.cyan(parts[1])) : libs_1.log.cyan(parts[0]); return text; } exports.formatModuleName = formatModuleName;