node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

20
server/node_modules/crc/crc1.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { Buffer } from 'buffer';
import createBuffer from './create_buffer';
import defineCrc from './define_crc';
const crc1 = defineCrc('crc1', function(buf, previous) {
if (!Buffer.isBuffer(buf)) buf = createBuffer(buf);
let crc = ~~previous;
let accum = 0;
for (let index = 0; index < buf.length; index++) {
const byte = buf[index];
accum += byte;
}
crc += accum % 256;
return crc % 256;
});
export default crc1;