Skip to content
N

Node File Router

A file-based routing for Node.js

Free

#1898in Developer Tools
0In stores

Description

Node File Router is an open-source library that brings file-based routing to Node.js APIs. Instead of registering routes by hand, you lay ou…

Highlights

  • File and folder structure defines API routes
  • Dynamic routes with wildcard parameters
  • Works with Node.js, Bun, Express.js and WebSockets
  • CommonJS, ES modules and TypeScript support
  • Zero dependencies and 100% test coverage
  • Middleware and custom adapter support

Ratings & Reviews

No ratings yet

Be the first to rate Node File Router.

People also visit

E

ExpressJS

Sinatra inspired web development framework for node.js -- insanely fast

Developer Tools
Launch
F

Flow

A delightfully tiny but powerful HTTP router for Go web applications

Utilities
Launch
D

Docs

Full stack typesafe API-first development with OpenAPI

Developer Tools
Launch
R

react-router-framework-mode

Build full-stack React applications using React Router's framework mode

AI Skills
Get
C

Content

The file-based CMS for your Nuxt application

Developer Tools
Launch
L

Local Web Server

A lean, modular web server for rapid full-stack development

Developer Tools
Launch

Node File Router FAQ

What is Node File Router?

A library for defining a Node.js API with file-based routing, where files and folders map to routes.

Which runtimes and frameworks does it work with?

Plain Node.js, Bun, Express.js and WebSockets, and you can write a custom adapter for others.

Does it support TypeScript?

Yes, TypeScript support is included, along with CommonJS and ES modules.

Does it have dependencies?

No. It has zero dependencies and the project reports 100% test coverage.

What are the best Node File Router alternatives?

Popular alternatives to Node File Router include ExpressJS, Docs and Content. See all Node File Router alternatives

Developer Stuff

Badges