sindresorhus / is-path-insideLinks
Check if a path is inside another path
☆39Updated last month
Alternatives and similar repositories for is-path-inside
Users that are interested in is-path-inside are comparing it to the libraries listed below
Sorting:
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Check if a value is a regular expression☆25Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Regular expression for matching a shebang line☆47Updated 4 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Extract the article title of a HTML document☆55Updated last month
- Check if a file path is a binary file☆48Updated last year
- Check if your code is running as an npm or yarn script☆64Updated last month
- Slice a string with ANSI escape codes☆50Updated last month
- Get the directory of globally installed packages and binaries☆76Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- Get metadata on the default editor or a specific editor☆53Updated last month
- Repeat a string - fast☆35Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Get the PATH environment variable key cross-platform☆45Updated last month
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Check if your package was installed globally☆69Updated last year
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆64Updated last month
- Check if a path is the current working directory☆21Updated 5 months ago
- Check if a number is in a given range☆21Updated 4 years ago
- Check if a Buffer/Uint8Array is a GIF image☆29Updated 3 years ago
- Check if argv has a specific flag☆93Updated 4 years ago