lurq

npm package

Home

common-path-prefix

common-path-prefix computes the longest common prefix string for an array of paths, excluding the base component. It is useful for determining shared directory structures in file paths. This can be particularly helpful in applications that manage or manipulate file paths dynamically.

lurq health score
45/100
Confidence
unproven
Weekly downloads
12,834,972
Latest version
3.0.0
Last release
Nov 3, 2019
License
ISC

Should you depend on common-path-prefix?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks common-path-prefix at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 5, 2026; this page refreshes every 24 hours. Source repository.