path

Browser-compatible republish of Node.js's built-in path module

Library
npm
v0.12.7
134 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
38 /100 Needs Attention
Development Activity 0
Maintenance 20
Community 60
Maturity 60
Momentum 12

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
48 /100 Fair
Architecture 35
Code Quality 45
Innovation 20
Learning Curve 90

path is a standalone npm republish of Node.js’s native path module, letting bundlers like Browserify or Webpack resolve require('path') in code that also needs to run in the browser, where no built-in path module exists. It exposes the exact same API as Node’s core path module (join, resolve, dirname, basename, extname, sep, and friends) with no additions.

Because it is a snapshot copy rather than an actively maintained abstraction, it depends on two other very old shim packages (process and util) and has not been updated since 2015. It remains widely installed today mostly as a transitive resolution target pulled in automatically by bundler polyfill configs rather than something developers import directly, and modern projects increasingly favor path-browserify or native bundler polyfills for the same role.

What You Get

  • The full Node.js path API (join, resolve, normalize, dirname, basename, extname, sep, delimiter, parse, format) as a standalone module
  • A drop-in require('path') target for bundlers building browser bundles from code written for Node
  • Zero configuration — install and resolve, no setup required
  • MIT-licensed source carried over unmodified from the original Joyent/Node.js implementation

Common Use Cases

  • Satisfying a bundler’s path resolution when isomorphic code calls Node’s path module in a browser build
  • Providing a polyfill target for older Browserify-based build pipelines
  • Legacy projects that pinned this package before more actively maintained alternatives existed

Under The Hood

Architecture - The entire package is a single path.js file that is a verbatim copy of Node.js’s internal path module (originally authored by Joyent), implementing platform-aware POSIX and Windows path logic with no wrapper, abstraction layer, or additional functionality on top. Tech Stack - Plain, untranspiled JavaScript (pre-ES6 style) with two runtime dependencies (process and util) that are themselves standalone shims of other Node built-ins, and no build step, bundler config, or TypeScript typings. Code Quality - There are no tests, no CI configuration, and no linting setup in the repository; the code quality mirrors whatever Node.js shipped circa the module’s last sync in 2015, and the project has seen no substantive commits since. API Design - Because it mirrors Node’s own path module exactly, the API is intuitive to any Node developer and requires no learning curve, but the package offers no documentation of its own beyond a link to Node’s official docs, and it provides no indication of version drift against current Node path behavior.

Used by 11 apps in this directory

Rust
65%
Other

GitButler

AI Development · Developer Tools · Devops

21,726

Git, but better — a modern version control client with stacked branches, parallel workflows, unlimited undo, and first-class support for AI-powered development.

View details
89
Repo Health
84
Technical
66
Dependency
Built with
Rust 65%
TypeScript 22%
Svelte 10%
Updated 4 days ago
TypeScript
67%
MIT

Hoppscotch

Developer Tools

80,529

A lightweight, offline-capable API development ecosystem for testing HTTP, GraphQL, WebSocket, MQTT, and SSE endpoints across web, desktop, and CLI.

View details
91
Repo Health
83
Technical
65
Dependency
Built with
TypeScript 67%
Vue 25%
Updated 6 days ago
Rust
52%
Other

Jan

AI Assistants

44,680

Run LLMs 100% locally with full privacy, or connect to cloud AI — your machine, your data, your control.

View details
90
Repo Health
81
Technical
65
Dependency
Built with
Rust 52%
TypeScript 44%
Updated 4 days ago
Clojure
70%
AGPL 3.0

Logseq

Knowledge Management · Note Taking

45,069

A privacy-first, open-source knowledge graph platform combining Markdown, Org-mode, bidirectional linking, and local-first storage for building your second brain.

View details
92
Repo Health
82
Technical
68
Dependency
Built with
Clojure 70%
OCaml 12%
Updated 4 days ago
Vue
49%
MIT

Mixpost

Marketing · Social Media

3,738

Self-host your own social media scheduler and publish to 11 platforms without subscriptions or data lock-in.

View details
50
Repo Health
64
Technical
71
Dependency
Built with
Vue 49%
PHP 44%
Updated 6 months ago
TypeScript
49%
MIT

Nginx Proxy Manager

Developer Tools · Networking · Security

34,253

Manage Nginx reverse proxies and free Let's Encrypt SSL through a beautiful web interface — no Nginx expertise required.

View details
92
Repo Health
77
Technical
73
Dependency
Built with
TypeScript 49%
JavaScript 46%
Updated 6 days ago
TypeScript
89%
MIT

Plasmic

CMS · Design Tools · Low Code Platforms

7,048

The open-source visual builder that lets teams design React apps and websites with drag-and-drop while integrating seamlessly with your codebase.

View details
81
Repo Health
78
Technical
64
Dependency
Built with
TypeScript 89%
Updated 5 days ago
TypeScript
97%
Other

Rocket.Chat

Team Chat

46,180

The secure, self-hosted team communications platform for organizations that cannot compromise on data sovereignty.

View details
96
Repo Health
79
Technical
66
Dependency
Built with
TypeScript 97%
Updated 4 days ago
TypeScript
65%
MIT

Scalar

Developer Tools

16,198

Beautiful, interactive OpenAPI documentation with a built-in offline-first API client and multi-language code generation — all in one open-source platform.

View details
90
Repo Health
89
Technical
65
Dependency
Built with
TypeScript 65%
Vue 30%
Updated 4 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers