
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
linematch
Advanced tools
A super-fast algorithm for matching two sets of polylines and showing the difference. Primarily used for comparing road networks from different datasets.
Given arrays a
and b
, like linematch(a, b, 0.001)
, linematch will return a new
array that contains all segments in a
that are not matched with segments in b
.
If the arrays match exactly, the returned value will be an empty array, []
.
// given two arrays of linestrings and a threshold value,
// outputs a difference as an array of linestrings
var result = linematch(lines1, lines2, 0.0001);
FAQs
A fast algorithm for comparing sets of polylines (e.g. road networks).
The npm package linematch receives a total of 31 weekly downloads. As such, linematch popularity was classified as not popular.
We found that linematch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 226 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.