socket.io protocol parser with support bigint type
npm install @kim5257/socket.io-parser-bigint

This package extended from socket.io-parser to support bigint type.
A socket.io encoder and decoder written in JavaScript complying with version 5
of socket.io-protocol.
Used by socket.io and
socket.io-client.
Compatibility table:
| Parser version | Socket.IO server version | Protocol revision |
|----------------|------------------------| ----------------- |
| 4.x | 4.x | 5 |
socket.io-parser is the reference implementation of socket.io-protocol. Read
the full API here:
socket.io-protocol.
``ts
import * as SocketIOParser from '@kim5257/socket.io-parser-bigint';
import { Server, Socket } from 'socket.io';
const server = new Server(3000, {
parser: SocketIOParser,
});
`
`js
import * as SocketIOParser from '@kim5257/socket.io-parser-bigint';
import SocketIO from 'socket.io-client';
const client = SocketIO('http://localhost:3000', {
parser: SocketIOParser,
});
``
See the test suite for more examples of how socket.io-parser is used.
MIT