Skip to content
JS
Package

is-valid-path

Returns true if a file path does not contain any invalid characters.

v0.1.1, 6 May 2015MITCommonJSTypes: NoneFiles and file systemsTesting
$ npm install is-valid-path

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.6m (21 Jul 2026)Low 667.7k (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.

1,083,937 downloads last week, 4,431,615 in the last month. The 12-month change of -13% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
02 in total
Latest version
0.1.1, 6 May 201511 years ago
First published
6 May 2015
Last push to GitHub
27 Jan 20231,336 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
261

Major versions

  1. v0 first release 0.1.0, 6 May 2015

Recent releases

VersionPublished
0.1.16 May 2015
0.1.06 May 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (1)
is-invalid-path
npm install is-valid-path
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-valid-path@0.1.1/
  • unpkghttps://unpkg.com/is-valid-path@0.1.1/
  • esm.shhttps://esm.sh/is-valid-path@0.1.1
PackageWeekly downloadsGzipLast releaseModuleComparison
memfs28.8m-2 days agoCommonJS-
fs-fixture14.1k-22 days agoESM + CommonJS-
is-glob152.5m-4 years agoCommonJS-
is-extglob141.4m-9 years agoCommonJS-
has-glob623k-10 years agoCommonJS-
assert-valid-glob-opts22k-9 years ago--
is-valid-glob2.2m-9 years agoCommonJS-
memfs-browser18.6k-2 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.