
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@feldhaus/math
Advanced tools
A lightweight math utility library that provides commonly used mathematical functions for JavaScript and TypeScript applications.
You can install the package via npm:
npm install @feldhaus/math
180 / Math.PI.Math.PI / 180.Math.PI / 2.Math.PI / 4.Math.PI * 2.Math.PI * 2.import { clamp } from '@feldhaus/math';
const clampedValue = clamp(5, 1, 10); // Output: 5
import { DEG2RAD } from '@feldhaus/math';
const radians = DEG2RAD * 45; // Output: 0.7853981633974483
import { inverseLerp } from '@feldhaus/math';
const relativeValue = inverseLerp(10, 20, 15); // Output: 0.5
import { lerp } from '@feldhaus/math';
const interpolatedValue = lerp(0, 10, 0.5); // Output: 5
FAQs
A simple math utility library
We found that @feldhaus/math 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.