Skip to content
JS
Package

is-safe-filename

Check if a filename is safe to use in a path join operation

v0.1.1, 25 Jan 2026MIT-Types: -Security
$ npm install is-safe-filename

Key numbers

As of 25 Sept 2026
Weekly downloads
1.6m
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 months ago
v0.1.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.2m (25 Aug 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,582,211 downloads last week, 8,090,177 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
22 in total
Latest version
0.1.1, 25 Jan 20267 months ago
First published
24 Jan 2026
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
6

Major versions

  1. v0 first release 0.1.0, 24 Jan 2026

Recent releases

VersionPublished
0.1.125 Jan 2026
0.1.024 Jan 2026
Module format
-Not determined from package.json
TypeScript types
-
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install is-safe-filename
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-safe-filename@0.1.1/
  • unpkghttps://unpkg.com/is-safe-filename@0.1.1/
  • esm.shhttps://esm.sh/is-safe-filename@0.1.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.