Package
is-valid-path
Returns true if a file path does not contain any invalid characters.
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
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
- v0 first release 0.1.0, 6 May 2015
Recent releases
| Version | Published |
|---|---|
| 0.1.1 | 6 May 2015 |
| 0.1.0 | 6 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- jsDelivr
https://cdn.jsdelivr.net/npm/is-valid-path@0.1.1/ - unpkg
https://unpkg.com/is-valid-path@0.1.1/ - esm.sh
https://esm.sh/is-valid-path@0.1.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| memfs | 28.8m | - | 2 days ago | CommonJS | - |
| fs-fixture | 14.1k | - | 22 days ago | ESM + CommonJS | - |
| is-glob | 152.5m | - | 4 years ago | CommonJS | - |
| is-extglob | 141.4m | - | 9 years ago | CommonJS | - |
| has-glob | 623k | - | 10 years ago | CommonJS | - |
| assert-valid-glob-opts | 22k | - | 9 years ago | - | - |
| is-valid-glob | 2.2m | - | 9 years ago | CommonJS | - |
| memfs-browser | 18.6k | - | 2 years ago | ESM + CommonJS | - |
Indexability: Indexed.