Cansu – 14-31 Oct 29

How can I save msg.data to a json file?
D
DAMACANSU537d ago
websocket doesnt shit itself and prints this
D
DAMACANSU537d ago
Received msg: {"name":"Wilma Connelly","nameFirst":"Gracie","nameLast":"Weber","nameMiddle":"Celena","namePrefix":"Mr.","nameSuffix":"V"}
D
DAMACANSU537d ago
npm
react-use-websocket
React Hook for WebSocket communication. Latest version: 4.2.0, last published: 5 months ago. Start using react-use-websocket in your project by running npm i react-use-websocket. There are 41 other projects in the npm registry using react-use-websocket.
UU
Unknown User537d ago