open-index/open-npm huggingface dataset:
npm package: @hemia/network-services
Description: Hemia Network Services Managment
Author: Hemia Technologies
Latest version: 0.0.3


## ![Network](https://raw.githubusercontent.com/Khr0x/hemia-assets/babcb191d4737f7a501349e6f73319714bad83bb/hemia-network.png)
# @hemia/network-services

Contenedor ligero y extensible para Axios, diseñado para simplificar las solicitudes a APIs en tus aplicaciones. Soporta autenticación mediante token, manejo unificado de errores, carga de archivos y configuración de interceptores personalizados.

## Características

* Basado en Axios
* Soporte para autorización con token
* Manejo centralizado de solicitudes
* Interceptores personalizables
* Carga de archivos con seguimiento de progreso
* API simple y consistente para `GET`, `POST`, `PUT`, `DELETE`, `UPLOAD`

## Instalación

```bash
npm install @hemia/network-services
```

## Uso

```ts
import { HMNetworkServices } from '@hemia/network-services';

const api = new HMNetworkServices('https://api.example.com', 'tu_token_aquí', true);

// GET
const response = await api.get('/users');

// POST
const response = await api.post('/users', { name: 'John Doe' });

// PUT
const response = await api.put('/users/123', { name: 'Jane Doe' });

// DELETE
const response = await api.delete('/users/123');

// UPLOAD
const formData = new FormData();
formData.append('file', file);
const response = await api.upload('/files', formData);

// UPLOAD con progreso
await api.uploadWithProgress('/files', formData, (progress) => {
  console.log(`Progreso de carga: ${progress.toFixed(2)}%`);
});

// Actualizar el token de forma dinámica
await api.updateToken('nuevo_token');

// Agregar interceptores personalizados
api.useInterceptors((axiosInstance) => {
  axiosInstance.interceptors.request.use(config => {
    // Modificar la configuración si es necesario
    return config;
  });
});
```

## API

### `constructor(baseURL: string, token?: string, allowCredentials?: boolean)`

Inicializa el cliente de la API.

### `get<T>(url: string, config?: AxiosRequestConfig)`

Realiza una solicitud GET.

### `post<T>(url: string, data: any, config?: AxiosRequestConfig)`

Realiza una solicitud POST.

### `put<T>(url: string, data: any, config?: AxiosRequestConfig)`

Realiza una solicitud PUT.

### `delete<T>(url: string, config?: AxiosRequestConfig)`

Realiza una solicitud DELETE.

### `upload<T>(url: string, formData: FormData, config?: AxiosRequestConfig)`

Realiza una carga de archivos.

### `uploadWithProgress<T>(url: string, formData: FormData, onProgress?: (progress: number) => void, config?: AxiosRequestConfig)`

Carga archivos y realiza seguimiento del progreso.

### `updateToken(token: string)`

Actualiza el token de autorización (Bearer Token).

### `useInterceptors(configure: (axios: AxiosInstance) => void)`

Inyecta interceptores personalizados para Axios.

## Licencia

Licencia MIT — Hemia Technologies
npm package: @hemia/workflow-node-http
Description: Cliente HTTP para flujos de trabajo en Node.js
Author: Hemia Technologies
Latest version: 0.0.4


# @hemia/workflow-node-http

Cliente HTTP para flujos de trabajo en Node.js. Permite realizar peticiones HTTP como parte de un workflow Hemia, soportando autenticación, headers personalizados, variables de entorno y almacenamiento de resultados.

---

## 📦 Instalación

```bash
npm install @hemia/workflow-node-http
```

---

## 🚀 Uso básico

```typescript
import { httpNode } from '@hemia/workflow-node-http';

// Dentro de un workflow Hemia:
const result = await httpNode.execute({
  method: 'GET',
  url: 'https://api.example.com/data',
  headers: { 'Authorization': 'Bearer <token>' },
  saveAs: 'apiResult'
}, context);
```

---

## ⚙️ Parámetros soportados

| Parámetro | Tipo | Descripción |
|-----------|------|-------------|
| `method`  | string | Método HTTP (`GET`, `POST`, `PUT`, `DELETE`, `PATCH`) |
| `url`     | string | URL de la petición |
| `headers` | object | Headers personalizados opcionales |
| `body`    | any    | Cuerpo de la petición (para POST/PUT/PATCH) |
| `timeout` | number | Timeout en milisegundos (por defecto 10000) |
| `env`     | object | Variables de entorno a resolver antes de la petición |
| `auth`    | object | Autenticación: `{ type, username, password, token }` |
| `saveAs`  | string | Nombre de variable en el contexto para guardar la respuesta |

