Join our channels: Session, SimpleX
Support our mission: sponsor, donate

home / deploy

spasm.js

library
npmtypescriptjavascript

NPM package link

Git mirrors: Forgejo Codeberg Github

This library simplifies the process by encapsulating the complexities of various messaging formats into a single, standardized JSON object called SpasmEvent. By abstracting the underlying differences between these formats, it provides a unified interface for developers to work with, ensuring consistency and reducing the need for custom handling of each format.

This library also introduces an innovative concept of signing the same message with multiple protocols and different private keys, while still sharing the same deterministic Spasm event ID, allowing not only the distribution of the message across different networks, but also chaining of all replies and reactions back to the original message.

Forum:

Blog: