Sha256: 2ef41461635fc6b9689fdf72a9989dd2f675757483d85658968056ccec0eab21
Contents?: true
Size: 427 Bytes
Versions: 54
Compression:
Stored size: 427 Bytes
Contents
module.exports = function (_require) { _require = _require || require var main = _require.main if (main && isIISNode(main)) return handleIISNode(main) else return main ? main.filename : process.cwd() } function isIISNode (main) { return /\\iisnode\\/.test(main.filename) } function handleIISNode (main) { if (!main.children.length) { return main.filename } else { return main.children[0].filename } }
Version data entries
54 entries across 42 versions & 16 rubygems