19 Apr 2025, 17:00 UTC616 views16 reactionsread 9 October 2026 The last time I worked on a JavaScript code builder was five years ago while I was at Sberbank, where I was responsible for building system automation across various company products. During that time, I used Rollup to create library bundles because it was better suited for producing optimized outputs, while Webpack was used for final applications. Since then, I haven't engaged with this topic for quite some time.
T…
👍9🤔3🤯2❤1👎1
Signed Slava
21 Jan 2025, 01:30 UTC658 views11 reactionsread 9 October 2026 It appears that there's NO decent and actively maintained JavaScript library that can parse human-readable relative dates, like last month or two years ago (I beg you prove me wrong).
That makes me really sad. C'mon! This is JavaScript! The most popular programming language after all! 😧
The PHP (god forgive me) has a built-in function that can do this pretty powerfully for 25 years already!
Even Ruby seems to have…
😱4🤯3😁3👏1
Signed Slava
15 May 2024, 10:39 UTC≈2,440 views11 reactionsread 9 October 2026 IEEE 754 Standard for Floating Point Binary Arithmetic
A very good computer science video on the IEEE 754 Standard that is used in JavaScript (and mostly everywhere else) to represent number type values. Ever wondered how such values are stored in a computer memory? Then this is definitely worth watching!
Don't forget popcorn pen and paper!
▶️ Watch the video
P/S: be careful when using numbers in your scientific…
👍9🔥2
Signed Slava Fomin
5 May 2024, 09:14 UTC≈2,110 views14 reactionsread 9 October 2026 🎉 Node.js 22 is now available!
▫️ The V8 release 12.4 includes new features like WebAssembly Garbage Collection, Array.fromAsync, Set methods and iterator helpers.
▫️ V8's Maglev Compiler is now enabled by default on supported architecture. Maglev improves performance for short-lived CLI programs.
▫️ This release adds require() support for synchronous ESM graphs under the flag --experimental-require-module.
▫️ N…
👍7🔥5❤2
Signed Slava Fomin
25 Apr 2024, 08:44 UTC≈1,480 views9 reactionsread 9 October 2026 What's the difference between JavaScript engines and JavaScript runtimes?
Read an article by Nicholas C. Zakas.
👍7🫡2
Signed Slava Fomin
15 Apr 2024, 15:15 UTC≈1,890 views14 reactionsread 9 October 2026 Photo
DPDM
Just found a very cool node.js tool that can analyze your source code by following all the imports recursively and report all the found issues (like circular dependencies and broken imports).
I was using madge before, but DPDM looks more modern and convenient. And, of course, it fully supports TypeScript out of the box.
Install it with:
npm i -g dpdm
And run like this:
# Simple usage
dpdm ./src/index.ts
#…
👍9🔥3💩2
Signed Slava Fomin
6 Apr 2024, 08:19 UTC≈1,190 views10 reactionsread 9 October 2026 WebStorm IDE is now using TypeScript language service directly when resolving types. Previously they were using their own implementation of TypeScript parser (that is still partially used).
This should improve TypeScript compatibility, especially when using complex types and should improve IDE performance (reduce CPU usage when working with types).
You can read all the details in the official blog post:
Try the Fut…
👍7🔥2👏1
Signed Slava Fomin
9 Jan 2024, 18:21 UTC≈1,880 views16 reactionsread 9 October 2026 Don't use spread operator with byte arrays
When working with byte arrays in JavaScript I often see a code like this:
const bytes1 = randomBytes(500);
const bytes2 = randomBytes(300);
const bytes3 = randomBytes(200);
const result = new Uint8Array([
...bytes1,
...bytes2,
...bytes3,
]);
It looks pretty harmless on the surface and many people do this without a second thought.
However, my recent benchmark shows…
👍12❤2👏2
Signed Slava Fomin
30 Nov 2023, 16:58 UTC≈1,270 views11 reactionsread 9 October 2026 In case you didn't know, there is a node.cool domain name, that you can type in your browser to start looking for some cool library to use with your Node.js project.
Of course this list is incomplete and opinionated, but nevertheless a good place to start 😉
#node #package
👍11
Signed Slava Fomin
27 Nov 2023, 17:04 UTC≈1,050 views10 reactionsread 9 October 2026 I've created a custom function that implements this new proposal. Unfortunately core-js doesn't support TypeScript very well, so I've had to implement it on my own. Feel free to use it if you like.
👍8🔥2
Signed Slava Fomin
18 Jul 2023, 14:24 UTC≈1,340 views16 reactionsread 9 October 2026 Photo
If you've ever found yourself in a situation where you needed to resolve a newly created promise from the outside and had to do some nasty hacking, then this EcmaScript proposal (proposal-promise-with-resolvers) will definitely make your life happier.
The proposal has reached a Stage 3 last week, this means that the API should be stable and is ready for a real-life testing and evaluation.
The implementation is alre…
👍11🔥5
Signed Slava Fomin
9 Apr 2023, 17:45 UTC863 views13 reactionsread 9 October 2026 Photo
Using ESLint to correct auto-import extension
If you were following my ESM guide and are using the ESM modules in your projects, you could probably experience a problem with import filename extensions, especially if you are using the WebStorm IDE (or any other IDE from the IDEA family).
In my case, the WebStorm auto-import feature works incorrectly by omitting the .js extension, which is required if you use the ESM…
👍8🔥4👏1
Signed Slava Fomin
Showing the 12 most recent of 19 posts we hold for @js_is_not_java. View and reaction counts are the latest single reading for each post, not a live figure, and a recent post is still accumulating both. A view count marked ≈ was rounded by Telegram before we ever saw it — t.me prints views in full below 1,000 and to three significant figures above, so ≈1,200,000 means somewhere between 1,150,000 and 1,249,999. Unmarked counts are exact. Text is reproduced from the public post preview and truncated for length.