Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

`common-path-prefix` is a tiny Node.js utility that, given an array of file‑path strings, returns the longest shared prefix (including the trailing separator) while ignoring the leading base component. It works with both Unix‑style (`/`) and Windows‑style (`\`) separators and lets callers specify a custom delimiter, making it useful for build scripts, templating tools, or any JavaScript project that needs to normalize or compare path hierarchies.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of novemberborn/common-path-prefix

Account's avatar
avajs/ava
Node.js test runner that lets you develop with confidence.
Account's avatar
istanbuljs/nyc
the Istanbul command line interface
Account's avatar
standard/standard
JavaScript Standard Style

Support the repos that depend on this repository

Top contributors

novemberborn's profile
novemberborn
29 contributions
greenkeeperio-bot's profile
greenkeeperio-bot
13 contributions
greenkeeper[bot]'s profile
greenkeeper[bot]
2 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet
novemberborn

novemberborn/common-path-prefix

Computes the longest prefix string that is common to each path, excluding the base component

JavaScript
11
4
ISC License