---

## 🧩 Integración con Hemia Workflow

Este paquete está diseñado para usarse como nodo dentro de la plataforma Hemia Workflow. Puedes integrarlo en tus flujos para consumir APIs externas y manipular los resultados en el contexto del workflow.

---

## 🛠️ Scripts disponibles

| Script           | Descripción                      |
|------------------|----------------------------------|
| `npm run build`  | Compila el paquete con Rollup     |
| `npm run test`   | Ejecuta pruebas con Jest         |
| `npm run clean`  | Limpia la carpeta `dist/`        |

---

## 🔍 Archivos generados

- `dist/hemia-workflow-node-http.js`
- `dist/hemia-workflow-node-http.esm.js`
- `dist/types/`

---

## 📄 Licencia

MIT

---

## 📝 Generado con Hemia CLI
npm package: @hemia/workflow-node-validator
Description: Nodo de validación para Hemia Workflow: evalúa reglas declarativas con JEXL.
Author: Hemia Technologies
Latest version: 0.0.2

# @hemia/workflow-node-validator

Nodo de validación para Hemia Workflow. Evalúa reglas declarativas (JEXL) contra las variables del contexto (`variables`).

## Instalación

```bash
npm install @hemia/workflow-node-validator
```

## Uso

```ts
import { NodeRegistry } from '@hemia/workflow-engine';
import { validatorNode } from '@hemia/workflow-node-validator';

const registry = new NodeRegistry();
registry.register('validator', validatorNode);
```

En tu workflow:

```json
{
  "id": "vacation-request-flow",
  "name": "Solicitud de Vacaciones",
  "steps": [
    {
      "id": "validateInput",
      "type": "validator",
      "params": {
        "rules": [
          "input.startDate < input.endDate",
          "input.employeeId != null",
          "input.email != null"
        ]
      },
      "next": [{ "id": "checkVacationBalance" }]
    }
  ]
}
```

## Parámetros
- `rules: string[]` Reglas JEXL; si alguna falla, el nodo falla.
- `allMustPass?: boolean` (default true). Si false, basta que una pase para éxito.
- `failCode?: string` Código de error personalizado.

## Ejemplos adicionales

### 1) Validar con allMustPass = false (con que una pase es suficiente)
```json
{
  "id": "validateAny",
  "type": "validator",
  "params": {
    "allMustPass": false,
    "rules": [
      "input.managerApproved == true",
      "input.hrApproved == true"
    ]
  },
  "next": [{ "id": "continue" }]
}
```

### 2) Personalizar el código de error (failCode)
```json
{
  "id": "validateInput",
  "type": "validator",
  "params": {
    "failCode": "INPUT_INVALID",
    "rules": [
      "input.requestedDays > 0",
      "input.employeeId != null"
    ]
  },
  "error": { "next": "handleError" }
}
```

### 3) Usar la salida del validator en condiciones posteriores
El engine guarda la salida en `variables.output_<stepId>`. Puedes usarla en `next.condition`:
```json
{
  "id": "validateInput",
  "type": "validator",
  "params": { "rules": ["input.requestedDays > 0"] },
  "next": [{ "id": "callApi", "condition": "output_validateInput.passed == true" }]
}
```

### 4) Transforms JEXL en reglas
Si registras transforms globales en `@hemia/workflow-core`, puedes usarlos dentro de las reglas:
```ts
import { registerJexlTransforms } from "@hemia/workflow-core";
registerJexlTransforms({ toLower: (s: any) => (s ?? "").toString().toLowerCase() });
```
Regla de ejemplo:
```json
{
  "id": "validateDept",
  "type": "validator",
  "params": {
    "rules": ["(input.department | toLower) == 'hr'"]
  }
}
```

Notas:
- Si `allMustPass` es true, el nodo falla en la primera regla no cumplida.
- Con `allMustPass` en false, si ninguna regla pasa, el nodo falla.
- El error incluye detalles de la regla que falló (`details`).
npm package: @hemiao7/fed-cli
Description: 前端脚手架
Author: HeMiaoqing
Latest version: 1.0.3

# FED-cli
自用前端脚手架
  
## 安装及使用
全局安装`fed-cli`
```
npm i @hemiao7/fed-cli -g
```
安装之后，你就可以在命令行中访问`fed`命令。你可以通过简单运行`fed`，看看是否展示出了一份所有可用命令的帮助信息，来验证它是否安装成功。  

