CampfireAuth/node_modules/math-intrinsics
2025-03-19 21:59:49 +05:00
..
.github created 2025-03-19 21:59:49 +05:00
constants created 2025-03-19 21:59:49 +05:00
test created 2025-03-19 21:59:49 +05:00
.eslintrc created 2025-03-19 21:59:49 +05:00
abs.d.ts created 2025-03-19 21:59:49 +05:00
abs.js created 2025-03-19 21:59:49 +05:00
CHANGELOG.md created 2025-03-19 21:59:49 +05:00
floor.d.ts created 2025-03-19 21:59:49 +05:00
floor.js created 2025-03-19 21:59:49 +05:00
isFinite.d.ts created 2025-03-19 21:59:49 +05:00
isFinite.js created 2025-03-19 21:59:49 +05:00
isInteger.d.ts created 2025-03-19 21:59:49 +05:00
isInteger.js created 2025-03-19 21:59:49 +05:00
isNaN.d.ts created 2025-03-19 21:59:49 +05:00
isNaN.js created 2025-03-19 21:59:49 +05:00
isNegativeZero.d.ts created 2025-03-19 21:59:49 +05:00
isNegativeZero.js created 2025-03-19 21:59:49 +05:00
LICENSE created 2025-03-19 21:59:49 +05:00
max.d.ts created 2025-03-19 21:59:49 +05:00
max.js created 2025-03-19 21:59:49 +05:00
min.d.ts created 2025-03-19 21:59:49 +05:00
min.js created 2025-03-19 21:59:49 +05:00
mod.d.ts created 2025-03-19 21:59:49 +05:00
mod.js created 2025-03-19 21:59:49 +05:00
package.json created 2025-03-19 21:59:49 +05:00
pow.d.ts created 2025-03-19 21:59:49 +05:00
pow.js created 2025-03-19 21:59:49 +05:00
README.md created 2025-03-19 21:59:49 +05:00
round.d.ts created 2025-03-19 21:59:49 +05:00
round.js created 2025-03-19 21:59:49 +05:00
sign.d.ts created 2025-03-19 21:59:49 +05:00
sign.js created 2025-03-19 21:59:49 +05:00
tsconfig.json created 2025-03-19 21:59:49 +05:00

math-intrinsics Version Badge

github actions coverage License Downloads

npm badge

ES Math-related intrinsics and helpers, robustly cached.

  • abs
  • floor
  • isFinite
  • isInteger
  • isNaN
  • isNegativeZero
  • max
  • min
  • mod
  • pow
  • round
  • sign
  • constants/maxArrayLength
  • constants/maxSafeInteger
  • constants/maxValue

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.