
-
Looking at the progress Node.js has made in the past few years makes me think that many popular and widely used npm packages might soon be unnecessary or even deprecated. Most Node.js developers are familiar with packages like dotenv for working with .env files, node-fetch for making HTTP requests, and jest for testing.
-
SurveyJS
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
-
Since version 20, the Node test runner is available as a stable module. This means you can safely use it for testing. The syntax that Node provides is pretty similar to Jest. You check your function results with assert, and test suites are organized with describe, test, beforeEach... aliases, just like in Jest. Here’s a sample test for bitcoinService.ts:
-
Looking at the progress Node.js has made in the past few years makes me think that many popular and widely used npm packages might soon be unnecessary or even deprecated. Most Node.js developers are familiar with packages like dotenv for working with .env files, node-fetch for making HTTP requests, and jest for testing.
-
So that’s the first big downside of building a REST API without using packages like express.js - you have to build all the route handling yourself, plus add some support for middlewares.
-
To support different REST endpoints, you need to write a custom router that can trigger different route handlers for /v1/bitcoin/rates and /v1/bitcoin/rates/:currency. This takes a bit of playing around with regex:
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
Related posts
-
Learning Strapi Authentication Flows with the Facebook Provider
-
Build a Real-time Chat App with Vue 3, Socket.io and Nodejs
-
How to do webhook testing quickly and easily with Tunnelmole
-
Instantly expose a server behind cgnat with a public URL - Bypass cgnat port forwarding restrictions
-
Node.js Added Watch-Mode