'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = resolveGroupId;

var _posix;

function _load_posix() {
  return _posix = require('posix');
}

function resolveGroupId(groupName) {
  var group = (0, (_posix || _load_posix()).getgrnam)(groupName);
  if (group) return group.gid;
  return null;
}