Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

math-intrinsics

es-shims61mMIT1.1.0TypeScript support: included

ES Math-related intrinsics and helpers, robustly cached.

readme

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.

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.1.0 - 2024-12-18

Commits

v1.0.0 - 2024-12-11

Commits

  • Initial implementation, tests, readme, types b898caa
  • Initial commit 02745b0
  • [New] add constants/maxArrayLength, mod b978178
  • npm init a39fc57
  • Only apps should have lockfiles 9451580