path
Browser-compatible republish of Node.js's built-in path module
Repository Health
Technical Analysis
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
pathAPI (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
pathmodule 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
GitButler
Developer Tools · Devops · AI Development
Git, but better — a modern version control client with stacked branches, parallel workflows, unlimited undo, and first-class support for AI-powered development.
Hoppscotch
Developer Tools
A lightweight, offline-capable API development ecosystem for testing HTTP, GraphQL, WebSocket, MQTT, and SSE endpoints across web, desktop, and CLI.
Jan
AI Assistants
Run LLMs 100% locally with full privacy, or connect to cloud AI — your machine, your data, your control.
Logseq
Note Taking · Knowledge Management
A privacy-first, open-source knowledge graph platform combining Markdown, Org-mode, bidirectional linking, and local-first storage for building your second brain.
Mixpost
Marketing · Social Media
Self-host your own social media scheduler and publish to 11 platforms without subscriptions or data lock-in.
Nginx Proxy Manager
Developer Tools · Networking · Security
Manage Nginx reverse proxies and free Let's Encrypt SSL through a beautiful web interface — no Nginx expertise required.
Plasmic
CMS · Low Code Platforms · No Code Platforms
The open-source visual builder that lets teams design React apps and websites with drag-and-drop while integrating seamlessly with your codebase.
Rocket.Chat
Team Chat
The secure, self-hosted team communications platform for organizations that cannot compromise on data sovereignty.
Scalar
Developer Tools
Beautiful, interactive OpenAPI documentation with a built-in offline-first API client and multi-language code generation — all in one open-source platform.