∞
Setting a Request ID in SvelteKit
I have been working on a full-stack application in SvelteKit recently. As the complexity of the application grew, it started getting harder to understand what was happening during each page render. I knew I needed something to help track down what was happening in my application during each request. The solution to my problem was a familiar one: request IDs!
∞
Writing a local @types Package
I recently worked on a Node.js project in TypeScript that made use of my usual suite of tools:
ava with ts-node for testing eslint for linting Good ol’ tsc to compile my TypeScript files into JavaScript This all worked great when there was little-to-no tsconfig.json customization present, but I ran into a situation that caused me some trouble.
A third-party package with an npm scope (meaning the name looks something like @organization/package-name) did not come with type definitions, nor were they available from Definitely Typed.