esno
esbuild-runner
Our great sponsors
esno | esbuild-runner | |
---|---|---|
10 | 2 | |
1,522 | 698 | |
2.2% | - | |
4.9 | 0.0 | |
25 days ago | 5 days ago | |
TypeScript | TypeScript | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
esno
-
Finally, a guide for Node.js and TypeScript and ESM that works
Love this project, used it quite a bit. However I always opt for using esno[1] instead, merely because of the name; having two tools share the same name throws me off.
-
The esm/cjs situation...
Next, I thought well nx is not gonna work for now, so let's keep looking for an alternative to ts-node. Oh look, there is this https://github.com/esbuild-kit/tsx. It natively understands path aliases, no need for any flags. Oh wait...it doesn't do any type checking like ts-node. WHAT? why would anyone execute typescript without type checks during development?.
-
Svelte is migrating from TypeScript to JSDoc
I’ve generally found tsx to be better/less hassle than ts-node
-
TypeScript tooling and ecosystem
For just running Typescript files you have (both for dev and prod) https://github.com/esbuild-kit/tsx with command is generally easier then using ts-node + some file watcher or compiling to js
-
tsx: Node.js enhanced with esbuild to run TypeScript & ESM
And compared to esno?
-
Typescript or JS with Node.js ?
Typescript with TSX for development
esbuild-runner
-
Testing in typescript.
You can then use esbuild-runner to allow you to run tests written in TS. This will also work for any other test runner (mocha, tape, uvu, etc). Jest requires a bit more fiddling, as per usual. An alternative is running tests via TS-node, but it's little a bit slower.
-
n00b question
via ESbuild https://github.com/folke/esbuild-runner
What are some alternatives?
ts-node - TypeScript execution and REPL for node.js
mocha-esbuild - Run tests with mocha compiled by esbuild
TS-ESNode - Node.JS Loader hook to transform typescript source and files as node loads them TS-ESNode. TS-Node for ESNext & ESModule Node.JS.
tsx - ⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM
esbuild-node-tsc - Build your Typescript Node.js projects using blazing fast esbuild
electron-svelte-typescript-esbuild-template - Starter kit to build cross-platform desktop apps with Electron, Svelte, TypeScript and Esbuild.
estrella - Lightweight and versatile build tool based on the esbuild compiler
bundlejs - An online tool to quickly bundle & minify your projects, while viewing the compressed bundle size, all running locally on your browser. A quick and easy way to bundle, minify, and compress (gzip and brotli) your ts, js, jsx and npm projects all online, with the bundle file size.
codemirror - A minor test of Codemirror
esbuild-svelte - An esbuild plugin to compile Svelte components