open-index/open-npm huggingface dataset:
npm package: @petah/maptoposter
Description: Generate beautiful map posters for any city
Latest version: 1.4.0

# Map Poster Generator

Generate beautiful map posters for any city using OpenStreetMap data.

> TypeScript port of the original [Python version](https://github.com/originalankur/maptoposter) by Ankur Gupta.

## Installation

```bash
npm install -g @petah/maptoposter
```

## Usage

```bash
# Generate a poster
maptoposter generate --city "Paris" --country "France"

# With options
maptoposter generate --city "Tokyo" --country "Japan" --theme midnight_blue --distance 15000

# List available themes
maptoposter list-themes
```

### Options

| Option | Short | Description | Default |
|--------|-------|-------------|---------|
| `--city` | `-c` | City name | (required) |
| `--country` | `-C` | Country name | (required) |
| `--theme` | `-t` | Theme name | `feature_based` |
| `--distance` | `-d` | Map radius in meters | `29000` |
| `--list-themes` | | List all available themes | |

### Distance Guide

| Distance | Best For |
|----------|----------|
| 4000-6000m | Small/dense cities (Venice, Amsterdam old center) |
| 8000-12000m | Medium cities, focused downtown (Paris, Barcelona) |
| 15000-20000m | Large metros, full city view (Tokyo, Mumbai) |

## Examples

```bash
# Iconic grid patterns
maptoposter generate -c "New York" -C "USA" -t noir -d 12000
maptoposter generate -c "Barcelona" -C "Spain" -t warm_beige -d 8000

# Waterfront & canals
maptoposter generate -c "Venice" -C "Italy" -t blueprint -d 4000
maptoposter generate -c "Amsterdam" -C "Netherlands" -t ocean -d 6000

# Radial patterns
maptoposter generate -c "Paris" -C "France" -t pastel_dream -d 10000

# Organic old cities
maptoposter generate -c "Tokyo" -C "Japan" -t japanese_ink -d 15000
maptoposter generate -c "Rome" -C "Italy" -t warm_beige -d 8000

# River cities
maptoposter generate -c "London" -C "UK" -t noir -d 15000
maptoposter generate -c "Budapest" -C "Hungary" -t copper_patina -d 8000
```

## Themes

Themes are stored as JSON files in the `themes/` directory. Each theme defines colors for:

- Background and text
- Gradient overlays
- Water features
- Parks and green spaces
- Road hierarchy (motorway, primary, secondary, tertiary, residential)

## Output

Generated posters are saved to the `posters/` directory as PNG files at 300 DPI (3600x4800 pixels).

## Data Sources

- Map data: [OpenStreetMap](https://www.openstreetmap.org/) via Overpass API
- Geocoding: [Nominatim](https://nominatim.openstreetmap.org/)

## License

MIT
npm package: @petah/shell-ai
Description: Let AI write your shell commands - TypeScript edition using OpenRouter
Author: petah
Latest version: 1.0.0

# Shell-AI (TypeScript)

A CLI utility that uses AI to suggest shell commands from natural language descriptions. TypeScript port using OpenRouter as the LLM provider.

Based on [shell-ai](https://github.com/ricklamers/shell-ai) by [Rick Lamers](https://github.com/ricklamers).

## Installation

```bash
# Run directly with npx (no install needed)
npx @petah/shell-ai list all files

# Or install globally
npm install -g @petah/shell-ai
```

## Usage

```bash
# Basic usage
shai list all docker containers

# With context mode (keeps command outputs for better suggestions)
shai --ctx show me running processes
```

## Configuration

Shell-AI can be configured through environment variables or a config file.

### Config File

Create a config file at:
- **Linux/macOS**: `~/.config/shell-ai/config.json`
- **Windows**: `%APPDATA%\shell-ai\config.json`

```json
{
  "OPENROUTER_API_KEY": "your_openrouter_api_key",
  "OPENROUTER_MODEL": "anthropic/claude-3.5-sonnet",
  "SHAI_SUGGESTION_COUNT": 3,
  "SHAI_TEMPERATURE": 0.05,
  "CTX": false
}
```

### Environment Variables

| Variable | Description | Default |
|----------|-------------|---------|
| `OPENROUTER_API_KEY` | Your OpenRouter API key (required) | - |
| `OPENROUTER_MODEL` | Model to use | `anthropic/claude-3.5-sonnet` |
| `SHAI_SUGGESTION_COUNT` | Number of suggestions | `3` |
| `SHAI_SKIP_CONFIRM` | Skip command confirmation | `false` |
| `SHAI_SKIP_HISTORY` | Skip writing to shell history | `false` |
| `SHAI_TEMPERATURE` | LLM temperature (0-1) | `0.05` |
| `CTX` | Enable context mode | `false` |
| `DEBUG` | Enable debug output | `false` |

## Available Models

OpenRouter supports many models. Some popular options:

- `anthropic/claude-3.5-sonnet` (default)
- `openai/gpt-4-turbo`
- `openai/gpt-3.5-turbo`
- `google/gemini-pro`
- `meta-llama/llama-3-70b-instruct`

See [OpenRouter Models](https://openrouter.ai/models) for the full list.

## Features

- Natural language to shell commands
- Dynamic command detection - automatically detects available commands on your system
- Interactive command selection
- Command confirmation before execution
- Shell history integration (zsh, bash, fish, etc.)
- Context mode for multi-step workflows
- Cross-platform support (Linux, macOS, Windows)

## License

MIT
npm package: @petalflow/cypress-integration
Description: Biblioteca de integração entre Cypress e PetalFlow para automação de testes
Author: Clayton
Latest version: 1.0.1

## petalflow/cypress-integration

Biblioteca de integração entre Cypress e PetalFlow para automação de testes.

## Instalação

```bash
npm install @petalflow/cypress-integration
```

## Configuração

No arquivo `cypress/support/e2e.js` ou `cypress/support/commands.js`, adicione:

```javascript

const petalflowCypress = require('@petalflow/cypress-integration');
const petalIt = petalflowCypress.petalIt;
petalflowCypress.setupCommands({
  token: 'seu-token-aqui',
})
```

## Uso

Nos seus testes Cypress, você pode usar o comando `cy.reportTestResult()` para reportar os resultados:

```javascript
describe("Teste login", () => {
  petalIt('CT_000', '/login', () => {
    // .... 
    // you test code here
    //....
  })
})
```

## Parâmetros

### setupCommands(config)
- `config.token`: Token de autenticação

### cy.reportTestResult(caseId, result)
- `caseId`: ID do caso de teste no PetalFlow
- `result`: Resultado do teste ('PASS' ou 'FAIL')

## Contribuição

Para contribuir com o projeto, por favor abra uma issue ou pull request no repositório.
npm package: @petals/basic
Description: CSS base styles for web apps
Author: Ourai Lin
Latest version: 0.0.4

English | [简体中文](./README.zh-CN.md)

# Petals basic

This package is the foundation of UI development, it includes:

- CSS base styles for web apps (based on [normalize.css](https://github.com/necolas/normalize.css) and [SUIT CSS base](https://github.com/suitcss/base))
- CSS utilities (based on [SUIT CSS utilities](https://github.com/suitcss/utils))
- Sass variables, functions and mixins (based on [Trick](https://github.com/ourai/trick))

I think you need to read more about [Petals](https://github.com/ourai/petals). ;-)
npm package: @petals/box
Description: Box component
Author: Ourai Lin
Latest version: 0.0.0

English | [简体中文](./README.zh-CN.md)

# Petals box

Box component.

## Installation

```
npm i -S @petals/box
```

## Usage

```html
<div class="Box">
  <ol>
    <li>Trick</li>
    <li>Petals</li>
    <li>Buds</li>
    <li>Handie</li>
    <li>???</li>
  </ol>
</div>
```

```html
<div class="Box">
  <div class="Box-header"></div>
  <div class="Box-body">
    <ol>
      <li>Trick</li>
      <li>Petals</li>
      <li>Buds</li>
      <li>Handie</li>
      <li>???</li>
    </ol>
  </div>
  <div class="Box-footer"></div>
</div>
```

```html
<div class="Box Box--fixedHeight" style="height: 150px;">
  <div class="Box-header">Fixed height header</div>
  <div class="Box-body">
    <ol>
      <li>Trick</li>
      <li>Petals</li>
      <li>Buds</li>
      <li>Handie</li>
      <li>???</li>
    </ol>
  </div>
  <div class="Box-footer">Fixed height footer</div>
</div>
```
npm package: @petamorikei/eagle-js
Description: Wrapper for Eagle API
Author: Petamori Kei
Latest version: 0.3.1

# eagle-js

Wrapper for Eagle API. Official API Document [here](https://api.eagle.cool/).

## Installation

```bash
npm install @petamorikei/eagle-js
```

## Requirements

- Node.js >= 22.0.0
- Eagle application running on localhost:41595

## Usage

```ts
import { EagleClient } from "@petamorikei/eagle-js";

const client = EagleClient.instance;

// Add item from URL
await client.addItemFromUrl({
  url: "https://example.com/image.jpg",
  name: "Example Image",
  tags: ["example"],
});

// Search items
const items = await client.getItemList({
  tags: ["example"],
  limit: 10,
});
```
npm package: @petamoriken/simpleidb
Description: Simple IndexedDB Wrapper
Author: Kenta Moriuchi
Latest version: 0.1.2

# SimpleIDB

[![Build Status](https://travis-ci.org/petamoriken/SimpleIDB.svg?branch=master)](https://travis-ci.org/petamoriken/SimpleIDB)
[![Greenkeeper badge](https://badges.greenkeeper.io/petamoriken/SimpleIDB.svg)](https://greenkeeper.io/)

Simple IndexedDB Wrapper

```console
npm install @petamoriken/simpleidb
yarn add @petamoriken/simpleidb
```
npm package: @petarblazevski/common
Description: ## Installation
Author: Petar Blazevski
Latest version: 0.2.1

# petar-common

## Installation

To install this library, run:

```bash
$ npm install petar-common --save
```

## Consuming your library

Once you have published your library to npm, you can import your library in any Angular application by running:

```bash
$ npm install petar-common
```

and then from your Angular `AppModule`:

```typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { SampleModule } from 'petar-common';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify your library as an import
    LibraryModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
```

Once your library is imported, you can use its components, directives and pipes in your Angular application:

```xml
<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<sampleComponent></sampleComponent>
```

## Development

To generate all `*.js`, `*.d.ts` and `*.metadata.json` files:

```bash
$ npm run build
```

To lint all `*.ts` files:

```bash
$ npm run lint
```

## License

MIT © [Petar Blazevski](mailto:petar.blazevski@gmail.com)
npm package: @petarslavnic/react-drag-scroll
Description: Auto scroll container while dragging element close to the edges
Author: Petar Slavnic
Latest version: 0.1.6

# React Drag Scroll

Auto scroll container while dragging element close to the edges.

## Installation

React Drag Scroll requires **React 16.8.0 or later.**

```
npm i react-drag-scroll
```

OR

```
yarn add react-drag-scroll
```
npm package: @petbee/prettier-config
Description: Petbee's shared prettier config
Latest version: 3.0.0

# `@petbee/prettier-config`

This package provides Petbee's `.prettierrc` shared config.

## Features (v3.0.0)

- ✅ **Prettier 3.6+** - Latest Prettier version
- ✅ **Auto-organize imports** - Using `prettier-plugin-organize-imports`
- ✅ **Consistent line endings** - LF line endings across all platforms
- ✅ **120 character line width** - Optimal for modern displays
- ✅ **Single quotes** - Consistent quote style
- ✅ **No semicolons** - Cleaner code appearance

## Installation

Give that you already have `prettier` installed, run:

```bash
yarn add -D @petbee/prettier-config
```

## Usage

After installing the module, add it to your `.prettierrc` configuration file:

```jsonc
"@petbee/prettier-config"
```

Or add it to your `package.json`:

```json
{
  ...
  "prettier": "@petbee/prettier-config"
  ...
}
```

Differently from `eslint`, `prettier` shared presets are not extensible, so if you want to override some property, which is not encouraged, you'll need to use the `.prettierrc.js` file.

For more information about configuring `prettier`, please check the [Prettier configuration documentation](https://prettier.io/docs/en/configuration.html).

## References

- [`prettier` options documentation](https://prettier.io/docs/en/options.html)
npm package: @petchkubbb/eslint-config-petchkubbb
Description: This Config is Support code format in React JS|TS and React Native
Author: Petchkubbb
Latest version: 0.2.17

# eslint-config-petchkubbb
This Config is Support code format in React JS|TS and React Native

https://www.npmjs.com/package/@petchkubbb/eslint-config-petchkubbb