open-index/open-npm huggingface dataset:
npm package: @logexpert/gis-sdk
Description: The official Logexpert GIS SDK package
Author: Sergey Venger
Latest version: 0.5.0

# GIS Logexpert JS SDK

## Installation
```
npm install @logexpert/gis-sdk
```

## Usage

### Basic

```javascript
import { Logexpert } from '@logexpert/gis-sdk'
const sdk = new Logexpert('https://gis.logexpert.ru')

sdk.auth.static('<your token>')
//or
sdk.auth.login('<username>', '<password>')

const objects = await sdk.objects.readByQuery({
    $top: 10,
    $select: ['Id', 'Name']
})
```

### Get points
```javascript
import { Logexpert } from '@logexpert/gis-sdk'
const sdk = new Logexpert('https://gis.logexpert.ru')
const points = await sdk.trackPoints.read('<object id>',
    new Date('2022-17-14T00:00:00'), new Date('2022-07-14T23:59:59'))
```
npm package: @logflake/client
Description: **LogFlake Client JS** is a JavaScript client library for interacting with the LogFlake logging platform. It allows you to initialize logging, send logs and exceptions, and measure performance in your applications.
Author: Cloud Phoenix
Latest version: 1.0.4

# LogFlake Client JS
## Introduction

**LogFlake Client JS** is a JavaScript client library for interacting with the LogFlake logging platform. It allows you to initialize logging, send logs and exceptions, and measure performance in your applications.

## Installation

Install the package:

```bash
yarn add @logflake/client
```

## Usage

### Initialization

Import the necessary functions and initialize the client with your application ID and server URL:

```javascript
import { initialize } from '@logflake/client';

initialize('YOUR_APP_ID', 'YOUR_SERVER_URL', {
  correlation: () => 'correlation-id', // Optional correlation function or string
  enableCompression: true, // Optional, default is true
  hostname: 'example.com', // Optional, default is window.location.hostname
});
```

### Sending Logs

Send a log message with optional parameters:

```javascript
import { LogLevels, sendLog } from '@logflake/client';

sendLog('Your log message', {
  level: LogLevels.INFO, // Optional log level, default is 'DEBUG'
  correlation: 'correlation-id', // Optional
  hostname: 'example.com', // Optional
  params: { key: 'value' }, // Optional additional parameters
});
```

### Sending Exceptions

Capture and send exceptions to LogFlake:

```javascript
import { sendException } from '@logflake/client';

try {
  // Your code that may throw an error
} catch (error) {
  sendException(error, {
    correlation: 'correlation-id', // Optional
    hostname: 'example.com', // Optional
    params: { key: 'value' }, // Optional additional parameters
  });
}
```

### Measuring Performance

Measure the performance of a code block:

```javascript
import { measurePerformance } from '@logflake/client';

const dispose = measurePerformance('operation-name');

// Your operation code here

dispose()?.then((duration) => {
  console.log(`Operation took ${duration}ms`);
});
```

## Configuration Options

When initializing the client, you can provide the following options:

- `correlation`: A function or value used to generate a correlation ID. Default is `undefined`.
- `enableCompression`: Enables compression of logs. Default is `true`.
- `hostname`: The hostname associated with the logs. Default is `window.location.hostname`.

## Log Levels

The following log levels are available:

- `DEBUG`
- `INFO`
- `WARNING`
- `ERROR`
- `FATAL`
- `EXCEPTION`

Use these levels to categorize your log messages appropriately.

## License

This project is licensed under the MIT License.
npm package: @logforge/pino-pretty-logger
Description: Useful pino logger and formatter with colorized output
Author: logforge
Latest version: 2.1.0

# @logforge/pino-pretty-logger

A colorized logger utility similar to pino-pretty with support for multiple log levels, timestamps, and formatted output.

## Installation

```bash
npm install @logforge/pino-pretty-logger
```

## Usage

```typescript
import { logger } from '@logforge/pino-pretty-logger';

logger.info('Application started');
logger.debug('Debug information', { key: 'value' });
logger.warn('Warning message');
logger.error('Error occurred', new Error('Something went wrong'));
logger.fatal('Fatal error');
```

## Log Levels

- `trace` - Detailed trace information
- `debug` - Debug information
- `info` - General information
- `warn` - Warning messages
- `error` - Error messages
- `fatal` - Fatal errors

## Features

- ✅ Colorized output for each log level
- ✅ Emoji icons for visual distinction
- ✅ ISO timestamp formatting
- ✅ TypeScript support
- ✅ Zero dependencies

## License

MIT