JavaScript
32K subscribers
1.03K photos
10 videos
33 files
714 links
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript ๐Ÿš€ Don't miss our Quizzes!

Let's chat: @nairihar
Download Telegram
๐Ÿ‘16๐Ÿค”15โค7๐Ÿ”ฅ2
๐ŸŽ‰ Happy Programmers' Day

256th day of this year
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐Ÿ‘42โค27๐Ÿคฃ14๐Ÿ”ฅ10๐Ÿค”5
CHALLENGE

function* gen() {
yield* [1, 2, 3].map(x => x * 2);
}

const iterator = gen();
console.log(iterator.next().value);
console.log(iterator.next().value);
console.log(iterator.next().value);
console.log(iterator.next().value);
๐Ÿ‘5
โค10๐Ÿ‘7๐Ÿ”ฅ2๐Ÿคฃ2
๐Ÿ‘ Jimp 1.6: Image Processing in Node without Native Dependencies

Most image libraries, such as the powerful Sharp, lean on external libraries to do the heavy lifting, but Jimp can handle BMPs, GIFs, JPEGs, PNGs, and TIFFs on its own for blurring, color adjustments, resizing, rotation, etc. GitHub repo.

jimp Contributors
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”ฅ10๐Ÿ‘6โค1๐Ÿคฉ1
CHALLENGE

console.log(MyClass);
class MyClass {
constructor() {
this.value = 42;
}
}
โค2๐Ÿ‘1
๐Ÿ‘13๐Ÿ”ฅ3โค2
๐Ÿ‘€ Experimental TypeScript support via strip types

Node.js introduces the --experimental-strip-types flag for initial TypeScript support. This feature strips type annotations from .ts files, allowing them to run without transforming TypeScript-specific syntax. Current limitations include:

- Supports only inline type annotations, not features like enums or namespaces.

- Requires explicit file extensions in import and require statements.

- Enforces the use of the type keyword for type imports to avoid runtime errors.

- Disabled for TypeScript in node_modules by default.

Rafael Gonzaga
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐Ÿ‘6๐Ÿ”ฅ4โค2๐Ÿคฉ1
CHALLENGE

async function foo() {
console.log('Start');
await Promise.resolve().then(() => {
console.log('Inside Promise');
});
console.log('End');
}

foo();
console.log('Outside');
๐Ÿ‘8๐Ÿค”5โค3๐Ÿ”ฅ3
๐Ÿ“Œ The Web's Clipboard, and How It Stores Data of Different Types

An interesting exploration of how things currently work with copy and pasting on the web, how different data types are treated, and what the Web Custom Formats proposal is putting forward.

Alex Harri Jรณnsson
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐Ÿ‘12โค4๐Ÿ”ฅ2๐Ÿคฉ1
real-nextjs-scalable-performance.pdf
8.9 MB
๐Ÿ“Œ Real-World Next.js

Build scalable, high-performance, and modern web applications using Next.js, the React framework for production

Michele Riva
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”ฅ7โค4๐Ÿ‘3
๐Ÿ‘€ ESLint v9.10.0 released

We just pushed ESLint v9.10.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

- Types now included

eslint
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐Ÿ‘11๐Ÿ”ฅ3โค1
nodejs_web_development_fifth_edition.pdf
7.1 MB
๐Ÿ“Œ Node.js Web Development Fifth Edition

Server-side web development made easy with Node 14 using practical examples

David Herron
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐Ÿ‘8โค4๐Ÿ”ฅ3
โœŒ๏ธ The State of ES5 on the Web

Some of the earlier JavaScript build tools focused on allowing developers to write modern JavaScript code that could still run on the browsers of the time by compiling code down to ES5. Time has moved on, but have the tools or popular libraries? Philip investigates, and shares some recommendations.

Philip Walton
Please open Telegram to view this post
VIEW IN TELEGRAM
4๐Ÿ‘8โค1๐Ÿ”ฅ1
Professional_JavaScript_for_Web_Developers_4th_Edition.pdf
19.5 MB
๐Ÿ“Œ PROFESSIONAL JAVASCRIPTยฎ FOR WEB DEVELOPERS

A comprehensive guide to mastering JavaScript for building dynamic, modern web applications.

Matt Frisbie
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐Ÿ‘18๐Ÿ”ฅ5โค4
Fullstack React: The Complete Guide to ReactJS and Friends

Stop wasting your time learning React with incomplete and confusing tutorials. There are so many incorrect, confusing, and out-of-date blog articles One tutorial says one thing and another says something completely different. ...

Anthony Accomazzo, Nate Murray, Ari Lerner
2โค13๐Ÿ”ฅ3๐Ÿ‘2
๐ŸŒฒ nano-spawn: Tiny Execa-Inspired Process Execution

If youโ€™re familiar with Sindreโ€™s powerful Execa for running commands from a Node app in a robust manner, nano-spawn offers its core functionality in a smaller package and remains a better option than child_process in any case.

Sindre Sorhus and ehmicky
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐Ÿ‘4โค2๐Ÿ”ฅ1
rest-api-development-with-node-js.pdf
6.4 MB
๐Ÿ“Œ REST API Development with Node.js

Manage and Understand the Full Capabilities
of Successful REST Development

Fernando Doglio
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐Ÿ‘15โค4๐Ÿ”ฅ3
Eloquent_JavaScript.pdf
2.3 MB
๐Ÿ“Œ ELOQUENT JAVASCRIPT

A Modern Introduction to Programming

Marijn Haverbeke
Please open Telegram to view this post
VIEW IN TELEGRAM
โค11๐Ÿ‘6๐Ÿค”2