
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
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, []
.
import linematch from 'linematch';
// given two arrays of linestrings and a threshold value,
// outputs a difference as an array of linestrings
const 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 95 weekly downloads. As such, linematch popularity was classified as not popular.
We found that linematch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 28 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
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.