PiotrDabkowski/Js2Py

Accessing builtin modules (Eg: crypto.subtle)

MayaankAshok opened this issue · 0 comments

Is there any way to access builtin modules, eg: crypto.subtle.
Node.js documentation mentions 2 methods:

  1. globalThis . This is not available in js2py
  2. require("node:crypto") : As this is not a npm install, this too fails using js2py.require

Is there a method to access it via window.crypto.subtle ?