literat
banner
literat.dev
literat
@literat.dev
FullStack Pirate 🏴‍☠️ ❯ JS ⚛️ Node 🐘 ❯ Building Frontend Community @ http://almacareer.com ❯ Whitewater Kayaker ❯ Scout member ⚜️ 🏕️ ❯ ♥️ 📸 ❯ 📝 http://literat.dev
🔐 npm supply chain attacks hit 180+ packages this year. Here's what works to protect your projects:

Quick wins:
✓ Disable postinstall scripts
✓ Use cooldown period
✓ Immutable lockfiles
✓ 2FA on npm

Full security guide with code examples 👇
literat.dev/blog/2025-12...

#DevSec #JavaScript #npm
Safe navigation through upgrades in npm package minefield
Learn essential security practices to protect your projects from npm supply chain attacks. Discover how to safely manage dependencies, prevent malicious code execution, and strengthen your development...
literat.dev
December 2, 2025 at 9:39 AM
Gave a talk at Frontendisti meetup in Prague (Café Lajka) on recent npm supply chain attacks — how they work and how to defend against them.

You can check the slides here:
talk-npm-security-best-practice.netlify.app

#JavaScript #Security #npm #WebDev #SupplyChainSecurity
November 14, 2025 at 2:50 PM
#TIL The “You Don’t Need” series is a great reminder of how far JavaScript has come.

Example: you don’t need Lodash anymore.
Modern JS has built-ins for most of it, and es-toolkit.dev gives you the rest - smaller, faster, typed, maintained.

📚 github.com/you-dont-need

#JavaScript #WebDev #Frontend
You Don't Need
People choose popular projects, often not because it applies to their problems. - You Don't Need
github.com
November 5, 2025 at 1:41 PM
The Design Tokens spec just went stable 🎉

A huge step for design systems:
• real theming support
• modern color spaces (Display P3, OKLCH)
• cross-tool + cross-platform format

Feels like the “CSS moment” for tokens.

👉 www.w3.org/community/de...

#DesignTokens #DesignSystems #WebDev #UXEngineering
Design Tokens specification reaches first stable version | Design Tokens Community Group
www.w3.org
November 4, 2025 at 4:18 PM
Hey, want to discover bright new HTML features in one place?

Just fill out the recently opened State of HTML 2025 survey. 👉 survey.devographics.com/en-US/survey...

What have I discovered? 🧵

#html #web #development #survey
State of HTML 2025
Take the State of HTML survey
survey.devographics.com
July 29, 2025 at 12:38 PM
#eslint and #prettier users, beware! There has been a phishing attack on a few packages. 👇

👉 socket.dev/blog/npm-phi...
👉 thehackernews.com/2025/07/malw...
👉 github.com/advisories/G...

#javascript #npm #developers #web
socket.dev
July 20, 2025 at 7:42 PM
💡 TIL: Using `tsc --traceResolution` is very handy to get information about why the heck TypeScript is raising an error about the file that should not be part of the library, but it is included during the type check 😅

#typescript #error #web #dev #todayilearn #til
July 7, 2025 at 11:28 AM
Interested in future results of the new State of AI in web development. In spite of using AI tooling for my day-to-day job, I think it will take a long journey to help me with all the obstacles during #design #development #deployment 🤔

So take the survey :-)

survey.devographics.com/en-US/survey...
State of AI 2025
Take the State of AI survey
survey.devographics.com
February 25, 2025 at 4:18 PM
Reposted by literat
Oracle justified its JavaScript trademark by claiming Node.js — now it wants that ignored
#FreeJavaScript

deno.com/blog/deno-v-...
Oracle justified its JavaScript trademark with Node.js—now it wants that ignored
Oracle filed a motion to dismiss in response to Deno’s petition to cancel its “JavaScript” trademark. But instead of addressing the real issue—that JavaScript is an open standard with multiple indepen...
deno.com
February 4, 2025 at 10:14 PM
Reposted by literat
This is SUCH a good video from CJ, and the most impressive part is that he made all these video graphics in the browser 🤯

www.youtube.com/watch?v=NBDn...
January 28, 2025 at 1:57 PM
Dive into my latest article and take control of your npm scripts!

Master best practices:

🛠️ consistent naming
🛠️ organized namespaces
🛠️ tools like npm-run-all
🛠️ clear lifecycle hooks

#webdev #coding #bestpractice #npm #javascript

literat.dev/blog/2024-12...
Mastering npm scripts: Best practices in sustainable naming and organizing of your scripts
The chaotic organization of npm scripts can slow down project development considerably. I will present a system for efficient naming and organization of npm scripts. You will learn how to use naming c...
literat.dev
January 6, 2025 at 8:53 PM
Reposted by literat
my favourite and most underrated javascript feature is the void operator

new killer usecase: using it for react 19 refs to prevent returning a non-function

void operator - JavaScript | MDN
The void operator evaluates the given expression and then returns undefined.
developer.mozilla.org
December 6, 2024 at 11:56 PM