All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.patch-repl.mjs Maven / Gradle / Ivy

Go to download

TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files

The newest version!
var i=Object.defineProperty;var a=(t,r)=>i(t,"name",{value:r,configurable:!0});import s from"node:repl";import{transform as f}from"esbuild";const p=a(t=>{const{eval:r}=t,n=a(async function(e,c,o,l){try{e=(await f(e,{sourcefile:o,loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}})).code}catch{}return r.call(this,e,c,o,l)},"preEval");t.eval=n},"patchEval"),{start:u}=s;s.start=function(){const t=Reflect.apply(u,this,arguments);return p(t),t};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy