open-index/open-npm huggingface dataset:
npm package: @nicolalopatriello/galileo
Description: Angular UI Kit built to fast and easy development of user interfaces
Author: Nicola Lopatriello
Latest version: 0.1.158

# Galileo

## What is Galileo?
**Galileo** is an Angular UI Kit built to fast and easy development of user interfaces.
It is built on top of Bootstrap 4.0

## Dependencies

The supported versions are:

| galileo  | Angular | Bootstrap CSS | ng-bootstrap | @fortawesome/angular-fontawesome  | ng-sidebar  |
| ------------ | ------- | ------------- | -------------| ----------------------------------| ------------|
| 0.x.x        | 10.1.1  | 4.0.0         |  6.0.2       |    0.7.x                           |  9.2.1      |

## Features
* Real time themes switcher
* Forms with errors message setup system
* Layouts for authentication and dashboard
* Sidebar
* Breadcrumb
* Table component with clientSide and serverSide (_Spring_) mechanism
* HttpInterceptor with addToken() and refreshToken() mechanism
* Validators
* Some others useful component (e.g gll-cards)

## Run example project
* `npm i`
* `ng serve`

## Install Galileo
* `npm i --save @nicolalopatriello/galileo`
npm package: @nicolalopatriello/i18n-analyzer
Description: A i18n analyzer tool
Author: Your Name
Latest version: 1.0.2

# i18n-analyzer

![Terminal Session GIF](docs/demo.gif)

**i18n-analyzer** is a tool designed to optimize and validate file-based internationalization (i18n) runtime translations. It helps developers maintain clean, efficient, and consistent translation files by performing automated checks on your i18n files.

---

## Features

### Validation Checks

- **File-Mismatch**: Identifies missing keys or extra keys between the base language file and other language files.
- **Empty-Values**: Flags keys with empty or undefined values in any language file.
- **Unused-keys**: Detects translation keys in the base language file that are not used in your codebase.

---

## Installation

To use **i18n-analyzer**, install it via npm:

```bash
npm install --save @nicolalopatriello/i18n-analyzer
```

## Configuration
The tool requires a configuration file to run. This file tells the analyzer where your translation files are located and which file to use as the base language.

### Configuration File Format
Create a configuration file (e.g., .i18nanalyzer.json) in the root folder of your project. The file should have the following structure:

```
{
    "langFolder": "./libs/shared-assets/i18n", // Path to the folder containing your language files
    "baseLang": "./libs/shared-assets/i18n/it.json" // Path to your base language file (e.g., Italian)
}
```

## Usage

After setting up the configuration, run the analyzer with the following command:

> i18n-analyzer <config-file-name>
npm package: @nicolalopatriello/msw-openapi
Description: An msw openapi handler
Author: Nicola Lopatriello
Latest version: 1.3.0

# msw-openapi


**msw-openapi** use `msw` library, `OPENAPI` spec and `faker.js` to generate all handlers.

## Why?
To easily integrate `msw` handlers from `openapi` specifications.

---

## Installation

To use **msw-openapi**, install it and other packages via npm:

```bash
npm i --save-dev @nicolalopatriello/msw-openapi
npm i --save-dev msw
npm i --save-dev @faker-js/faker
npm i --save-dev ollama
```

## Using AI Features with Ollama

To enable AI-based handler generation, you need to set up an Ollama instance. The easiest way to do this is by running it in a Docker container.

```
docker run -d \
  -v ollama:/root/.ollama \
  -p 11434:11434 \
  -e OLLAMA_ORIGINS=* \
  --name ollama \
  ollama/ollama 
```

```
docker exec -it ollama ollama run gemma2:2b 
```

## Usage

For `help` run `msw-openapi --help`

> msw-openapi --swagger-url "http://localhost:3002" --mock-base-url "http://msw-server.local" --output-dir "./libs/core/api-client/msw" --with-ai --ollama-host "http://locahost:11434"


* Edit your `main.ts` file as follow:

> `ALL_HANDLERS` file will be available in `output-dir` folder set in `msw-openapi` command

```
import {ALL_HANDLERS} from '@gfm/core';
...

async function prepareApp() {
  if (isDevMode()) {
    return setupWorker(...ALL_HANDLERS).start({
      onUnhandledRequest: "bypass"
    })
  }
  return Promise.resolve()
}

prepareApp().then(() => {
  bootstrapApplication(AppComponent, appConfig).catch((err) =>
    console.error(err)
  );
})

```

* Add `mockServiceWorker.js` file to `project.json`->`assets` section

> `ALL_HANDLERS` file will be available in `output-dir` folder set in `msw-openapi` command

```
...
       "assets": [
         {
            "glob": "mockServiceWorker.js",
            "input": "<output-dir>",
            "output": "/"
          },
...         
```
* Trust host
> Be sure to add host to trusted host in Chrome: http://msw-server.local

# Release
Run following commands to release a new version
```
npm run ci
git add .
git commit -m <msg>
npx changeset
npm run local-release
git push origin <branch>
```
npm package: @nicolas-dmg/logger
Description: A simple logger built with Chalk.
Author: Nicolas Dommanget-Muller
Latest version: 1.0.0

# Nicolas-dmg - Logger

A simple logger built with chalk.

## Installation

```bash
npm i @nicolas-dmg/logger
```

## Usage

```js
import logger from '@nicolas-dmg/logger';

logger.error("Your message");
```

## About me

<table style="border: none;">
  <tr>
    <td>
      <div style="width: 120px;">
        <img width="120" src="https://avatars1.githubusercontent.com/u/46563166?s=460&u=8d851cf38c28b0f78cbacdccaa9f332e73687f52&v=4"/>
    </div>
    </td>
    <td>
      <div style="margin-left: 30px;">
        <p>Hey there !</br>
        I am Nicolas, Software engineer <a href="https://mailjet.com/">@mailjet</a> the day, side projects the night.
        </br>
        If you have any question you can <a href="http://go.nicolas-dmg.fr/in">contact me</a> 😃.</p>
        <p>I'm always ready to help !</p>
        <a href="mailto:contact@nicolas-dmg.fr?subject=Hey! Are you available?">Email me</a>
        &nbsp;
        <a href="http://go.nicolas-dmg.fr/dev" rel="noopener noreferrer" target="_blank">Visit my website</a>
        &nbsp;
        <a href="http://go.nicolas-dmg.fr/in" rel="noopener noreferrer" target="_blank">Connect with me</a>
    </div>
    </td>
  </tr>
</table>

---

## License

[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)

- **[MIT license](http://opensource.org/licenses/mit-license.php)**
- Copyright 2019-2023 © <a href="https://nicolas-dmg.fr/" target="_blank">Nicolas Dommanget</a>.
npm package: @nicolas-gandon/logger
Description: logger
Author: nicolas gandon
Latest version: 1.0.2

# Logger

## Instalation

```

npm install @nicolas-gandon/Logger

```

# Usage

``` javascript 
const {log, error, info} = require ('@nicolas-gandon/Logger')

const username = 'Nicolas'
const age = 27
info('bonjour %s, tu a %s ans \n', username, age)
error('une erreur')
log('blabla')

```

# License 

MIT