Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@antv/g-math

Package Overview
Dependencies
Maintainers
68
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-math

Geometry util

Source
npmnpm
Version
3.0.1
Version published
Weekly downloads
273K
26.97%
Maintainers
68
Weekly downloads
 
Created
Source

g-math

G 提供几何图形运算的库

安装下载

tnpm i --save @antv/g-math

// 所有的 api 是都这么引入,名字不同而已
import { line } from '@antv/g-math';

const len = line.length(x1, x2, x2, y2);

API 文档

目前使用到的、且推荐使用的 API 文档,不在文档内的不建议使用。

Keywords

antv

FAQs

Package last updated on 09 May 2025

Did you know?

Socket

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.

Install

Related posts