157 packages found

    Recursively read all files path from directory

    published 1.0.3 10 months ago
    M
    Q
    P

    filepath parses UNC (long and short and cmd aliases) local filesystem path, and unix paths, checks for invalid path characters

    published 0.0.8 5 months ago
    M
    Q
    P

    Convert file paths to start with their base directory

    published 1.0.2 2 years ago
    M
    Q
    P

    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.

    published 0.1.2 5 years ago
    M
    Q
    P

    Class wrapper for interacting with file paths.

    published 2.0.2 5 years ago
    M
    Q
    P

    Get the icon of a file or app as a PNG image (macOS)

    published 3.0.0 a month ago
    M
    Q
    P

    Remove leading directory components from a path, like tar's --strip-components option

    published 3.0.0 3 years ago
    M
    Q
    P

    Convert a string to be able to use as a filename with Japanese characters.

    published 1.0.3 2 years ago
    M
    Q
    P

    Transform relative path or glob pattern to absolute

    published 1.0.0 7 years ago
    M
    Q
    P

    Check if a file path is a Markdown file

    published 3.0.0 5 months ago
    M
    Q
    P

    Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.

    published 2.0.0 2 years ago
    M
    Q
    P

    vfile utility to make sure the directory of a file exists on the file system

    published 3.0.0 5 months ago
    M
    Q
    P

    fs.stat With Path Included To Callback Result

    published 1.1.3 5 years ago
    M
    Q
    P

    Get the very first directory name from file path `./foo/bar/baz` -> `foo` or `../a/b/c` -> `../a`. Useful when you just want first real directory from given file path

    published 1.0.1 7 years ago
    M
    Q
    P

    Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.

    published 0.1.0 5 years ago
    M
    Q
    P

    Get the existing part of a given path, asynchronously

    published 1.1.0 4 years ago
    M
    Q
    P

    Convert a dependency path into a filepath

    published 1.0.2 4 years ago
    M
    Q
    P

    Get file metadata using `mdls` on macOS

    published 2.0.0 6 months ago
    M
    Q
    P

    Write file to disk, using promises and creating recursively intermediate directories if they don't exist.

    published 1.0.0 6 years ago
    M
    Q
    P

    Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.

    published 3.0.2 6 years ago
    M
    Q
    P