DEV Community

Chris Cook profile picture

Chris Cook

I post things so I don’t forget them

Work

Co-Founder at Flyweight.io

Four Year Club
Three Year Club
Writing Debut
GitHub + DEV 2023 Hackathon Runner Up
Two Year Club
4 Week Community Wellness Streak
4 Week Writing Streak
2 Week Community Wellness Streak
1 Week Community Wellness Streak
One Year Club
Node
AI SDK Streaming Text from Lambda

AI SDK Streaming Text from Lambda

Image Image Image 19
Comments
3 min read

Want to connect with Chris Cook?

Create an account to connect with Chris Cook. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Lambdalet.AI: Reinventing the bookmarklet

Lambdalet.AI: Reinventing the bookmarklet

Image Image Image 24
Comments 5
5 min read
Flatten Array of Arrays using JSONata for AWS Step Functions

Flatten Array of Arrays using JSONata for AWS Step Functions

Image Image Image 17
Comments 1
2 min read
TypeScript CLI: Automate Build and Deploy Scripts

TypeScript CLI: Automate Build and Deploy Scripts

Image Image Image 66
Comments 6
2 min read
Unique Symbols: How to Use Symbols for Type Safety

Unique Symbols: How to Use Symbols for Type Safety

Image Image Image 20
Comments 3
3 min read
Buffer Logs and Flush Automatically on Error with Powertools for Lambda

Buffer Logs and Flush Automatically on Error with Powertools for Lambda

Image Image Image 21
Comments 1
4 min read
How To Remove Dynamic Values From Snapshot With Serializers

How To Remove Dynamic Values From Snapshot With Serializers

Image Image Image 10
Comments
2 min read
Creating a TypeScript CLI for Your Monorepo

Creating a TypeScript CLI for Your Monorepo

Image Image Image 77
Comments 13
1 min read
Middleware for Step Functions: Automatically Store and Load Payloads from Amazon S3

Middleware for Step Functions: Automatically Store and Load Payloads from Amazon S3

Image Image Image 24
Comments 4
11 min read
What's a Valuable Skill You Should Have?

What's a Valuable Skill You Should Have?

Image 3
Comments 5
1 min read
Collect Logs and Metrics from non-AWS Server using CloudWatch Agent

Collect Logs and Metrics from non-AWS Server using CloudWatch Agent

Image Image Image 12
Comments
10 min read
Optional vs. Undefined: How To Check for Optional Properties

Optional vs. Undefined: How To Check for Optional Properties

Image Image Image 13
Comments
2 min read
Highlights: Extract Highlighted Text from Images using OCR and CV in your Browser

Highlights: Extract Highlighted Text from Images using OCR and CV in your Browser

Image Image Image 15
Comments
2 min read
The Fastest Way to Download from Amazon S3 (using Raycast)

The Fastest Way to Download from Amazon S3 (using Raycast)

Image Image Image 11
Comments 1
3 min read
Excluding Dependencies: Bundling for Node and the Browser

Excluding Dependencies: Bundling for Node and the Browser

Image Image Image 7
Comments
2 min read
The Puppeteer Language Experiment

The Puppeteer Language Experiment

Image Image Image 5
Comments
5 min read
A Simple Way to Sign AWS Requests with Signature V4

A Simple Way to Sign AWS Requests with Signature V4

Image Image Image 19
Comments 2
3 min read
Format and Parse Amazon S3 URL

Format and Parse Amazon S3 URL

Image Image Image 11
Comments 1
5 min read
Solving the Puzzle: Lambda Function URLs with IAM Authorization and CloudFront Custom Domains

Solving the Puzzle: Lambda Function URLs with IAM Authorization and CloudFront Custom Domains

Image Image Image 16
Comments 3
5 min read
TypeScript: The Unexpected Magic of Generics

TypeScript: The Unexpected Magic of Generics

Image Image Image 6
Comments 2
3 min read
Websites with AWS: Hosting with Private S3 Bucket

Websites with AWS: Hosting with Private S3 Bucket

Image Image Image 28
Comments 4
6 min read
Running on Lambda: Serverless Reader View with Chrome and Readability

Running on Lambda: Serverless Reader View with Chrome and Readability

Image Image Image 22
Comments 5
6 min read
Websites with AWS: Single Page Applications

Websites with AWS: Single Page Applications

Image Image Image 45
Comments 13
4 min read
Serverless Plugin: Exporting Environment Variables and Stack Outputs

Serverless Plugin: Exporting Environment Variables and Stack Outputs

Image Image Image 12
Comments 1
3 min read
Websites with AWS: Hosting, HTTPS and Custom Domain

Websites with AWS: Hosting, HTTPS and Custom Domain

Image Image Image 29
Comments 3
9 min read
Assertions: How to Assert Conditions and Types

