{"repo":"folke/esbuild-runner","free":true,"listed":false,"github":"https://github.com/folke/esbuild-runner","clone":"git clone https://github.com/folke/esbuild-runner.git","description":"⚡️ Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild","language":"TypeScript","stars":729,"topics":["nodejs","node","esbuild","esbuild-node","typescript","esnext","jest","tsnode","ts-node","esbuild-runner"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":":zap: Esbuild Runner ( esr ) Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild. esr makes it easy to run arbitrary code or tests without needing to build your whole project. It's a great way to improve your development workflow. ✨ Usage The easiest way to use esbuild-runner is to install it globally and use the included esr binary. Alternatively, you can require esbuild-runner within any nodejs process to include realtime transpilation: In order to use esbuild-runner with Jest, you need to configure a Jest transform in your jest.config.js VSCode Debugging ⚙️ Configuration esr provides two different ways to transpile your code: - bundling (default) : this transpiles the script and all its dependencies in typically one invocation of esbuild . Dependencies defined in package.json or node modules will never be transpiled. Running esr will always transpile the code. No caching is used. - transform ( --cache ) : this method will invoke esbuild for every source file , but will cache the result. This means that the initial run will be slower, but after that, only changed source files will be transpiled. To customize the options passed to esbuild, you can create an esbuild-runner.config.js file in the current directory or one of the ancestor directories. 📦 Installation Simply install the esbuild-runner npm package using your favorite package manager. - globally ... - ... or locally in your project 👋 Contributing Pull requests are welcome. For major c","default_branch":null,"files":null,"tree":[],"storefront":"/r/folke","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/folke/esbuild-runner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}