ts-node
Next.js
Our great sponsors
ts-node | Next.js | |
---|---|---|
20 | 2,037 | |
12,547 | 120,313 | |
0.8% | 1.4% | |
5.5 | 10.0 | |
about 2 months ago | about 18 hours ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
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.
ts-node
-
TypeScript Without Transpilation
I thought this was going to be a project like ts-node [1]
- Is your language eco friendly?
-
Deploy a static site to AWS S3 and CloudFront using AWS CDK
The command specified in the app option uses ts-node by default, which is an execution engine for Node.js that allows you to run TypeScript code directly. The --prefer-ts-exts flag prevents ts-node from prioritizing precompiled .js files and will always import the TypeScript source code instead, if it is available. This is useful if you are also using tsc (the TypeScript compiler) alongside the app option. The bin/cdk.ts file is the entry point for our CDK app, which defines the main function that will be executed when the app is run.
- Use tsx instead of nodemon
-
Couple super basic Typescript questions from a newbie: how to compile and how to start learning
If you want to write apps that run on Node.js I would suggest using Google’s TypeScript style guide. You can start using it by simply running npx gts init. I’d suggest that you start with this and run your apps using ts-node/ts-node-dev because it does not require an extra build step.
-
Looking for a TS REPL/tinkering tool, any recommendations?
ts-node (“TypeScript execution and REPL for Node.js”)
-
"SyntaxError: Cannot use import statement outside a module" trying to run Mathigon/Studio
Here is a relevant discussion and dev comment: https://github.com/TypeStrong/ts-node/issues/155
-
An Introduction to Deno: Is It Better Than Node.js?
It does support ESM, with a --loader[1], but even with its SWC option it’s still significantly slower than the esbuild loader I’m working on. Unfortunately, esbuild isn’t totally compatible with tsc, so it’s not a drop-in replacement without plugins.
1: https://github.com/TypeStrong/ts-node#native-ecmascript-modu...
-
How to Set Up a Node.js Project with TypeScript
The process of compiling TypeScript source files into JavaScript code before executing them with Node.js can get a little tedious after a while, especially during development. You can eliminate the intermediate steps before running the program through the ts-node CLI to execute .ts files directly. Go ahead and install the ts-node package using the command below:
-
How to use execa@6 with NestJs?
I tried suggested solution by https://github.com/TypeStrong/ts-node/issues/1007 but this causes problem with NestJS decorators:
Next.js
-
Styling Your Site with Next.js and MUI: Creating a Dynamic Theme Switcher
Remember to start the Next.js server with pnpm dev.
- Mastering Next.js 13/14 - Advanced Techniques
- 3 Exciting Improvements Between NextJS 14 And NextJS 13
-
The best testing setup for frontends, with Playwright and NextJS
We want to share with you the best testing setup we've experienced - and this includes using Playwright and NextJS. It's a setup we've come up with for Infinite React DataGrid, which is a complex component, with lots of things to test, but this configuration has helped us ship with more confidence and speed.
-
React 19: The long-expected features
If you're acquainted with NextJs, the directives will come as no surprise.
-
Deploy Full-Stack Next.js T3App with Cognito and Prisma using AWS Lambda
Deploying a full-stack Next.js web app can seem complex, but with the right tools, it's straightforward. This tutorial will cover the essentials to get your app up and running quickly:
-
Empowering Creative Writing with AI: An Introduction to the Cloudflare AI Challenge Markdown Editor
This is a Next.js project bootstrapped with create-next-app.
-
Next.js vs Node.js: A Modern Contrast
This article contrasts two whales: Next.js vs Node.js. Both projects are open-source but have different use cases. Next is React-based, which supports static and server-rendered pages, helping build dynamic and hybrid applications thanks to its automatic static optimization feature. Node is a runtime environment for implementing JavaScript code outside the browser, particularly on the server.
-
Integrating Strapi with ChatGPT and Next.js
In this tutorial, we will learn how to use Strapi, ChatGPT, and Next.js to build an app that displays recipes using AI.
- Next.js App Router SEO overview
What are some alternatives?
swc-node - Faster ts-node without typecheck
vite - Next generation frontend tooling. It's fast!
esbuild - An extremely fast bundler for the web
Express - Fast, unopinionated, minimalist web framework for node.
esbuild-runner - ⚡️ Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild
SvelteKit - web development, streamlined
swc - Rust-based platform for the Web
MERN - ⛔️ DEPRECATED - Boilerplate for getting started with MERN stack
sucrase - Super-fast alternative to Babel for when you can target modern JS runtimes
Angular - Deliver web apps with confidence 🚀
vike - 🔨 Like Next.js / Nuxt but as do-one-thing-do-it-well Vite plugin.
fastify - Fast and low overhead web framework, for Node.js