Package
is-invalid-path
Returns true if a windows file path has invalid characters.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.8m
- -3% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 8 years ago
- v1.0.2
- GitHub stars
- 6
- 2 forks
- Open issues / PRs
- 2 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
1,836,054 downloads last week, 8,372,796 in the last month. The 12-month change of -3% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 04 in total
- Latest version
- 1.0.2, 19 Apr 20188 years ago
- First published
- 6 May 2015
- Last push to GitHub
- 31 Aug 20221,485 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 46
Major versions
- v1 first release 1.0.0, 19 Apr 2018
- v0 first release 0.1.0, 6 May 2015
Recent releases
| Version | Published |
|---|---|
| 1.0.2 | 19 Apr 2018 |
| 1.0.1 | 19 Apr 2018 |
| 1.0.0 | 19 Apr 2018 |
| 0.1.0 | 6 May 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=6.0
- Runtimes
- -
- Unpacked size (npm)
- 7.1 kB
- Dependencies (0)
- None
npm install is-invalid-path- jsDelivr
https://cdn.jsdelivr.net/npm/is-invalid-path@1.0.2/ - unpkg
https://unpkg.com/is-invalid-path@1.0.2/ - esm.sh
https://esm.sh/is-invalid-path@1.0.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| is-glob | 152.5m | - | 4 years ago | CommonJS | - |
| is-extglob | 141.4m | - | 9 years ago | CommonJS | - |
| parse-glob | 2.4m | - | 11 years ago | CommonJS | - |
| resolve-glob | 20k | - | 9 years ago | CommonJS | - |
| is-valid-glob | 2.2m | - | 9 years ago | CommonJS | - |
| has-glob | 623k | - | 10 years ago | CommonJS | - |
| anymatch | 90.7m | - | 3 years ago | - | - |
| extglob | 13.4m | - | 8 years ago | CommonJS | - |
Indexability: Indexed.