## 创建一个项目
### fed create
运行以下命令来创建一个新项目：
```
fed create my-app
```
目前只提供了`Vue + Vuex + Vant UI`的模板，其他模板待完善......
npm package: @hemicycle/core
Description: Core hemicycle.dev layout computations
Author: Gabriel Vidal
Latest version: 0.1.5

# @hemicycle/core

[![npm version](https://img.shields.io/npm/v/@hemicycle/core)](https://www.npmjs.com/package/@hemicycle/core)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Node.js >=18](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org/)

> Core layout engine for rendering parliament-style hemicycle seat charts.

`@hemicycle/core` computes the geometry for concentric arc seating arrangements — the kind used to visualize parliaments, assemblies, and any fan-shaped seat layout. Given a seat count and a few sizing parameters, it returns precise coordinates and indices for every seat, ready to render in SVG, Canvas, or any visualization library.

---

## Features

- **Flexible seat distribution** — automatically distributes seats across rows proportional to arc length, or accepts a custom `seatsPerRow` array
- **Aisles support** — insert radial (angular) aisles and/or arc (concentric) aisles to create realistic chamber layouts
- **Mirroring** — horizontally flip the layout for alternative orientations
- **Radial & row ordering** — choose between row-major or radial-major seat indexing to match your data
- **Data mapping** — attach arbitrary data objects to seats by index or by `(rowIndex, seatIndex)` coordinate
- **TypeScript-first** — fully typed with ESM and CJS dual output
- **Zero runtime dependencies** on rendering libraries — outputs plain coordinate objects

---

## Installation

```bash
npm install @hemicycle/core
```

Requires **Node.js ≥ 18**.

---

## Quick Start

```ts
import { Hemicycle } from "@hemicycle/core";

// 1. Create an engine with your layout config
const hemicycle = new Hemicycle({
  rows: 7,
  totalSeats: 577, // e.g. French Assemblée nationale
  innerRadius: 40,
  outerRadius: 95,
  totalAngle: 180,
});

// 2. Get the computed seat positions
const layout = hemicycle.getSeatsLayout();

// Each seat contains coordinates and indices
// layout[0] → { idx, radialIdx, rowIndex, seatIndex, x, y, innerR, outerR, angle1Rad, angle2Rad }
```

---

## Support

- **Issues**: [GitHub Issues](https://github.com/GabrielVidal1/hemicycle/issues)
- **Source**: [github.com/GabrielVidal1/hemicycle](https://github.com/GabrielVidal1/hemicycle)

---

## Maintainer

**Gabriel Vidal** — [gvidalayrinhac@gmail.com](mailto:gvidalayrinhac@gmail.com)

---

## License

[MIT](LICENSE)
npm package: @hemilabs/permit2-sdk
Description: An sdk for interacting with permit2.
Latest version: 1.2.0-beta.1

# @uniswap/permit2-sdk - Now at `Uniswap/sdks`

All versions after 1.2.0 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/permit2-sdk)! Please file all future issues, PR’s, and discussions there.

### Old Issues and PR’s

If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.
npm package: @hemilabs/react-hooks
Description: Set of reusable hooks for Hemilabs apps with React and Typescript
Author: Gonzalo D'Elia
Latest version: 1.5.0

# @hemilabs/react-hooks

[![NPM version](https://img.shields.io/npm/v/@hemilabs/react-hooks)](https://www.npmjs.com/package/@hemilabs/react-hooks) [![Package size](https://img.shields.io/bundlephobia/minzip/@hemilabs/react-hooks)](https://bundlephobia.com/package/@hemilabs/react-hooks) [![Follow Hemi on X](https://img.shields.io/twitter/url?url=https%3A%2F%2Fx.com%2Fhemi_xyz&style=flat&logo=x&label=%40hemi_xyz&labelColor=%23ff6c15&color=%230a0a0a)](https://x.com/intent/follow?screen_name=hemi_xyz)

Set of reusable hooks for Hemilabs apps with React and Typescript

## Installation

Make sure the peer dependencies list is installed

```sh
npm install @tanstack/react-query viem viem-erc20 wagmi @hemilabs/wallet-watch-asset
```

then install

```sh
npm install @hemilabs/react-hooks
```

## Hooks Reference

| Hook Name                          | Source File                                                                       |
| ---------------------------------- | --------------------------------------------------------------------------------- |
| useAddTokenToWallet                | [useAddTokenToWallet](./src/useAddTokenToWallet.ts)                               |
| useAllowance                       | [useAllowance](./src/useAllowance.ts)                                             |
| useDebounce                        | [useDebounce](./src/useDebounce.ts)                                               |
| useEnsureConnectedTo               | [useEnsureConnectedTo](./src/useEnsureConnectedTo.ts)                             |
| useEstimateApproveErc20Fees        | [useEstimateApproveErc20Fees](./src/useEstimateApproveErc20Fees.ts)               |
| useEstimateFees                    | [useEstimateFees](./src/useEstimateFees.ts)                                       |
| useNativeBalance                   | [useNativeBalance](./src/useNativeBalance.ts)                                     |
| useTokenBalance                    | [useTokenBalance](./src/useTokenBalance.ts)                                       |
| useUpdateNativeBalanceAfterReceipt | [useUpdateNativeBalanceAfterReceipt](./src/useUpdateNativeBalanceAfterReceipt.ts) |
| useNeedsApproval                   | [useNeedsApproval](./src/useNeedsApproval.ts)                                     |
| useOnClickOutside                  | [useOnClickOutside](./src/useOnClickOutside.ts)                                   |
| useOnKeyUp                         | [useOnKeyUp](./src/useOnKeyUp.ts)                                                 |
| useTotalSupply                     | [useTotalSupply](./src/useTotalSupply.ts)                                         |
| useWindowSize                      | [useWindowSize](./src/useWindowSize.ts)                                           |
npm package: @hemilabs/sdk-core
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 4.2.0-beta.5

# Uniswap SDK Core

[![Unit Tests](https://github.com/Uniswap/uniswap-sdk-core/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-sdk-core/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk-core/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk-core/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk-core/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk-core@latest)

This code is shared across Uniswap TypeScript SDKs.
npm package: @hemilabs/token-list
Description: List of ERC-20 tokens in the Hemi chains
Author: Gabriel Montes
Latest version: 2.7.4

# @hemilabs/token-list

![NPM Version](https://img.shields.io/npm/v/%40hemilabs%2Ftoken-list)

List of ERC-20 tokens in the Hemi chains.

## Usage

Obtain the latest version of the token list from directly from GitHub:

```sh
wget https://github.com/hemilabs/token-list/blob/master/src/hemi.tokenlist.json
```

Or install it as an NPM package:

```sh
npm install @hemilabs/token-list
```

and then use it in your code:

```js
const hemiTokenList = require("@hemilabs/token-list");
```

## Adding a New Token to the List

To add a new token to the list just follow [this guide](./docs/add-new-token.md)
npm package: @hemilabs/wallet-watch-asset
Description: A library for watching and managing assets in a cryptocurrency wallet.
Author: Gabriel Montes
Latest version: 1.0.2

# @hemilabs/wallet-watch-asset

A JavaScript library for adding ERC20 tokens to EIP-747 compatible wallets like MetaMask. This package provides a simple way to help users track new tokens in their wallet.

## Installation

```bash
npm install @hemilabs/wallet-watch-asset
```

## Usage

The library provides a simple function to add an ERC20 token to a user's wallet watch list:

```javascript
const watchAsset = require("@hemilabs/wallet-watch-asset");

// Example token (in Uniswap Token List format)
const token = {
  address: "0x1234567890123456789012345678901234567890",
  chainId: 1,
  decimals: 18,
  name: "My Token",
  symbol: "MTK",
  logoURI: "https://example.com/token-logo.png", // optional
};

// Using with MetaMask or other EIP-1193 provider
try {
  const success = await watchAsset(
    window.ethereum, // provider
    "0xUserAddress", // user's account
    token,
    localStorage, // optional, to track already-watched tokens
  );

  if (success) {
    console.log("Token added to watch list!");
  }
} catch (error) {
  console.error("Failed to add token:", error);
}
```

## API

### `watchAsset(provider, account, token, storage?)`

Helps EIP-747 compatible wallets track ERC20 assets.

#### Parameters

- `provider` (Provider): An EIP-1193 compatible provider (e.g., `window.ethereum`)

  - Must have a `request` method
  - `isMetaMask` property is checked to ensure compatibility

- `account` (string): The Ethereum address that will watch the token (must be in the format `0x...`)

- `token` (Token): The token to watch (follows Uniswap Token List format)

  - `address` (string): The token contract address (must be in the format `0x...`)
  - `chainId` (number): The chain ID where the token is deployed
  - `decimals` (number): The number of decimals for the token
  - `name` (string): The name of the token
  - `symbol` (string): The symbol for the token
  - `logoURI` (string, optional): A URI to the token logo asset

- `storage` (Storage, optional): Storage interface to track already-watched tokens (e.g., `localStorage`)

#### Returns

- `Promise<true>`: Resolves to `true` when the asset is successfully added to the watch list

#### Throws

- Throws an error if the wallet doesn't support EIP-747 or if the token addition fails
npm package: @hemingway_at/vue-screen-adaptation
Description: A screen adaptation solution.
Author: hemingway_at
Latest version: 2.0.0

# `useScreenAdaptation`: Vue3 Screen Adaptation Tool

**`useScreenAdaptation`** is a screen adaptation tool for Vue3 projects that automatically adjusts the size and scaling of your application container and its content based on specified design dimensions and offset ratios, ensuring optimal layout across various screen resolutions.

## Installation and Import

First, ensure your project has Vue3 and the [@vueuse/core](https://vueuse.org/) library installed. If not, run the following commands:
```bash
npm install vue@next @vueuse/core
# or using yarn
yarn add vue@next @vueuse/core
```


## Usage

```vue
<script setup lang="ts">
import useScreenAdaptation from '@hemingway_at/vue-screen-adaptation'

const { el } = useScreenAdaptation({   
  designWidth: 1920,
  designHeight: 1080,
  widthOffsetRatio: 0.3,
  heightOffsetRatio: 0.1, 
  isProduction: import.meta.env.PROD)
}
</script>

<template>
  <div class="container" ref="el">
    <div
        class="layout"
      >
        <!-- Place your application content here -->
      </div>
  </div>
</template>
```
npm package: @hemith/react-native-naver-login
Description: React Native Module for Naver Login
Author: hemith
Latest version: 2.1.2

# @hemith/react-native-naver-login

[![npm version](http://img.shields.io/npm/v/@hemith/react-native-naver-login.svg?style=flat-square)](https://npmjs.org/package/@hemith/react-native-naver-login)
[![downloads](http://img.shields.io/npm/dm/@hemith/react-native-naver-login.svg?style=flat-square)](https://npmjs.org/package/@hemith/react-native-naver-login)
[![license](http://img.shields.io/npm/l/@hemith/react-native-naver-login.svg?style=flat-square)](https://npmjs.org/package/@hemith/react-native-naver-login)


아래 에러를 해결하는 android/build.gradle 파일을 포함합니다.

```
FAILURE: Build failed with an exception. 

* What went wrong:
Execution failed for task ':react-native-naver-login:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  /Users/opensrc/git/aty/dillydilly/node_modules/react-native-naver-login/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  /Users/opensrc/git/aty/dillydilly/node_modules/react-native-naver-login/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  /Users/opensrc/git/aty/dillydilly/node_modules/react-native-naver-login/android/build/intermediates/res/merged/release/values/values.xml:2714: error: resource android:attr/fontVariationSettings not found.
  /Users/opensrc/git/aty/dillydilly/node_modules/react-native-naver-login/android/build/intermediates/res/merged/release/values/values.xml:2715: error: resource android:attr/ttcIndex not found.
  error: failed linking references.
```
npm package: @hemith/react-native-tnk
Description: tnkfactory sdk
Author: aty
Latest version: 0.1.8

# react-native-tnk

tnkfactory ad 

## Installation

```sh
npm install react-native-tnk
```

## Usage

```js
import Tnk from "react-native-tnk";

// ...

const result = await Tnk.multiply(3, 7);
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
npm package: @hemmings/vue2-dropzone
Description: A wrapper around Dropzone.js for Vue 2
Latest version: 3.7.3

# vue-dropzone

**CO-MAINTAINERS WANTED**
This component has far outgrown my initial expectations and I'm not able to provide the amount of support that users require. If you'd like to help out with it's maintenance drop a [note on this issue](https://github.com/rowanwins/vue-dropzone/issues/473)

A Vue component for file uploads, powered by [Dropzone.js](http://www.dropzonejs.com/). [Check out the demo](https://rowanwins.github.io/vue-dropzone/docs/dist/index.html).

A **Nuxt SSR-compatible** component can be found at [npm](https://www.npmjs.com/package/nuxt-dropzone) and [github](https://github.com/Etheryte/nuxt-dropzone). Thanks to [@Etheryte](https://github.com/Etheryte)

---

![](https://i.imgur.com/kUbjks1.gif)

## Development

``` bash
# install your dependencies
npm install

# install vue-dropzone
npm install vue2-dropzone

(or with yarn)

yarn add vue2-dropzone

# Execute dependencies script 
npm run dev

# serve example and docs at localhost:8080
npm run start

# build any changes made
npm run build
```