Assertions: How to Assert Conditions and Types

Image Image Image 31
Comments 1
3 min read
How To Spy on Classes

How To Spy on Classes

Image Image Image 30
Comments 3
2 min read
Extracting Class Methods: How To Derive an Interface From a Class

Extracting Class Methods: How To Derive an Interface From a Class

Image Image Image 24
Comments 1
3 min read
Template Literal Types: How To Type Strings

Template Literal Types: How To Type Strings

Image Image Image 19
Comments 3
2 min read
Stringify and Parse Errors in JavaScript

Stringify and Parse Errors in JavaScript

Image Image Image 27
Comments 2
2 min read
How To Use expect.objectContaining With Null and Undefined

How To Use expect.objectContaining With Null and Undefined

Image Image Image 16
Comments
2 min read
AdaGPT: My Learnings While Building a GitHub Action

AdaGPT: My Learnings While Building a GitHub Action

Image Image Image 18
Comments 1
5 min read
AdaGPT: AI support for Issues and Pull Requests right at your fingertips!

AdaGPT: AI support for Issues and Pull Requests right at your fingertips!

Image Image Image 34
Comments 7
2 min read
How To Debug a Single Test Case

How To Debug a Single Test Case

Image Image Image 14
Comments
2 min read
Type Negation: How to Forbid Certain Properties

Type Negation: How to Forbid Certain Properties

Image Image Image 19
Comments 4
3 min read
Understanding ID Token vs. Access Token in AWS Amplify

Understanding ID Token vs. Access Token in AWS Amplify

Image Image Image 18
Comments 6
3 min read
Type Inference: How to Use Conditional Types and Generics

Type Inference: How to Use Conditional Types and Generics

Image Image Image 22
Comments
3 min read
Conditional Return Types: How to Return the Right Type

Conditional Return Types: How to Return the Right Type

Image Image Image 45
Comments 16
2 min read
Convert HTML To Notion Blocks

Convert HTML To Notion Blocks

Image Image Image 18
Comments 3
4 min read
How To Mock Only One Function From Module

How To Mock Only One Function From Module

Image 2
Comments
2 min read
Read All Files of Directory and Subdirectories with Recursive Generators in JavaScript

Read All Files of Directory and Subdirectories with Recursive Generators in JavaScript

Image Image Image 18
Comments 5
2 min read
Trigger GitHub Workflow for Comments on Pull Request

Trigger GitHub Workflow for Comments on Pull Request

Image 30
Comments 10
5 min read
Symmetric Difference of Arrays in JavaScript

Symmetric Difference of Arrays in JavaScript

Image Image 5
Comments 1
2 min read
Function Overloading: How to Handle Multiple Function Signatures

Function Overloading: How to Handle Multiple Function Signatures

Image Image Image 22
Comments 9
2 min read
Automatically Transcribe YouTube Videos with OpenAI Whisper

Automatically Transcribe YouTube Videos with OpenAI Whisper

Image 42
Comments 2
3 min read
Match Nodes with One or More Labels

Match Nodes with One or More Labels

Image 3
Comments
2 min read
New Version of git-pull-run

New Version of git-pull-run

Image 2
Comments
2 min read
How To Iterate Over C String

How To Iterate Over C String

Image 26
Comments 2
2 min read
Array Filter: How to Filter Values With Correct Types

Array Filter: How to Filter Values With Correct Types

Image Image Image 23
Comments 1
1 min read
How To Run and Debug JavaScript and TypeScript in VSCode

How To Run and Debug JavaScript and TypeScript in VSCode

Image 25
Comments 7
3 min read
Release NPM Package With Automatic Versioning

Release NPM Package With Automatic Versioning

Image Image 11
Comments 3
2 min read
Print Number Pattern Using Loops

Print Number Pattern Using Loops

Image Image 5
Comments
2 min read
AWS Service Principals for IAM

AWS Service Principals for IAM

Image Image 16
Comments 2
1 min read
React useState with History

React useState with History

Image Image 30
Comments 1
2 min read
Do you know about the Maker's Schedule?

Do you know about the Maker's Schedule?

Image Image 11
Comments
1 min read
How To Implement Custom Matchers

How To Implement Custom Matchers

Image Image 18
Comments 3
5 min read
How To Debug Any React App in Seconds

How To Debug Any React App in Seconds

Image Image 13
Comments
1 min read
EventBridge Rules to Invoke Lambda and StepFunction

EventBridge Rules to Invoke Lambda and StepFunction

Image Image 18
Comments
3 min read
Should Technical Managers Be Able To Code?

Should Technical Managers Be Able To Code?

Image Image 20
Comments 27
1 min read
Switch-cased Error Handling in JavaScript

Switch-cased Error Handling in JavaScript

Image Image 24
Comments 2
1 min read
loading...