"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getSaveType(opts) {
    if (opts.save || opts.global)
        return 'dependencies';
    if (opts.saveDev)
        return 'devDependencies';
    if (opts.saveOptional)
        return 'optionalDependencies';
    return null;
}
exports.default = getSaveType;
//# sourceMappingURL=getSaveType.js.map