Gathering detailed insights and metrics for tiptap-collab-server
Gathering detailed insights and metrics for tiptap-collab-server
Gathering detailed insights and metrics for tiptap-collab-server
Gathering detailed insights and metrics for tiptap-collab-server
A socket.io server for tiptap collaboration module. Handles multi-documents, users's cursors, and hooks for programmers.
npm install tiptap-collab-server
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
35 Stars
45 Commits
3 Forks
1 Watchers
1 Branches
1 Contributors
Updated on Sep 09, 2024
Latest Version
1.3.1
Package Id
tiptap-collab-server@1.3.1
Unpacked Size
41.64 kB
Size
8.11 kB
File Count
9
NPM Version
7.0.8
Node Version
15.1.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A socket.io server for tiptap collaboration module. Handles multi-documents, users's cursors, and hooks for programmers.
A full tutorial for setting this up is available in this article on Naept's blog or on Medium
1npm install tiptap-collab-server
1import CollabServer from 'tiptap-collab-server'
2
3new CollabServer({
4 port: 6002,
5 namespaceFilter: /^\/[a-zA-Z0-9_/-]+$/,
6 lockDelay: 1000,
7 lockRetries: 10,
8})
9 .connectionGuard(({
10 namespaceName,
11 roomName,
12 clientID,
13 requestHeaders,
14 options,
15 }, resolve) => {
16
17 resolve();
18 })
19 .onClientConnect(({
20 namespaceName,
21 roomName,
22 clientID,
23 requestHeaders,
24 clientsCount,
25 }, resolve) => {
26
27 resolve();
28 })
29 .initDocument(({
30 namespaceName,
31 roomName,
32 clientID,
33 requestHeaders,
34 clientsCount,
35 version,
36 doc,
37 }, resolve) => {
38
39 resolve({ version, doc });
40 })
41 .leaveDocument(({
42 namespaceName,
43 roomName,
44 clientID,
45 requestHeaders,
46 clientsCount,
47 version,
48 doc,
49 deleteDatabase,
50 }, resolve) => {
51
52 resolve();
53 })
54 .onClientDisconnect(({
55 namespaceName,
56 roomName,
57 clientID,
58 requestHeaders,
59 clientsCount,
60 }, resolve) => {
61
62 resolve();
63 })
64 .serve();
1npm run test
Tests need node v12.x or higher.
Contributions are welcome.
Builds library for publication
1npm run test
Compiles and starts example app for development
1npm run serve-example
Issues and pull-requests are welcome and will be considered.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More