24 packages found

replace-ext

Replaces a file extension with another one.
  1. gulp
  2. extensions
  3. filepath
  4. basename
  5. file-extension
  6. path
4 Contributors
2.0.0published 5 years agoMIT

is-unc-path

Returns true if a filepath is a windows UNC file path.
  1. absolute
  2. expression
  3. file
  4. filepath
  5. is
  6. match
  7. matching
  8. path
  9. regex
  10. regexp
  11. regular
  12. unc
  13. win
  14. windows
1 Contributors
1.0.0published 7 years agoMIT

path-type

Check if a path is a file, directory, or symlink
  1. path
  2. fs
  3. type
  4. is
  5. check
  6. directory
  7. file
  8. filepath
  9. symlink
  10. symbolic
  11. link
  12. stat
  13. stats
  14. filesystem
7 Contributors
6.0.0published 5 months agoMIT

to-absolute-glob

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
  1. absolute
  2. file
  3. filepath
  4. glob
  5. negate
  6. negative
  7. path
  8. pattern
  9. resolve
  10. to
  11. glob-pattern
4 Contributors
3.0.0published 2 years agoMIT

is-dotfile

Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
  1. detect
  2. dot
  3. dotfile
  4. expression
  5. file
  6. filepath
  7. find
  8. fs
  9. is
  10. match
  11. path
  12. regex
  13. regexp
  14. regular
  15. dotfiles
2 Contributors
2.0.0published 8 years agoMIT

unc-path-regex

Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
  1. absolute
  2. expression
  3. file
  4. filepath
  5. match
  6. matching
  7. path
  8. regex
  9. regexp
  10. regular
  11. unc
  12. win
  13. windows
3 Contributors
0.1.2published 9 years agoMIT

pathvalidate

pathvalidate is a Python library to sanitize/validate a string such as filenames/file-paths/etc.
  1. file
  2. path
  3. validation
  4. validator
  5. sanitization
  6. sanitizer
  7. filepath
  8. lint
  9. python-library
  10. validation-library
10 Contributors
3.2.3published 5 days agoMIT

is-directory

Returns true if a filepath exists on the file system and it's directory.
  1. dir
  2. directories
  3. directory
  4. dirs
  5. file
  6. filepath
  7. files
  8. fp
  9. fs
  10. node
  11. node.js
  12. path
  13. paths
  14. system
  15. is-directory
  16. javascript
  17. stat
  18. stats
2 Contributors
0.3.1published 9 years agoMIT

filename-regex

Regular expression for matching file names, with or without extension.
  1. basename
  2. file
  3. filename
  4. filepath
  5. match
  6. name
  7. path
  8. regex
  9. regexp
  10. regular expression
  11. javascript
  12. regular-expression
3 Contributors
2.0.1published 8 years agoMIT

is-path-in-cwd

Check if a path is in the current working directory
  1. path
  2. cwd
  3. pwd
  4. check
  5. filepath
  6. file
  7. folder
  8. in
  9. inside
5 Contributors
4.0.0published 4 years agoMIT
Showing 1 to 10 of 24 results