peezy-cli
Version:
Production-ready CLI for scaffolding modern applications with curated full-stack templates, intelligent migrations, and enterprise security.
14 lines • 399 B
JavaScript
/**
* Utilities for preparing technology lists for version checks
*/
/**
* Normalize, filter empties, then de‑dupe using a Set.
*/
export function uniqueNormalizedTechs(input, normalize) {
const normalized = (input || [])
.map((t) => (t || "").trim())
.map(normalize)
.filter((t) => !!t);
return [...new Set(normalized)];
}
//# sourceMappingURL=tech-list.js.map