Bundle brainstorm server dependencies instead of requiring npm install

Vendor node_modules into the repo so the brainstorm server works
immediately on fresh plugin installs without needing npm at runtime.
This commit is contained in:
Jesse Vincent
2026-03-09 21:36:37 -07:00
parent 5e2a89e985
commit 7446c842d8
722 changed files with 83997 additions and 5 deletions

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);
};