File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# CDPLogger Client for JavaScript
22
33A simple JavaScript interface for communicating with CDP applications that include a CDPLogger component to retrieve historic data.
4- - For documentation on the JS logger client see [ DOCUMENTATION.md] ( DOCUMENTATION.md ) .
5- - For a quickstart guide on how to set-up the npm project for either Node or Web see [ QUICKSTART.md] ( QUICKSTART.md )
4+ - For documentation on the JS logger client see [ DOCUMENTATION.md] ( ../ DOCUMENTATION.md) .
5+ - For a quickstart guide on how to set-up the npm project for either Node or Web see [ QUICKSTART.md] ( ../ QUICKSTART.md)
66- For more information about CDP Studio see https://cdpstudio.com/ .
77
88## Installation
Original file line number Diff line number Diff line change @@ -41,21 +41,6 @@ client.requestLoggedNodes().then(nodes => {
4141});
4242```
4343
44- ### Browser
45-
46- ``` html
47- <script src =" protobuf.min.js" ></script >
48- <script src =" containerPb.js" ></script >
49- <script src =" client.js" ></script >
50- <script >
51- const client = new cdplogger.Client (window .location .hostname + " :17000" );
52-
53- client .requestLoggedNodes ().then (nodes => {
54- console .log (" Available nodes:" , nodes);
55- });
56- </script >
57- ```
58-
5944## Contact
6045
6146Email: support@cdptech.com
Original file line number Diff line number Diff line change 11{
22 "name" : " cdplogger-client" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " A JavaScript client for interacting with CDP Logger or LogServer via WebSocket" ,
55 "main" : " client.js" ,
66 "files" : [
3838 },
3939 "homepage" : " https://github.com/CDPTechnologies/JavascriptCDPLoggerClient#readme" ,
4040 "dependencies" : {
41+ "ws" : " ^8.13.0" ,
4142 "protobufjs" : " ^7.4.0"
4243 },
4344 "devDependencies" : {
44- "ws" : " ^8.13.0" ,
4545 "jest" : " ^29.5.0"
4646 }
4747}
You can’t perform that action at this time.
0 commit comments