Skip to content

Commit 3fdaba7

Browse files
committed
Changed name from cdp-logger-client to cdplogger-client
1 parent 15621e0 commit 3fdaba7

File tree

5 files changed

+74
-10
lines changed

5 files changed

+74
-10
lines changed

.gitignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,68 @@
1+
# Dependencies
12
node_modules/
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
11+
# Runtime data
12+
pids
13+
*.pid
14+
*.seed
15+
*.pid.lock
16+
17+
# Directory for instrumented libs generated by jscoverage/JSCover
18+
lib-cov
19+
20+
# Coverage directory used by tools like istanbul
21+
coverage
22+
23+
# nyc test coverage
24+
.nyc_output
25+
26+
# Grunt intermediate storage
27+
.grunt
28+
29+
# Bower dependency directory
30+
bower_components
31+
32+
# node-waf configuration
33+
.lock-wscript
34+
35+
# Compiled binary addons
36+
build/Release
37+
38+
# Dependency directories
39+
jspm_packages/
40+
41+
# TypeScript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+
62+
# next.js build output
63+
.next
64+
65+
# npm config file
66+
.npmrc
67+
268
protos/

DOCUMENTATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ By using this library, developers can build dashboards, monitoring tools, or scr
4444
You can install the library from npm:
4545

4646
```bash
47-
npm install cdp-logger-client
47+
npm install cdplogger-client
4848
```
4949

5050
This will add the CDP Logger client to your project’s dependencies. The package bundles the necessary JavaScript files and protobuf definitions. The only peer dependency you might need is a WebSocket implementation if you are using Node.js (see **Prerequisites** and **Usage in Node.js** below).
@@ -96,7 +96,7 @@ In Node.js, you will typically import (or require) the library and set up a WebS
9696

9797
```js
9898
// 1. Install and import the CDP Logger Client
99-
const cdplogger = require('cdp-logger-client');
99+
const cdplogger = require('cdplogger-client');
100100

101101
// 2. Set up WebSocket for Node (since Node has no native WebSocket)
102102
global.WebSocket = require('ws'); // ensure 'ws' is installed in your project

QUICKSTART.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For documentation on the JS logger client see [DOCUMENTATION.md](DOCUMENTATION.m
2424
Install the CDPLogger Client and a WebSocket polyfill (for the Node.js version):
2525

2626
```bash
27-
npm install cdp-logger-client ws
27+
npm install cdplogger-client ws
2828
```
2929

3030
### For Browser
@@ -64,7 +64,7 @@ To enable web support, ensure your `client.js` file includes these modifications
6464

6565
```js
6666
// Import the client and set up the WebSocket polyfill
67-
const cdplogger = require('cdp-logger-client');
67+
const cdplogger = require('cdplogger-client');
6868
global.WebSocket = require('ws');
6969

7070
// Create a client instance (endpoint can be "127.0.0.1:17000" or "ws://127.0.0.1:17000")

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# CDP Logger Client
22

3-
# CDP Logger Client
4-
53
A JavaScript client for reading historic data from systems created with the CDP Studio development platform.
64
For more information about CDP Studio, see https://cdpstudio.com/.
75
For more information about CDP Logger, see https://cdpstudio.com/manual/cdp/cdplogger/cdplogger-index.html.
@@ -16,7 +14,7 @@ This client allows you to:
1614
## Installation
1715

1816
```bash
19-
npm install cdp-logger-client
17+
npm install cdplogger-client
2018
```
2119

2220
## Quick Start
@@ -32,7 +30,7 @@ For detailed documentation, see [DOCUMENTATION.md](DOCUMENTATION.md).
3230
### Node.js
3331

3432
```javascript
35-
const cdplogger = require('cdp-logger-client');
33+
const cdplogger = require('cdplogger-client');
3634
global.WebSocket = require('ws');
3735

3836
const client = new cdplogger.Client('127.0.0.1:17000');

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cdp-logger-client",
2+
"name": "cdplogger-client",
33
"version": "1.0.0",
44
"description": "A JavaScript client for interacting with CDP Logger or LogServer via WebSocket",
55
"main": "client.js",
@@ -23,7 +23,7 @@
2323
"cdp-studio",
2424
"cdplogger",
2525
"cdp-logger",
26-
"cdp-logger-client",
26+
"cdplogger-client",
2727
"cdploggerclient",
2828
"cdpjsclientlogger",
2929
"cdp-js-client-logger",

0 commit comments

Comments
 (0)