GitShow/sindresorhus/path-exists
sindresorhus

path-exists

Check if a path exists

by sindresorhus
Star on GitHubForknpm

JavaScript

156 stars20 forks7 contributorsQuiet · 4y agoSince 2015v5.0.0MIT

Meet the team

See all 7 on GitHub →
sindresorhus
sindresorhus17 contributions
Richienb
Richienb3 contributions
coreyfarrell
coreyfarrell1 contribution
BendingBender
BendingBender1 contribution
SamVerschueren
SamVerschueren1 contribution
SimenB
SimenB1 contribution

Languages

View on GitHub →
JavaScript75.6%
TypeScript24.4%

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 →
budiga
Only file and data URLs are supported by the default ESM loader.ClosedIssue

When I run this code in Node, it will throw a error:[ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. How can I avoid this error? node version: v12.18.3 npm version: 6.14.6

budiga · 3y ago
andyqier88
check if file exists case-sensitiveClosedIssue

when i use like below, the results are true in my fileExistsWithCaseSync based on check-if-file-exists-case-sensitive

andyqier88 · 4y ago
varunsh-coder
security: analyze dependencies for malicious behaviorMergedPR

This PR 1. Adds harden-runner GitHub Action to the workflow. 2. Sets the token permission for the workflow to . This is a security best practice and gets you are higher Scorecard score. Your package currently has score of 4.5 out of 10. You can use https://app.stepsecurity.io to automate some of the fixes, such as adding token permissions and pinning actions to commit SHA... harden-runner GitHub Action detects hijacked dependencies and compromised build tools. It correlates outbound traffic with each step of the workflow so you can see what processes are calling what endpoints. This is the analysis when run on a fork: https://app.stepsecurity.io/github/varunsh-coder/path-exists/actions/runs/1928611682 You can restrict traffic to the allowed endpoints for future runs which will block calls that compromised dependencies typically make, and an annotation will be shown in such cases. You do not need to grant any permission or install any App to use this, and the action (and agent the action uses) are open source. Information on how harden-runner could have detected past package hijacks can be found here: https://github.com/step-security/supply-chain-goat. Do share feedback to improve the harden-runner GitHub Action developer experience. Thanks!

varunsh-coder · 4y ago
Structured data for AI agents

Repository: sindresorhus/path-exists. Description: Check if a path exists Stars: 156, Forks: 20. Primary language: JavaScript. Languages: JavaScript (75.6%), TypeScript (24.4%). License: MIT. Latest release: v5.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 85%. Top contributors: sindresorhus, Richienb, coreyfarrell, BendingBender, SamVerschueren, SimenB.

·@ofershap

Replace github.com with gitshow.dev