
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@types/lineclip
Advanced tools
npm install --save @types/lineclip
This package contains type definitions for lineclip (https://github.com/mapbox/lineclip#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lineclip.
declare namespace Lineclip {
type Point = [number, number];
type BoundingBox = [number, number, number, number];
type LineClipResult = Point[];
function polyline(points: Point[], bbox: BoundingBox, result?: LineClipResult[]): LineClipResult;
function polygon(points: Point[], bbox: BoundingBox): LineClipResult;
}
declare function Lineclip(
points: Lineclip.Point[],
bbox: Lineclip.BoundingBox,
result?: Lineclip.LineClipResult[],
): Lineclip.LineClipResult;
export = Lineclip;
These definitions were written by Sikriti Dakua.
FAQs
TypeScript definitions for lineclip
The npm package @types/lineclip receives a total of 386 weekly downloads. As such, @types/lineclip popularity was classified as not popular.
We found that @types/lineclip demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.