MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / require.py

File require.py

python/pythonmonkey/require.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# @file require.py
2# Implementation of CommonJS "require" for PythonMonkey. This implementation uses the
3# ctx-module npm package to do the heavy lifting. That package makes a complete module
4# system, ostensibly in a separate context, but our implementation here reuses the

Callers

nothing calls this directly

Calls 2

evalFunction · 0.85
writeMethod · 0.80

Tested by

no test coverage detected