knowledgebase_law/node_modules/math-intrinsics
2025-04-11 11:47:09 -04:00
..
.github Initial commit 2025-04-11 11:47:09 -04:00
constants Initial commit 2025-04-11 11:47:09 -04:00
test Initial commit 2025-04-11 11:47:09 -04:00
.eslintrc Initial commit 2025-04-11 11:47:09 -04:00
abs.d.ts Initial commit 2025-04-11 11:47:09 -04:00
abs.js Initial commit 2025-04-11 11:47:09 -04:00
CHANGELOG.md Initial commit 2025-04-11 11:47:09 -04:00
floor.d.ts Initial commit 2025-04-11 11:47:09 -04:00
floor.js Initial commit 2025-04-11 11:47:09 -04:00
isFinite.d.ts Initial commit 2025-04-11 11:47:09 -04:00
isFinite.js Initial commit 2025-04-11 11:47:09 -04:00
isInteger.d.ts Initial commit 2025-04-11 11:47:09 -04:00
isInteger.js Initial commit 2025-04-11 11:47:09 -04:00
isNaN.d.ts Initial commit 2025-04-11 11:47:09 -04:00
isNaN.js Initial commit 2025-04-11 11:47:09 -04:00
isNegativeZero.d.ts Initial commit 2025-04-11 11:47:09 -04:00
isNegativeZero.js Initial commit 2025-04-11 11:47:09 -04:00
LICENSE Initial commit 2025-04-11 11:47:09 -04:00
max.d.ts Initial commit 2025-04-11 11:47:09 -04:00
max.js Initial commit 2025-04-11 11:47:09 -04:00
min.d.ts Initial commit 2025-04-11 11:47:09 -04:00
min.js Initial commit 2025-04-11 11:47:09 -04:00
mod.d.ts Initial commit 2025-04-11 11:47:09 -04:00
mod.js Initial commit 2025-04-11 11:47:09 -04:00
package.json Initial commit 2025-04-11 11:47:09 -04:00
pow.d.ts Initial commit 2025-04-11 11:47:09 -04:00
pow.js Initial commit 2025-04-11 11:47:09 -04:00
README.md Initial commit 2025-04-11 11:47:09 -04:00
round.d.ts Initial commit 2025-04-11 11:47:09 -04:00
round.js Initial commit 2025-04-11 11:47:09 -04:00
sign.d.ts Initial commit 2025-04-11 11:47:09 -04:00
sign.js Initial commit 2025-04-11 11:47:09 -04:00
tsconfig.json Initial commit 2025-04-11 11:47:09 -04: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.