
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
@types/lineclip
Advanced tools
TypeScript definitions for lineclip
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.
export type Point = [number, number];
export type BoundingBox = [number, number, number, number];
export type LineClipResult = Point[][];
export type PolygonClipResult = Point[];
export function clipPolyline(points: Point[], bbox: BoundingBox, result?: LineClipResult): LineClipResult;
export function clipPolygon(points: Point[], bbox: BoundingBox): PolygonClipResult;
These definitions were written by Sikriti Dakua, and Marc Emmanuel.
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
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

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.