Skip to content
JS
Package

to-file-path

Create a filepath from an object path (dot notation), list of arguments, array, number or Arguments object.

v3.0.0, 2 Jul 2022MPL-2.0ESM onlyTypes: NoneBuild toolsLinting and formatting
$ npm install to-file-path

Key numbers

As of 25 Sept 2026
Weekly downloads
2.3k
+57% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
4 years ago
v3.0.0
GitHub stars
486
19 forks
Open issues / PRs
42 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 15.2k (28 Jul 2026)Low 952 (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.

2,307 downloads last week, 9,024 in the last month. The 12-month change of +57% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.0, 2 Jul 20224 years ago
First published
-
Last push to GitHub
21 Feb 2026215 days before the snapshot
Repository archived
No
Open issues
42
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
2

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=16 <17 || >=18 <19 || >=20
Runtimes
-
Unpacked size (npm)
33 kB
Dependencies (2)
arr-mapis-arguments
npm install to-file-path
  • jsDelivrhttps://cdn.jsdelivr.net/npm/to-file-path@3.0.0/
  • unpkghttps://unpkg.com/to-file-path@3.0.0/
  • esm.shhttps://esm.sh/to-file-path@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
sherif317.7k-2 months ago--
@swc/core30m-20 days agoCommonJS-
@swc/types26.6m-1 month ago--
turbo-ignore1.1m-today--
eslint-config-turbo790.1k-todayESM + CommonJS-
@babel/types182.9m-6 days agoESM only-
babel-types3.7m-9 years agoCommonJS-
binaryen610.4k-1 month agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2307 < 10000.