Skip to content
JS
Package

paths.macro

Babel plugin that returns an object containing paths like __dirname and __filename as static values

v3.0.1, 27 Aug 2020MITCommonJSTypes: Bundled
$ npm install paths.macro

Key numbers

As of 25 Sept 2026
Weekly downloads
5.9k
-42% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
6 years ago
v3.0.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30k40kSept 2025Mar 2026Sept 2026High 35.1k (10 Mar 2026)Low 2.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

5,868 downloads last week, 25,732 in the last month. The 12-month change of -42% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.1, 27 Aug 20206 years ago
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
7

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
5.1 kB
Dependencies (3)
upathfind-rootbabel-plugin-macros
npm install paths.macro
  • jsDelivrhttps://cdn.jsdelivr.net/npm/paths.macro@3.0.1/
  • unpkghttps://unpkg.com/paths.macro@3.0.1/
  • esm.shhttps://esm.sh/paths.macro@3.0.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 5868 < 10000; GitHub data not fetched yet; no category.