
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@ilihub/geometry
Advanced tools
A collection of useful TypeScript functions and utilities for geometric operations.
A collection of useful TypeScript functions and utilities for geometric operations.
# if you're using pnpm
pnpm add @ilihub/geometry
# or, if you're using npm
npm install @ilihub/geometry
# or, if you're using yarn
yarn add @ilihub/geometry
import { Triangle } from "@ilihub/geometry";
const s1 = 6;
const s2 = 5;
const s3 = 4;
const triangle = new Triangle(s1, s2, s3);
const area = triangle.area();
console.log(area); // 9.921567416492215
const perimeter = triangle.perimeter();
console.log(perimeter); // 15
FAQs
A collection of useful TypeScript functions and utilities for geometric operations.
The npm package @ilihub/geometry receives a total of 52 weekly downloads. As such, @ilihub/geometry popularity was classified as not popular.
We found that @ilihub/geometry demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.