Here are a few recent JavaScript projects that not many people are yet aware of. These frameworks and tools not only provide a broad range of functionalities, but they also shed light on current JavaScript development trends. Despite the fact that many people are still unaware of them, they might soon become well-known because the developers seem to like them.
Tauri: a JavaScript project for desktop applications
Tori is a desktop application JavaScript framework. Maybe "meta-framework" would be a better name to use. You might turn it into a cross-platform "rich" client using a front-end web framework like React or Svelte. Denzel, the person behind Tori, gave the following justifications for making a fresh desktop framework:
To make it your first choice whenever you want to create an app, Tori always aims to make the process easier. This summer, version 2.0 will be made available, adding support for iOS and Android to the current capabilities of building applications for Mac, Windows, and Linux.
It's fascinating to see Tori evolve. This framework enables you to construct using an existing pipeline (such as SvelteKit constructed using Vite). In the end, Tori can manage any stack created using JavaScript and HTML. It produces a native desktop client and operates on the development server. The following is how Denzel describes the development process.
1. Launch a development server using Svelte, Solid.js, React, View, and other tools.
2. Configure it to listen on port tauri.confmake up
3. Open the Tori creation window.
The coding of Tori is system-oriented. Developers communicate with Tori through a JavaScript API, despite the fact that it was created in Rust. Tori is a desirable method for creating native desktop applications for JavaScript programmers. Tori fulfills its promise of cross-platform JavaScript programming, in contrast to earlier frameworks that provided a comparable functionality.
Bun.js: an improved JavaScript runtime
In JavaScript, Bun.js is a rising star. It does, in fact, attack several fronts at once. The inspiration and objectives for the development of Bun.js, according to the framework's creator Jared Sumner, are as follows.
Our goal was to make the process of developing JavaScript quicker and easier. Ecosystem compatibility is essential in this case. Bun.js, which enables you to use it without having to change your code. fs, path, and process; the currently under development Native Node Module API (NAPI); There are numerous Node.js APIs available in Bun.js.
Bun.js is an alternative to supporting programs like Vite and Babel. Bun installation is being replaced by npm install, which is gaining popularity for its lightning-fast execution. The performance of Bun is the result of passing low-level Zig and C++ the majority of the JavaScript code.
Due to its quick processing time and all-in-one design, Bun.js is quickly gaining popularity as a back-end server-side JavaScript stack substitute. The programmers are also watching. It has about 40,000 ratings on GitHub as of right now.
Pixi.js: well performed graphics in JavaScript
Try sliding the pointer over the backdrop image at PixijsVisit.com to see the results. Even though it has a really elegant liquid effect, it doesn't seem to have much of an effect on performance. The secret, what is it? Pixi.js is employed in it!
To create interfaces using WebGL and HTML5 canvases, Pixi.js offers a high-level API. A robust and reliable library, Pixi.js has has existed for some time. Listed here are NPM packages. Pixi.js seems to have been created for in-browser gaming, while it may be used for graphics, visual effects, and some others that needs excellent performance graphics. Just bear in mind that 2D, not 3D, was used in its development. Pixie can be utilized to build a desktop platform when combined with Tori. Internet pixi playgroundYou could give it a try.
PM2: Application Monitoring
Instead of a JavaScript library, PM2 was really developed as a system-oriented tool using JavaScript. It is also a tool for monitoring applications that offers sophisticated process control and monitoring from the command line.
PM2 provides all of these features in a simplified package, in contrast to Unix's bg/fg, nohup, filter, and other monitoring and management tools. PM2 includes a multitude of reboot methods to address almost every situation. Examples include starting up according to CRON time, starting back up immediately after shutdown, and starting up when a specific need (such memory use, etc.) is satisfied. -show Restarting when files change is also enabled by flags. If you need a tool that can meet all of your Node.js process management needs, PM2 is one you should take into account.