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

package.dist.repl.cjs Maven / Gradle / Ivy

Go to download

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

The newest version!
"use strict";var c=Object.defineProperty;var s=(e,r)=>c(e,"name",{value:r,configurable:!0});var l=require("node:repl"),u=require("./package-Bc1xuHTm.cjs"),q=require("./index-BsW12Ot9.cjs");require("node:url"),require("esbuild"),require("node:crypto"),require("node:fs"),require("node:path"),require("node:os"),require("./temporary-directory-B83uKxJF.cjs"),console.log(`Welcome to tsx v${u.version} (Node.js ${process.version}).
Type ".help" for more information.`);const t=l.start(),{eval:p}=t,v=s(async function(e,r,o,i){const a=await q.transform(e,o,{loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}}).catch(n=>(console.log(n.message),{code:`
`}));return p.call(this,a.code,r,o,i)},"preEval");t.eval=v;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy