JS.weekly() => #60: Firefox’s New WebSocket Inspector
Perfect Node.js architecture, how to become a senior developer and Stream Saver.js
I Read 21 Articles About How to Become a Senior Developer So You Don’t Have To
Compilation of 21 articles that can help you improve your hard and soft skills as a developer.
Firefox’s New WebSocket Inspector
“The WebSocket Inspector is part of the existing Network panel UI in DevTools. It’s already possible to filter the content for opened WS connections in this panel, but till now there was no chance to see the actual data transferred through WS frames.”
The perfect architecture flow for your next Node.js project
Here are couple of rules you should follow:
- Keep a clear separation between the business logic and the API routes.
- Have a scripts folder for long npm scripts.
- Use dependency injection.
- Use another layer for third-party services calls.
- Use promises’ error handling support.
We are adding new libraries to JavaScripting.com every week. Here is one worth checking out:
Stream Saver.js
StreamSaver.js is the solution to saving streams on the client-side. It is perfect for webapps that need to save really large amounts of data created on the client-side, where the RAM is really limited, like on mobile devices.
JS.weekly() is a weekly digest of the best JavaScript articles, hand-picked by our experts in the JavaScripting community, sponsored by Salsita Software. Don’t forget to follow us on Twitter.