Stateful Blog

all
runme
marquee
testing
tutorials
exploration
best_practices
Building Cross Browser Web Extensions in 2023 - The Ultimate Guide
April 13, 2023
Building Cross Browser Web Extensions in 2023 - The Ultimate Guide
Here at Stateful we recently launched our Runme Web Extension that will help us to bring our Runme Notebook features into the browser. In this blog post we would like to share our learnings building a cross browser web extension.
Boosting your VS Code productivity using Emmet Expressions
March 27, 2023
Boosting your VS Code productivity using Emmet Expressions
One of the most underrated features VS Code provides is Emmet expressions, they are like the missing piece in terms of developer productivity, and as you will see, it can save you tons of time when writing code.
15 Hidden Tips And Tricks of VS Code That You Should Know
March 7, 2023
15 Hidden Tips And Tricks of VS Code That You Should Know
In this blog post, we'll explore 15 hidden tips and tricks of VS Code that you might not know about. Check them out!
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.
How the Deno Fresh Framework Will Make Your App Fast
October 26, 2022
How the Deno Fresh Framework Will Make Your App Fast
Learn how the server-side rendering of JS with Fresh speeds up the loading of app and makes it faster to develop.
 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.
Build Your First App with Deno
October 19, 2022
Build Your First App with Deno
Check out this get started guide for people new to deno and what they need to do to get up and running on their first deno-powered app.
How Deno's Third-Party Module System Can Keep Your App Secure
October 18, 2022
How Deno's Third-Party Module System Can Keep Your App Secure
Read this blog post and learn how the module system works and how it can benefit app developers with safe practices.
5 Changes Coming Soon to Deno
October 18, 2022
5 Changes Coming Soon to Deno
Read this blog post and learn the highlight 5 key improvements to Deno in releases in 2022.
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.
What Is Deno and Why You Should Try It
September 15, 2022
What Is Deno and Why You Should Try It
Learn the basics of what the Deno runtime environment is all about, and highlight the key features, benefits, and detractions.
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
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
Can Node.js Send Email? 3 Options and How to Add Them to Your App
July 19, 2022
Can Node.js Send Email? 3 Options and How to Add Them to Your App
Explore three ways to send email from Node.js applications & how to add them to your app. And code samples help you get started right away.
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.
Node.js WebSocket Client: 3 Ways to Implement One
July 7, 2022
Node.js WebSocket Client: 3 Ways to Implement One
This article will explore the best ways to implement a Node.js WebSocket client. Let's find out more by diving deep in this post.
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...
Is EdgeDB the Future?
June 23, 2022
Is EdgeDB the Future?
EdgeDB solves some design flaws of relational and No-SQL databases. Read the differences between EdgeDB, MongoDB, and GraphQL and the best use cases for EdgeDB.
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.
Using the GitHub API in Node.js: A Comprehensive Tutorial
May 26, 2022
Using the GitHub API in Node.js: A Comprehensive Tutorial
Learn how to use Github API in Node.js by building your own APIs for getting user, commits, and repository information from Github.
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
What’s Taking So Long? Task-Based Promise Performance Analysis in Node.js
April 22, 2022
What’s Taking So Long? Task-Based Promise Performance Analysis in Node.js
If we want to understand the architectural performance of our system, we need to first measure the steps taken to process a request.
Node 18 Release - Top New Features
April 19, 2022
Node 18 Release - Top New Features
node-18 is finally here, and Stateful has been following what’s included for months now. Read our summaries of the big features in this latest Node release.
Node.js 18 Introduces Prefix-Only Core Modules
April 16, 2022
Node.js 18 Introduces Prefix-Only Core Modules
Node.js 18 is introducing a new type of core module that can't be imported like all of the other core modules. These new modules are called prefix-only core modules, and you need to understand how they work.
Which Node.js OAuth Library Does Your App Need?
April 14, 2022
Which Node.js OAuth Library Does Your App Need?
Finding a Node.js OAuth Library for your app gets confusing really quickly. Read this post to learn about the more popular options and what they each do.
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.
Build a Plugin System With Node.js
April 11, 2022
Build a Plugin System With Node.js
Writing a plugin system enables your application to be extensible, modular, and customizable. Learn how to write your own from scratch using Node.js and TypeScript.
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.
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.
A Built-in Test Runner Is Coming to Node and Why You Should Care
March 24, 2022
A Built-in Test Runner Is Coming to Node and Why You Should Care
Node.js is adding a built-in testing module to Node core. It will come in the form of a new node test module that exposes an API for creating, and executing JavaScript tests.
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!
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)
Embed Grafana for Your Users in React
March 3, 2022
Embed Grafana for Your Users in React
Let's dive deep into the code that integrated Grafana with a React app, providing graphing, tracing, and visualization for their customers.
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.
Node.js Adds Support for Direct Registry-less HTTPS Imports
February 23, 2022
Node.js Adds Support for Direct Registry-less HTTPS Imports
Node is planning to introduce support for HTTPS imports in Node 18 - a feature that enables you to use urls to directly import modules over HTTPS into your project.
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.
fetch() In Node.js Core: Why You Should Care
February 2, 2022
fetch() In Node.js Core: Why You Should Care
Node 17.5 introduces support for the fetch() HTTP client, a new way to send requests to 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?
© 2023 Stateful Inc. All rights reserved.