Skip to content
jshacks.dev

Tag

beginner

36 posts

Flat illustration of an editor window full of code, with the TypeScript, Node.js, npm, Vite and JavaScript logos.
TypeScript

What Is TypeScript, and Why Use It?

TypeScript adds static types to JavaScript and checks them before your code runs. Learn what it is, what it catches, what it costs and when to use it.

6 min read
Flat illustration of jobs on a conveyor heading to a rack of workers, with the Node.js, RabbitMQ, Apache Kafka, Redis and npm logos.
Node.js

What Is Node.js, and What Is It Good At?

Node.js runs JavaScript outside the browser on the V8 engine. Learn what it is, how its event loop works, where it shines, and where another tool fits better.

6 min read
Flat illustration of items passing through a chain of collection methods, with the JavaScript, npm and Vite logos.
Functions

How to Use Generators to Build a Tokenizer

Build a tokenizer in JavaScript with a generator that yields numbers, identifiers, operators and strings one at a time, with positions and tests. Node.js 24.

7 min read