pathe
npmv2.0.3TypeScriptUniversal filesystem path utils
Adopt with care
pathe is usable, with caveats. Last published 575 days ago. 4 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 575 days ago. 4 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 50 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding pathe to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the pathe README.
// ESM / Typescript
import { resolve, matchesGlob } from "pathe";
// CommonJS
const { resolve, matchesGlob } = require("pathe");Dependencies
Declared by pathe v2.0.3. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (12)
Used by
Popular packages that depend on pathe.
Native-ESM powered web dev build tool
Next generation testing framework powered by Vite
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Missing ECMAScript module utils for Node.js
Type safe SQL query builder
UI for Vitest
DevTools for Rolldown
Vite plugin for mounting a devframe inside any Vite-based host (Astro, SolidStart, Nuxt, plain Vite apps).
Devframe wire service that opens files in the user's editor or reveals them in the OS file explorer.
Vitest module mocker implementation
Vite DevTools
Vitest snapshot manager
Browser running for Vitest
Hub layer that orchestrates devframe docks, terminals, messages, and commands on any host.
Vitest test runner
Runtime typescript and ESM support for Node.js
Devframe plugin providing terminal panels for streamed output and interactive PTY shells.
Node.js utilities and TypeScript definitions for `package.json` and `tsconfig.json`
DevTools for Vite (work in progress)
DevTools for the Oxc toolchain
Unified Package Manager for Node.js
Framework for building one portable devtool integration that runs in any viewer.
V8 coverage provider for Vitest
Istanbul coverage provider for Vitest
Relationship graph
Dependencies (left) and dependents (right) of pathe.
Frequently installed together
Framework for building one portable devtool integration that runs in any viewer.
Native-ESM powered web dev build tool
Structured diagnostic code library
Simple yet powerful framework for building command-line apps.
Vite DevTools Kit
TypeScript definitions for node
<!-- automd:badges color=yellow codecov bundlephobia packagephobia -->
Minimal H(TTP) framework built for high performance and portability.
Missing ECMAScript module utils for Node.js
Next generation testing framework powered by Vite
A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.
The modular and type safe schema library for validating structural data
Release history
4 releases in the last two years, typically about 19 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.0.3latest | 1 year ago | 50 KB | MIT |
| 2.0.2 | 1 year ago | 50 KB | MIT |
| 2.0.1 | 1 year ago | 49 KB | MIT |
| 2.0.0 | 1 year ago | 52 KB | MIT |
| 1.1.2 | 2 years ago | 30 KB | MIT |
| 1.1.1 | 3 years ago | 25 KB | MIT |
| 1.1.0 | 3 years ago | 25 KB | MIT |
| 1.0.1 | 3 years ago | 23 KB | MIT |
| 1.0.0 | 3 years ago | 22 KB | MIT |
| 0.3.9 | 3 years ago | 22 KB | MIT |
| 0.3.8 | 4 years ago | 22 KB | MIT |
| 0.3.7 | 4 years ago | 22 KB | MIT |
| 0.3.6 | 4 years ago | 22 KB | MIT |
| 0.3.5 | 4 years ago | 20 KB | MIT |
| 0.3.4 | 4 years ago | 20 KB | MIT |
Overview
pathe is an npm package that universal filesystem path utils. It has 25 known dependents in the graph. The latest version is 2.0.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need universal filesystem path utils and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use pathe?
pathe is usable, with caveats. Last published 575 days ago. 4 releases in the last 2 years.
How do I install pathe?
Run `npm install pathe` to add pathe to your npm project.
What license is pathe released under?
pathe is distributed under the MIT license.
How popular is pathe?
npm does not publish download counts. Within PackageGraph's crawl, 25 known packages depend on pathe.
Is pathe still maintained?
The most recent release of pathe (v2.0.3) was published 1 year ago.
Does pathe run install scripts?
No. pathe does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.