"use strict";
exports.delimiter = '+';
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = (pkg) => pkg.name.replace('/', exports.delimiter) + '@' + escapeVersion(pkg.version);
function escapeVersion(version) {
    if (!version)
        return '';
    return version.replace(/[/\\:]/g, exports.delimiter);
}
//# sourceMappingURL=createPkgId.js.map