You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jiti is great and supports running Typescript and ESM under the running path. I found that jiti uses the processing inside the vm (sandbox) internally and hope to expose it to developers who need to run string code (I am one of them).
Here is a simple example, such as generating parsing messages or generating charts using AI:
constjiti=require("jiti")(__filename);constanalysis=jiti.run("custom.js",` import lodash from 'lodash' function analysis(df) { // autogenerated code here } export default analysis`);analysis(df);
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
Describe the feature
Jiti is great and supports running Typescript and ESM under the running path. I found that jiti uses the processing inside the vm (sandbox) internally and hope to expose it to developers who need to run string code (I am one of them).
Here is a simple example, such as generating parsing messages or generating charts using AI:
Additional information
The text was updated successfully, but these errors were encountered: