Numerous Pulsating Martians

    163 packages found

    Check if a path exists

    published 5.0.0 a year ago
    M
    Q
    P

    Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.

    published 2.0.2 6 years ago
    M
    Q
    P

    Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.

    published 3.0.0 4 years ago
    M
    Q
    P

    Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

    published 3.0.2 3 years ago
    M
    Q
    P

    easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.

    published 1.0.3 6 years ago
    M
    Q
    P

    Check if a path is a file, directory, or symlink

    published 5.0.0 a year ago
    M
    Q
    P

    Replaces a file extension with another one.

    published 2.0.0 2 years ago
    M
    Q
    P

    Convert a string to a valid safe filename

    published 5.1.1 2 months ago
    M
    Q
    P

    Check if a path is the current working directory

    published 3.0.0 a year ago
    M
    Q
    P

    Pollyfill for node.js `path.parse`, parses a filepath into an object.

    published 1.0.2 5 years ago
    M
    Q
    P

    Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.

    published 2.0.0 3 years ago
    M
    Q
    P

    Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.

    published 1.0.0 5 years ago
    M
    Q
    P

    Get the existing part of a given path, asynchronously

    published 1.1.0 5 years ago
    M
    Q
    P

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

    published 0.1.1 7 years ago
    M
    Q
    P

    Finds the absolute filepath to the original sourcecode of any defined value

    published 1.0.1 4 years ago
    M
    Q
    P

    Returns `true` if the path appears to be relative.

    published 1.0.0 5 years ago
    M
    Q
    P

    Resolve a directory that is either local, global or in the user's home directory.

    published 1.0.1 5 years ago
    M
    Q
    P

    Detects if a file exists and returns the resolved filepath.

    published 1.0.0 5 years ago
    M
    Q
    P

    Convert a dependency path into a filepath

    published 2.0.0 4 years ago
    M
    Q
    P

    Convert file paths to start with their base directory

    published 1.0.2 2 years ago
    M
    Q
    P