GitShow/sindresorhus/is-path-inside
sindresorhus

is-path-inside

Check if a path is inside another path

by sindresorhus
Star on GitHubForknpm

JavaScript

40 stars15 forks8 contributorsQuiet · 9mo agoSince 2014v4.0.0MIT

Meet the team

See all 8 on GitHub →
sindresorhus
sindresorhus23 contributions
kevva
kevva3 contributions
chrisblossom
chrisblossom2 contributions
coreyfarrell
coreyfarrell1 contribution
BendingBender
BendingBender1 contribution
Richienb
Richienb1 contribution
sholladay
sholladay1 contribution
timkendrick
timkendrick1 contribution

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
sindresorhus
Add `.fs()` methodClosedIssue

Same as the existing method, but checks if the paths exists and also follows symlinks. This could be used when you know both path exists. It could potentially also be an option. // @chrisblossom Thoughts?

sindresorhus · 6mo ago
OrenGitHub
improve accuracy of function by removing inaccurate conditionMergedPR

Hi ! It seems there is condition in the function that doesn't make too much sense: Indeed, this makes the function return inaccurate responses for cases that satisfy the relation - I adjusted the tests accordingly, and slightly refactored the code

OrenGitHub · 9mo ago
ColdSpirit0
Add commonjs versionMergedPR

Hi! Some utils working badly with ES packages so I added commonjs support. If all ok, please dont forget to update npm package =)

ColdSpirit0 · 3y ago
Structured data for AI agents

Repository: sindresorhus/is-path-inside. Description: Check if a path is inside another path Stars: 40, Forks: 15. Primary language: JavaScript. License: MIT. Latest release: v4.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 9mo ago. Community health: 85%. Top contributors: sindresorhus, kevva, chrisblossom, coreyfarrell, BendingBender, Richienb, sholladay, timkendrick.

·@ofershap

Replace github.com with gitshow.dev