playsocketjs 2.5.0 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -141,9 +141,9 @@ Here are usage examples for a standalone server and an Express.js application.
141
141
  ### Standalone server
142
142
 
143
143
  ```javascript
144
- const PlaySocketServer = require('playsocketjs/server');
144
+ import PlaySocketServer from 'playsocketjs/server'; // Both ES Module & CommonJS Module syntax is supported
145
145
 
146
- const server = new PlaySocketServer(); // Create and start the server (default path is /socket)
146
+ const server = new PlaySocketServer(); // Create and start the server (default path is /)
147
147
 
148
148
  // Gracefully disconnect all clients and close the server (optional)
149
149
  function shutdown() {