Building an API in Node.js without using any packages

This page summarizes the projects mentioned and recommended in the original post on dev.to

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.
surveyjs.io
featured
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.
www.influxdata.com
featured
  1. dotenv

    Loads environment variables from .env for nodejs projects.

    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.

  2. 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.

    SurveyJS logo
  3. jest

    Delightful JavaScript Testing.

    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:

  4. node-fetch

    A light-weight module that brings the Fetch API to Node.js

    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.

  5. Express

    Fast, unopinionated, minimalist web framework for node.

    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.

  6. node-api-without-dependencies

    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:

  7. 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Learning Strapi Authentication Flows with the Facebook Provider

    4 projects | dev.to | 5 Jul 2022
  • Build a Real-time Chat App with Vue 3, Socket.io and Nodejs

    6 projects | dev.to | 15 Jul 2025
  • How to do webhook testing quickly and easily with Tunnelmole

    1 project | dev.to | 14 Jul 2025
  • Instantly expose a server behind cgnat with a public URL - Bypass cgnat port forwarding restrictions

    2 projects | dev.to | 11 Jul 2025
  • Node.js Added Watch-Mode

    1 project | news.ycombinator.com | 11 Jul 2025

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?