Stateful Blog

all
runme
marquee
testing
tutorials
exploration
best_practices
Runme - Road to Testable Documentation
December 19, 2022
Runme - Road to Testable Documentation
Treat docs like code! Runme’s grand vision is to provide a flexible toolkit to deliver testable docs. Learn about the v1.0 roadmap and how Runme is planning to achieve documentation testability.
But it works on MY machine! Debugging GitHub Workflows with VS Code.
November 15, 2022
But it works on MY machine! Debugging GitHub Workflows with VS Code.
Plagued by a test that passes locally but fails when run in CI? Learn how you can debug such flaky tests by attaching to a running Github workflow.
Koa in the Cloud
October 27, 2022
Koa in the Cloud
In this post you can learn how to run Koa on AWS Lambda and the differences with Express.
 5 Deno Runtime Projects You Should Try
October 26, 2022
5 Deno Runtime Projects You Should Try
Highlights a number of projects out there using Deno that developers should watch and try.
What Is Deno Deploy and How It Makes Distributed Apps Easily
October 21, 2022
What Is Deno Deploy and How It Makes Distributed Apps Easily
Learn how using Deno allows people to quickly script distributed web apps.
Which VS Code Extensions are the most useful and perhaps entertaining?
October 20, 2022
Which VS Code Extensions are the most useful and perhaps entertaining?
The Stateful team discusses their personal favorite and most entertaining VS Code extensions. We want to explore some of the extensions we found helpful in our day-to-day work and some we think are fun / entertaining.
Run your README.md in VS Code
October 19, 2022
Run your README.md in VS Code
Run your README.md as an interactive notebook. Zero changes required to the underlying markdown.
Deno vs. Node.js — Five Major Differences You Should Consider
October 18, 2022
Deno vs. Node.js — Five Major Differences You Should Consider
Highlight key differences between Deno and Node.js and what developers should consider when making a decision on them.
Monkey Patching http.request for Fun and Profit
October 3, 2022
Monkey Patching http.request for Fun and Profit
Let’s explore how we can monkey patch the Node.js `http` library (and, by extrapolation, `https` as well) to annotate every request made from the environment.
How to Implement GitHub OAuth in Your Node.js App
September 1, 2022
How to Implement GitHub OAuth in Your Node.js App
OAuth is a standard protocol used for authorization. This post will discuss implementing GitHub OAuth in your Node.js app.
Your VS Code Extension on Your Favorite IDE’s Homescreen
August 23, 2022
Your VS Code Extension on Your Favorite IDE’s Homescreen
This is a tutorial that will transform a VS Code extension into a custom marquee widget
Run README.md in your terminal
August 3, 2022
Run README.md in your terminal
Easily run your README commands from the CLI using the rdme tool. Check it out.
Credential Management: What It Is, Best Practices, and Tools
August 1, 2022
Credential Management: What It Is, Best Practices, and Tools
I'll walk you through the subject of credential management, what it is, and why it's essential to guarantee a robust level of security.
How to Generate and Validate an OAuth 2.0 State Parameter with Node.js
August 1, 2022
How to Generate and Validate an OAuth 2.0 State Parameter with Node.js
OAuth 2.0 state parameters help guard against CSRF attacks, maintain application state, and preserve user sessions. Learn how to generate and validate OAuth 2.0 state parameters.
Authoring npm Packages with Monorepos
July 27, 2022
Authoring npm Packages with Monorepos
In this tutorial, you will demonstrate how to publish and create multiple npm packages using a monorepo made with Lerna.
3 Common Use Cases for Fastify
July 26, 2022
3 Common Use Cases for Fastify
In this guide, you will cover 3 use cases in which Fastify shines with code examples.
A Complete Guide to VS Code Extension Testing
July 26, 2022
A Complete Guide to VS Code Extension Testing
Most VS Code extensions in the marketplace have minimal testing, if any at all. In this blog post you will learn how to test your VS Code extension from end to end using WebdriverIO.
Type Annotations in JavaScript
July 22, 2022
Type Annotations in JavaScript
Learn about the TC39 proposal of adding static typing to JavaScript
What Are Refresh Tokens and How Can They Boost Your Security?
July 12, 2022
What Are Refresh Tokens and How Can They Boost Your Security?
In this guide, you will give a more in-depth explanation of what refresh tokens are, how they can improve software security, and the best practices for creating and handling them.
Token Validation: What It Is and How to Set It Up
July 12, 2022
Token Validation: What It Is and How to Set It Up
Access tokens & token validation are popular and tested mechanisms for securing communication between your user and your service. Learn more!
Projects Coming to Life Inside of VS Code – Marquee’s New Project Mode
July 12, 2022
Projects Coming to Life Inside of VS Code – Marquee’s New Project Mode
Effectively working on software projects requires extensive contextual knowledge, and finding the information you need in the moment is a constant challenge. This is only made more difficult as you switch between projects, repositories and private to open source. So why don’t we have this all condensed in a single view, right within our IDE? In this blog posts we present the new Marquee Project View that brings a project centric dashboard into VS Code.
Scheduling Requests
June 27, 2022
Scheduling Requests
Any modern 3rd party HTTP API that sees significant traffic will have some form of rate limiting implemented. The server might rate limit on the number of concurrent connections...
How to Process Large Files with Node.js
June 3, 2022
How to Process Large Files with Node.js
Processing large files takes a lot of memory and can severely impact the performance of your Node.js application. Using Node.js streams, you can optimize how large files are handled.
Exploring the Japa Node.js Test Runner
June 3, 2022
Exploring the Japa Node.js Test Runner
Japa is a fast, small, and simple API-first Node.js test runner with a rich feature set. Learn what Japa is and break down its feature set with code examples.
Is Remix the Next-Gen React Framework You Should Use?
May 27, 2022
Is Remix the Next-Gen React Framework You Should Use?
Remix JS is a full stack web framework that lets you build fast, slick, and resilient websites. It is one of the newer web frameworks built on React.
Create Your First Node.js GitHub Action: a How-To Guide
May 19, 2022
Create Your First Node.js GitHub Action: a How-To Guide
In this post, you'll learn what GitHub Actions are and how to create your first GitHub Action for your Node.js application.
GitHub Search API: An Introduction With Examples
May 12, 2022
GitHub Search API: An Introduction With Examples
Learn how to construct search queries to use GitHub Search API to search users, repositories, commits, and code messages.
How to Use the GitHub API to List Repositories
May 7, 2022
How to Use the GitHub API to List Repositories
GitHub offers developers a powerful API. In this post, learn how to use GitHub API to list repositories in several different ways.
How to Use the GitHub Pulls API to Manage Pull Requests
May 6, 2022
How to Use the GitHub Pulls API to Manage Pull Requests
The GitHub API is powerful, but getting started might be frustrating. In this post, we'll walk you through a GitHub API pull request.
Managing OAuth User Credentials in Your Node.js App
May 6, 2022
Managing OAuth User Credentials in Your Node.js App
Learn how to implement and manage the OAuth Authorization Code Flow in your Node.js / Express app
OAuth 2.0 Refresh Token Best Practices
April 13, 2022
OAuth 2.0 Refresh Token Best Practices
Learn the best practices you should consider for managing OAuth 2.0 refresh tokens and access to your app.
Plugin Architecture Overview Between Express, Fastify and NestJS
April 8, 2022
Plugin Architecture Overview Between Express, Fastify and NestJS
Learn how the most popular Node.js web frameworks approach extensibility and modularity throughout different plugin patterns.
The GitHub Action You Need to Publish VS Code Extensions
March 29, 2022
The GitHub Action You Need to Publish VS Code Extensions
In this blog post we’d like to share how Stateful releases its Marquee extension to the VS Code Marketplace and OpenVSX Registry through GitHub Actions.
Running Multi-Tenant Grafana, Tempo, and Loki on AWS at Scale
March 25, 2022
Running Multi-Tenant Grafana, Tempo, and Loki on AWS at Scale
This blog will detail how we run the infrastructure for the Grafana Loki Tempo (GLT) stack at Stateful.
Signing JWT Securely From Your Browser Using WebCrypto
March 23, 2022
Signing JWT Securely From Your Browser Using WebCrypto
In this post, we will explore the basic mechanics of Web Cryptography API RSA key generation, creating PEM certificates for use with SSH or other environments, and how to use those keys to sign JWTs for web authentication.
Discontinuous Semver: Versioning in the Land of Monolithics
March 22, 2022
Discontinuous Semver: Versioning in the Land of Monolithics
Discontinuous, in that not every package has a unique version at every numerical increment. And semver in that we still hold true to the core Semantic Versioning concepts major, read to learn more!
Five Things Not to Do When Building Your SaaS CLI
March 11, 2022
Five Things Not to Do When Building Your SaaS CLI
If you decide to make a command line tool for your SaaS, great! Here’s a list of things not to do!
Building an Emergency Circuit Breaker with AWS WAF
March 10, 2022
Building an Emergency Circuit Breaker with AWS WAF
This blog will explore an easier way to deal with may requests by creating a big red button using AWS WAF (web application firewall)
GitHub OAuth Apps vs GitHub Apps
February 24, 2022
GitHub OAuth Apps vs GitHub Apps
GitHub Apps are the way to integrate with GitHub. It supports OAuth Apps and GitHub Apps. Understanding what app you should create is critical for your integration capabilities.
Blue Green Deployments on AWS
February 16, 2022
Blue Green Deployments on AWS
Blue-Green deployments is a deployment strategy that avoids downtime during application deployments and can easily roll back if a deployment fails.
Why Private Npm Registries Matter and How Verdaccio Makes It Easy
February 10, 2022
Why Private Npm Registries Matter and How Verdaccio Makes It Easy
You should consider setting up a private registry to protect against unforeseen circumstances and enhance collaboration across your team.
Simple Authorization Model for HTTP APIs
February 4, 2022
Simple Authorization Model for HTTP APIs
A simple yet flexible authorization model for your HTTP APIs.
Hello Marquee v2.0 - The VS Code Homescreen Extension Is Now Open Source
February 1, 2022
Hello Marquee v2.0 - The VS Code Homescreen Extension Is Now Open Source
We are excited to release a major update to our popular Marquee VSCode Extension. Most notably, we’ve decided to completely open source the project to include the community and encourage feedback and other contributions through public channels on GitHub.
Mocking With Undici Like a Pro
January 13, 2022
Mocking With Undici Like a Pro
This post goes into detail into Undici's mocking support, which enables you to write fast and reliable unit tests.
Generate WebAssembly With AssemblyScript: a TypeScript-like Language
January 4, 2022
Generate WebAssembly With AssemblyScript: a TypeScript-like Language
Learn how to write WebAssembly code with the familiarity of a TypeScript-like language, create low-level code with the existing web ecosystem you already know.
Sync App State across JS Sandboxes without Stumbling over postMessage & onMessage Playing “Telephone”
December 23, 2021
Sync App State across JS Sandboxes without Stumbling over postMessage & onMessage Playing “Telephone”
Learn how to use the new JS/TS module "Tangle" to implement seamless event handling and app state sync across multiple JavaScript sandboxes without getting caught up in postMessage & onMessage synchronization dilemmas.
Want to see more?
© 2021-2022 Stateful Inc. All rights reserved.