open-index/open-npm huggingface dataset:
npm package: @iglu-sh/common
Description: This Library provides common functionality that is shared across multiple Iglu packages. It currently includes this: - A set of common Database Connection utilities - The setup functionality for initializing the Iglu Database - And Database Access Classes
Latest version: 0.0.2

# Iglu Common Library
This Library provides common functionality that is shared across multiple Iglu packages.
It currently includes this:
- A set of common Database Connection utilities
- The setup functionality for initializing the Iglu Database
- And Database Access Classes that provide convenient access to the Iglu Database

Documentation for each of these components can be found on [[https://docs.iglu.sh|https://docs.iglu.sh]].
npm package: @iglu-sh/logger
Description: This is the logger library for all parts of the [Iglu Project](https://github.com/iglu-sh).
Latest version: 1.0.4

# iglu-logger
## Description
This is the logger library for all parts of the [Iglu Project](https://github.com/iglu-sh).

It does **NOT** create log files, it only prints beautiful messages on the CLI.

You can find this lib on [npmjs.com](https://www.npmjs.com/package/@iglu-sh/logger).

## How to use?
### Installation
```bash
# bun
bun add @iglu-sh/logger

# npm
npm install @iglu-sh/logger
```
### Settings

```javascript
import Logger from "@iglu-sh/logger";

// Default value
Logger.useEnvVars = true; // Enable configuration via env variables
Logger.logLevel = 1; // Could be set via LOG_LEVEL env (only if Logger.useEnvVars is set to true, must be one of: INFO, DEBUG, ERROR or WARN)
Logger.jsonLogging = true; // Could be set via the LOGGER_JSON env (only if Logger.useEnvVars is set to true, must be one of: true or false)
```
### Functions
```javascript
import Logger from "@iglu-sh/logger";

// Generic logging
Logger.error("This is a error message!");
Logger.debug("This is a debug message!");
Logger.info("This is a info message!");
Logger.warn("This is a warn message!");

// REST-API logging
Logger.logRequest("/api/v1/example", "GET");
Logger.logResponse("/api/v1/example", "GET", 200);
```

## Development
To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

## Environment variables
The Following environment variables can be used to configure the logger:  
One Important note: If you set `LOGGER_USE_ENV` to `false`, the logger will not use any environment variables, and you must set the values in code.

| Variable              | Description                                                          |
|-----------------------|----------------------------------------------------------------------|
| `LOG_LEVEL`           | The Level to Log variables for, may be DEBUG INFO WARN or ERROR      |
| `LOGGER_USE_ENV`      | Specifies if the Logger should use env vars                          |
| `LOGGGER_JSON`        | Specifies if the Logger should log in JSON format                    |
| `LOGGER_PREFIX`       | The prefix to use for the logger, defaults to an empty string        |
| `LOGGER_PREFIX_COLOR` | The color to use for the prefix, defaults to `BLUE`                  |
| `LOGGER_LOG_FILE`     | Specify weather the logger should log to a file, defaults to `false` |

## License
This project is licensed under the GLWTS(Good Luck With That Shit, No LLMs) Public License. For more information see the LICENSE file in this repo
npm package: @iglu-sh/types
Description: This project includes all types that are shared between the Iglu Projects. It includes these namespaces: - `@iglu-sh/types/core`: Contains the core types used in Iglu (basic types, enums, etc.). This package should be used in all Iglu projects. - `@iglu-s
Latest version: 0.1.33

# Iglu Types
This project includes all types that are shared between the Iglu Projects.
It includes these namespaces:
- `@iglu-sh/types/core`: Contains the core types used in Iglu (basic types, enums, etc.). This package should be used in all Iglu projects.
- `@iglu-sh/types/scheduler`: Contains types related to the Iglu Builder Scheduler.
- `@iglu-sh/types/builder`: Contains types related to the Iglu Builder.
- `@iglu-sh/types/cache`: Contains types related to the Iglu Cache.
- `@iglu-sh/types/controller`: Contains types related to the Iglu Controller.