


Hello JavaScript Enthusiasts!
Welcome to this week’s edition of "This Week in JavaScript"!
What’s on the agenda?
Node.js embraces native TypeScript, Shadcn/ui steals the spotlight in JavaScript Rising Stars, and we've got new Import Attributes—plus the must-know tools for devs in 2025!
Native TypeScript in Node.js: A Game-Changer
Starting from Node.js v23.6.0, you can now run TypeScript files natively without extra tooling. Here’s what you need to know:
Seamless Type Stripping: No more juggling tools like ts-node—Node.js handles type stripping itself.
Not Full Transpilation Yet: Some TypeScript features like JSX, enums, and decorators aren’t supported, but for most projects, this simplifies the workflow.
Goodbye Pre-Compiling: Say goodbye to complex setups! This update drastically simplifies working with TypeScript in Node.js.
2024 JavaScript Rising Stars: Shadcn/ui Takes Center Stage
The 9th edition of JavaScript Rising Stars is out, and the trends are clear:
Shadcn/ui Dominates: It’s gaining traction for allowing developers to fully own their components without depending on external libraries.
React 19's Big News: Web component support has taken React to the next level.
Vite and Beyond: Vite continues to shine in the tooling space, with Rspack and Rolldown making a strong entrance.
Bun for Windows: Bun now supports Windows, making it an even more versatile runtime for JS developers.
Zustand for State Management: Simplicity wins with Zustand as it becomes a favorite among developers for state management.
Import Attributes: Making File Handling Easier
A new ECMAScript feature, Import Attributes, is streamlining file handling. Here’s why it matters:
Specify File Types: When importing non-JS files (JSON, CSS, WebAssembly), you can now specify file types, reducing potential errors.
Avoid Confusion: This makes working with large projects or external servers much easier by giving you more control over dynamic imports and file types.
Workflow Improvement: This is especially beneficial for projects that handle a variety of file types, making them more predictable and error-resistant.
Tools & Releases You Should Know About
The JavaScript ecosystem is constantly evolving, and these tools will help you stay ahead of the curve:
pnpm 10: Faster dependency handling, tighter security with SHA256 hashing, and lifecycle scripts no longer auto-running. It’s a boost for both team and solo projects.
Bun v1.1.43: Native S3 support, V8 heap snapshots for better debugging, and HTML bundling make this a powerhouse for your cloud-based apps.
Tesseract.js 6: OCR just got faster and leaner! The update reduces memory leaks and resource usage, with added control over output like HTML-styled text.
QuickJS 0.8: Precision meets power! New Math.sumPrecise function, improved error handling, and better Windows support make this a great update.
trimMiddle(): Perfect for shortening long strings like filenames without losing important content, even handles emojis with precision.
React-Toastify v11: In-page notifications just got easier. Simplified DOM structure, built-in styles, and custom progress bars, with accessibility updates built-in.
And that's it for the seventeenth issue of "This Week in JavaScript", brought to you by jam.dev—the tool that makes it impossible for your team to send you bad bug reports.
Feel free to share this newsletter with a fellow developer, and make sure you're subscribed to get notified about the next issue.
Until next time, happy coding!
References
Native TypeScript in Node.js
2024 JavaScript Rising Stars
Import Attributes
pnpm 10
Bun v1.1.43
Tesseract.js 6
QuickJS 0.8
trimMiddle()
React-Toastify v11
The above is the detailed content of Node.js now supports TypeScript, JavaScript Rising Stars report is out, NEW developer tools and more. For more information, please follow other related articles on the PHP Chinese website!

The main difference between Python and JavaScript is the type system and application scenarios. 1. Python uses dynamic types, suitable for scientific computing and data analysis. 2. JavaScript adopts weak types and is widely used in front-end and full-stack development. The two have their own advantages in asynchronous programming and performance optimization, and should be decided according to project requirements when choosing.

Whether to choose Python or JavaScript depends on the project type: 1) Choose Python for data science and automation tasks; 2) Choose JavaScript for front-end and full-stack development. Python is favored for its powerful library in data processing and automation, while JavaScript is indispensable for its advantages in web interaction and full-stack development.

Python and JavaScript each have their own advantages, and the choice depends on project needs and personal preferences. 1. Python is easy to learn, with concise syntax, suitable for data science and back-end development, but has a slow execution speed. 2. JavaScript is everywhere in front-end development and has strong asynchronous programming capabilities. Node.js makes it suitable for full-stack development, but the syntax may be complex and error-prone.

JavaScriptisnotbuiltonCorC ;it'saninterpretedlanguagethatrunsonenginesoftenwritteninC .1)JavaScriptwasdesignedasalightweight,interpretedlanguageforwebbrowsers.2)EnginesevolvedfromsimpleinterpreterstoJITcompilers,typicallyinC ,improvingperformance.

JavaScript can be used for front-end and back-end development. The front-end enhances the user experience through DOM operations, and the back-end handles server tasks through Node.js. 1. Front-end example: Change the content of the web page text. 2. Backend example: Create a Node.js server.

Choosing Python or JavaScript should be based on career development, learning curve and ecosystem: 1) Career development: Python is suitable for data science and back-end development, while JavaScript is suitable for front-end and full-stack development. 2) Learning curve: Python syntax is concise and suitable for beginners; JavaScript syntax is flexible. 3) Ecosystem: Python has rich scientific computing libraries, and JavaScript has a powerful front-end framework.

The power of the JavaScript framework lies in simplifying development, improving user experience and application performance. When choosing a framework, consider: 1. Project size and complexity, 2. Team experience, 3. Ecosystem and community support.

Introduction I know you may find it strange, what exactly does JavaScript, C and browser have to do? They seem to be unrelated, but in fact, they play a very important role in modern web development. Today we will discuss the close connection between these three. Through this article, you will learn how JavaScript runs in the browser, the role of C in the browser engine, and how they work together to drive rendering and interaction of web pages. We all know the relationship between JavaScript and browser. JavaScript is the core language of front-end development. It runs directly in the browser, making web pages vivid and interesting. Have you ever wondered why JavaScr


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

WebStorm Mac version
Useful JavaScript development tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Zend Studio 13.0.1
Powerful PHP integrated development environment
