sindresorhus / is-path-inside
Check if a path is inside another path
☆37Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for is-path-inside
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- A safer `.hasOwnProperty()`☆30Updated last year
- Check if a path is the current working directory☆19Updated 3 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 3 months ago
- PostCSS plugin to discard overridden keyframes or counter-style.☆16Updated 8 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Get the version of a binary in semver format☆35Updated 7 months ago
- Slice a string with ANSI escape codes☆47Updated 6 months ago
- Check if a path is in the current working directory☆21Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Check if a file path is a binary file☆43Updated 6 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Get a random key from an object☆18Updated 4 months ago
- Check if a Buffer/Uint8Array is a GIF image☆29Updated 2 years ago
- Expand deeply nested values from an object, with support for advanced features☆17Updated last year
- fs read and write streams based on minipass☆21Updated 4 months ago
- Extract the article title of a HTML document☆54Updated 2 years ago
- Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version.☆21Updated 2 years ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Lowercase the keys of an object☆40Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 7 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Define a non-enumerable property on an object.☆21Updated last year