add api/node_modules

This commit is contained in:
2025-02-27 17:37:49 +08:00
parent 499d157145
commit 71554afae8
957 changed files with 109182 additions and 1 deletions

9
api/node_modules/math-intrinsics/mod.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
'use strict';
var $floor = require('./floor');
/** @type {import('./mod')} */
module.exports = function mod(number, modulo) {
var remain = number % modulo;
return $floor(remain >= 0 ? remain : remain + modulo);
};