syncternet
v1.0.13
Published
Syncternet NPM package for real-time collaborative web applications.
Readme
Syncternet - NPM module
Syncternet shares gathers all users currently looking a webpage, allowing them to chat and interact. This is the NPM module that allows you to add Syncternet to your own Express.js project.
How to use
- Install the package with
npm install syncternet. - Initialize the server with
const syncternet = require('syncternet')andsyncternet.init(app), whereappis your Express app. - Load the script in the front-end with
<script src="/syncternet/client"></script>, this route is injected to the Express app when the module is loaded.
Development
- The best way to get started developing is to grab the syncternet-demo.
- Build the style with
npm run build:style - Build the client with
npm run build:clientNote that when developing using syncternet-demo, the client is built automatically.
