Skip to content
JS
Package

get-caller-file

[![Build Status](https://travis-ci.org/stefanpenner/get-caller-file.svg?branch=master)](https://travis-ci.org/stefanpenner/get-caller-file) [![Build status](https://ci.appveyor.com/api/projects/status/ol2q94g1932cy14a/branch/master?svg=true)](https://ci.a

v2.0.5, 9 Mar 2019ISCCommonJSTypes: None
$ npm install get-caller-file

Key numbers

As of 25 Sept 2026
Weekly downloads
105.9m
+84% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v2.0.5
GitHub stars
36
11 forks
Open issues / PRs
3 / 3
Contributors
5
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 139.4m (25 Aug 2026)Low 36.8m (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.

105,860,903 downloads last week, 507,577,143 in the last month. The 12-month change of +84% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
010 in total
Latest version
2.0.5, 9 Mar 20197 years ago
First published
30 Dec 2015
Last push to GitHub
27 Sept 20231,093 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
1,817

Major versions

  1. v2 first release 2.0.0, 11 Jul 2018
  2. v1 first release 1.0.0, 30 Dec 2015

Recent releases

VersionPublished
2.0.59 Mar 2019
2.0.49 Mar 2019
2.0.39 Mar 2019
2.0.29 Mar 2019
2.0.111 Dec 2018
2.0.011 Jul 2018
1.0.311 Jul 2018
1.0.29 Aug 2016
1.0.130 Dec 2015
1.0.030 Dec 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
6.* || 8.* || >= 10.*
Runtimes
-
Unpacked size (npm)
4.6 kB
Dependencies (0)
None
npm install get-caller-file
  • jsDelivrhttps://cdn.jsdelivr.net/npm/get-caller-file@2.0.5/
  • unpkghttps://unpkg.com/get-caller-file@2.0.5/
  • esm.shhttps://esm.sh/get-caller-file@2.0.5
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.