Option<T> and Result<T, E> in TypeScript: The Missing Error Handling Primitives
How @rslike/std models absence and failure the Rust way

Search for a command to run...
Articles tagged with #javascript
How @rslike/std models absence and failure the Rust way

AbortController is one of the most underused tools in the JavaScript ecosystem -- especially in testing. If you are writing Playwright tests that make network requests, you should be using abort signals. Here is how and why. The Core Concept AbortCon...

The latest Release 0.9 of the Schema Validation Toolkit - ajv-ts brings a suite of enhancements to improve developer productivity and ensure better validation accuracy. Whether you're building complex data models or just handling basic input, these u...

Note: The library is not an official ajv extension What's up, guys! Today I will show you a massive product update for the library inspired by zod - ajv-ts. Release link - here Why have there been no updates for a long time? Well, the previous relea...
What's new this release makes a massive update. Just look at these changes! std. Standard library. All changes apply to Option and Result objects. Symbols for Option and Result objects Implements Symbol.iterator, Symbol.asyncIterator, Symbol.search,...