local M = {} function M.safe_require(name) local ok, mod = pcall(require, name) if ok then return mod end return nil end return M