Gathering detailed insights and metrics for @types/mapbox__point-geometry
Gathering detailed insights and metrics for @types/mapbox__point-geometry
Gathering detailed insights and metrics for @types/mapbox__point-geometry
Gathering detailed insights and metrics for @types/mapbox__point-geometry
The repository for high quality TypeScript type definitions.
npm install @types/mapbox__point-geometry
Typescript
Module System
100
Supply Chain
81.4
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,059 Stars
89,754 Commits
30,431 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 18, 2025
Latest Version
0.1.4
Package Id
@types/mapbox__point-geometry@0.1.4
Unpacked Size
4.92 kB
Size
1.80 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
npm install --save @types/mapbox__point-geometry
This package contains type definitions for @mapbox/point-geometry (https://github.com/mapbox/point-geometry).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__point-geometry.
1declare class Point { 2 x: number; 3 y: number; 4 constructor(x: number, y: number); 5 clone(): Point; 6 add(p: Point): Point; 7 _add(p: Point): Point; 8 sub(p: Point): Point; 9 _sub(p: Point): Point; 10 multiByPoint(p: Point): Point; 11 divByPoint(p: Point): Point; 12 mult(k: number): Point; 13 _mult(k: number): Point; 14 div(k: number): Point; 15 _div(k: number): Point; 16 rotate(k: number): Point; 17 _rotate(k: number): Point; 18 rotateAround(k: number, p: Point): Point; 19 _rotateAround(k: number, p: Point): Point; 20 matMult(m: number[]): Point; 21 _matMult(m: number[]): Point; 22 unit(): Point; 23 _unit(): Point; 24 perp(): Point; 25 _perp(): Point; 26 round(): Point; 27 _round(): Point; 28 mag(): number; 29 equals(other: Point): boolean; 30 dist(p: Point): number; 31 distSqr(p: Point): number; 32 angle(): number; 33 angleTo(b: Point): number; 34 angleWith(b: Point): number; 35 angleWithSep(x: number, y: number): number; 36 37 static convert<T extends unknown>(a: T): T extends number[] ? Point : T extends Point ? Point : T; 38} 39 40export = Point; 41
These definitions were written by Mathieu Maes, and Harel Mazor.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More