open-index/open-npm huggingface dataset:
npm package: @pmeier/bybit-api
Description: An unofficial node.js lowlevel wrapper for the Bybit Cryptocurrency Derivative exchange API
Author: Stefan Aebischer
Latest version: 1.0.4

# @pxtrn/bybit-api

An unofficial node.js lowlevel wrapper for the Bybit Cryptocurrency Derivative
exchange API.

Great thanks to **Stefan Aebischer** who is the original author of this package. 

## Installation

`npm install --save @pxtrn/bybit-api`


## Usage

Create API credentials at bybit (obviously you need to be logged in):
- [Livenet](https://bybit.com/app/user/api-management)
- [Testnet](https://testnet.bybit.com/app/user/api-management)


### Rest client

```js
const {RestClient} = require('@pxtrn/bybit-api');

const API_KEY = 'xxx';
const PRIVATE_KEY = 'yyy';

const client = new RestClient(API_KEY, PRIVATE_KEY);

client.changeUserLeverage({leverage: 4, symbol: 'ETHUSD'})
  .then(result => {
    console.log(result);
  })
  .catch(err => {
    console.error(error);
  });
```

See rest client [api docs](./doc/rest-client.md) for further information.


### Websocket client

```js
const {WebsocketClient} = require('@pxtrn/bybit-api');

const API_KEY = 'xxx';
const PRIVATE_KEY = 'yyy';

const ws = new WebsocketClient({key: API_KEY, secret: PRIVATE_KEY});

ws.subscribe(['position', 'execution', 'trade']);
ws.subscribe('kline.BTCUSD.1m');

ws.on('open', function() {
  console.log('connection open');
});

ws.on('update', function(message) {
  console.log('update', message);
});

ws.on('response', function(response) {
  console.log('response', response);
});

ws.on('close', function() {
  console.log('connection closed');
});

ws.on('error', function(err) {
  console.error('ERR', err);
});
```

See websocket client [api docs](./doc/websocket-client.md) for further information.

### Customise Logging
Pass a custom logger which supports the log methods `silly`, `debug`, `notice`, `info`, `warning` and `error`, or override methods from the default logger as desired:

```js
const { RestClient, WebsocketClient, DefaultLogger } = require('@pxtrn/bybit-api');

// Disable all logging on the silly level
DefaultLogger.silly = () => {};

const API_KEY = 'xxx';
const PRIVATE_KEY = 'yyy';

const ws = new WebsocketClient({key: API_KEY, secret: PRIVATE_KEY}, DefaultLogger);
```

## Donations

If this library helps you to trade better on bybit, feel free to donate a coffee,
or create a bybit account using my [ref link](https://www.bybit.com/app/register?ref=j8q5l).

- BTC `1Fh1158pXXudfM6ZrPJJMR7Y5SgZUz4EdF`
- ETH `0x21aEdeC53ab7593b77C9558942f0c9E78131e8d7`
- LTC `LNdHSVtG6UWsriMYLJR3qLdfVNKwJ6GSLF`
npm package: @pmeig/ngb-core
Description: This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.0.
Latest version: 2.0.0

# BCore

This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.0.

## Code scaffolding

Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

```bash
ng generate component component-name
```

For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:

```bash
ng generate --help
```

## Building

To build the library, run:

```bash
ng build b-core
```

This command will compile your project, and the build artifacts will be placed in the `dist/` directory.

### Publishing the Library

Once the project is built, you can publish your library by following these steps:

1. Navigate to the `dist` directory:
   ```bash
   cd dist/b-core
   ```

2. Run the `npm publish` command to publish your library to the npm registry:
   ```bash
   npm publish
   ```

## Running unit tests

To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:

```bash
ng test
```

## Running end-to-end tests

For end-to-end (e2e) testing, run:

```bash
ng e2e
```

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.

## Additional Resources

For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
npm package: @pmeig/ngb-material
Description: This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.0.
Latest version: 2.0.0

# BMaterial

This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.0.

## Code scaffolding

Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

```bash
ng generate component component-name
```

For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:

```bash
ng generate --help
```

## Building

To build the library, run:

```bash
ng build b-material
```

This command will compile your project, and the build artifacts will be placed in the `dist/` directory.

### Publishing the Library

Once the project is built, you can publish your library by following these steps:

1. Navigate to the `dist` directory:
   ```bash
   cd dist/b-material
   ```

2. Run the `npm publish` command to publish your library to the npm registry:
   ```bash
   npm publish
   ```

## Running unit tests

To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:

```bash
ng test
```

## Running end-to-end tests

For end-to-end (e2e) testing, run:

```bash
ng e2e
```

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.

## Additional Resources

For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
npm package: @pmet-public/luma-ui
Description: Luma React UI LIbrary
Author: Carlos A. Cabrera @fnhhipster
Latest version: 1.0.5

# Luma UI

[📕 UI Library Storybook](https://pmet-public.github.io/luma-ui/?path=/story/%F0%9F%91%8B-welcome--getting-started)

[🛍 Demo PWA Storefront](https://longliveluma.com)

## Getting Started

```bash
yarn install
```

```bash
yarn dev
```

---

## Built with

-   [React](https://reactjs.org/)
-   [TypeScript](https://www.typescriptlang.org/)
-   [Styled Components](https://www.styled-components.com/)
-   [Remix Icons](https://remixicon.com)

## Built (as-in build) with

-   [Babel](https://babeljs.io/)
-   [Rollup](https://rollupjs.org/guide/en/)

## Linted with

-   [Prettier](https://prettier.io/)

## Recommended VSCode Extensions

-   [VSCode Styled Components](https://marketplace.visualstudio.com/items?itemName=jpoissonnier.vscode-styled-components)
-   [Prettier - Code Formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
npm package: @pmhai90/oku-booking-element-calculator
Description: Shared booking calculator functions for Vue and Node microservices
Author: Jason Hai
Latest version: 0.1.15

## 📦 Publishing to npm

This package is published to [npmjs.org](https://www.npmjs.com/) under the scope **@pmhai90**.

Follow these steps to publish new versions:

---

### 🔑 1. Generate an npm token

1. Go to your npm account:  
   👉 [https://www.npmjs.com/settings/pmhai90/tokens](https://www.npmjs.com/settings/pmhai90/tokens)
2. Click **“Generate New Token” → “Automation”**.
3. Copy the token (it will start with `npm_`).

---

### ⚙️ 2. Set up authentication

Add this line to your shell configuration (`~/.zshrc`, `~/.bashrc`, etc.):

```bash
export NPM_TOKEN="npm_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

### ⚙️ 3. Reload your shell
```bash
source ~/.zshrc
```

### 🧩 4. Create or update .npmrc
In the project root, add (or update) your .npmrc file:
```bash
registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
```

### 🚀 5. Publish your package
Run the following command:

```bash
npm publish --access public
https://www.npmjs.com/package/@pmhai90/oku-booking-element-calculator
```

### ✅ 6. Verify your setup
To confirm everything works, run:

```bash
npm whoami
npm config get registry
```

Expected output:

```bash
pmhai90
https://registry.npmjs.org/
```