UNPKG

shell-mirror

Version:

Access your Mac shell from any device securely. Perfect for mobile coding with Claude Code CLI, Gemini CLI, and any shell tool.

10 lines (8 loc) 248 B
'use strict' module.exports = function whichModule (exported) { for (var i = 0, files = Object.keys(require.cache), mod; i < files.length; i++) { mod = require.cache[files[i]] if (mod.exports === exported) return mod } return null }