Latest in JavaScript, TypeScript & Node

JavaScript, TypeScript & Node at a glance

The 10 latest articles on JavaScript, TypeScript & Node, all published Nov 26. Most come from DEV Community (10).

Organizations: JSON (2)

Places: ID (3)

dev.to
630 words

Your Big IDs Are Losing Digits. JSON.parse Can Read the Source Now

Two orders walk into a parser Your API returns two orders. They have different IDs. JavaScript disagrees: const body = `{ "orders": [ { "id": 1859162453872926720, "total": 19.90, "items": 3 }, { "id": 1859162453872926721, "total": 5.00, "items": 1 } ] }`; const naive = JSON.parse(body); console.log(naive.orders.map(o => o.id)); // [ 1859162453872926700, 1859162453872926700 ] console.log(naive.

dev.to
966 words

I Know It's You, But I Can't Prove It

#jwt #security #backend #webdev Decoding tokens reveals secret messages Imagine you have a list of usernames and passwords. Then a user logs in to your web application. You check and verify that they are indeed on the list. So you…

dev.to
1,167 words

Calling a model is a function call

#ai #rag #llm #beginners The client in my series is one fetch to the Messages API, no SDK, in a file called claude.ts, the only place the repository talks to the model. Its first question, what HTTP status 304 means,…

JavaScript, TypeScript & Node

JS runtimes, TypeScript, tooling, and the modern web/server JS ecosystem.

  • 10 Tracked terms
  • Last 30 days Feed window

What this topic collects on

An article joins this feed when it matches these terms. Each one is also a search of its own.