open-index/open-npm huggingface dataset:
npm package: @francomelandri/url-builder
Description: url builder
Author: Franco Melandri
Latest version: 1.0.2

# url-builder

[![Build Status](https://travis-ci.org/FrancoMelandri/url-builder.svg?branch=master)](https://travis-ci.org/FrancoMelandri/url-builder) [![NPM version](https://img.shields.io/npm/v/@francomelandri/url-builder.svg?style=flat)](https://www.npmjs.com/package/@francomelandri/url-builder) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Small node package to build an URL  starting form a template like this:

```
{{protocol}}://{{host}}/{{isocode}}/{{path}}
```

How to use:

```javascript
    test('should return url with query string parameter', () => {
        let url = sut()
            .withHost('www.example.com')
            .withIso('it')
            .withPath('/login')
            .withQueryParameter('returnUrl', '/')
            .build();

        expect(url).toBe('https://www.example.com/it/login?returnUrl=/');
    });
```

To run the test:

```bash
> npm test
```
npm package: @francopenesi/protocol-kit
Description: SDK that facilitates the interaction with Safe Smart Accounts
Author: Safe
Latest version: 4.1.1

# Protocol Kit

[![npm Version](https://badge.fury.io/js/%40safe-global%2Fprotocol-kit.svg)](https://badge.fury.io/js/%40safe-global%2Fprotocol-kit)
[![GitHub Release](https://img.shields.io/github/release/safe-global/safe-core-sdk.svg?style=flat)](https://github.com/safe-global/safe-core-sdk/releases)
[![GitHub](https://img.shields.io/github/license/safe-global/safe-core-sdk)](https://github.com/safe-global/safe-core-sdk/blob/main/LICENSE.md)

Software development kit that facilitates the interaction with [Safe Smart Accounts](https://github.com/safe-global/safe-smart-account) using a TypeScript interface. This Kit can be used to create new Safe accounts, update the configuration of existing Safes, create and execute transactions, among other features.

## Table of contents

- [Documentation](#documentation)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Need Help or Have Questions?](#need-help-or-have-questions)
- [Contributing](#contributing)
- [License](#license)

## Documentation

Head to the [Protocol Kit docs](https://docs.safe.global/sdk/protocol-kit) to learn more about how to use this SDK.

## Installation

Install the package with yarn or npm:

```bash
yarn add @safe-global/protocol-kit
npm install @safe-global/protocol-kit
```

## Quick Start

- `provider`: You can set an EIP-1193 compatible provider or an HTTP/WebSocket RPC URL.
- `signer`: This is an optional parameter. It should be the provider's address you want to use or a private key. If not set, it will try to fetch a connected account from the provider.

Loading an already deployed Safe, using the `safeAddress` property:

```js
import Safe from '@safe-global/protocol-kit'

const protocolKit = await Safe.init({
  provider,
  signer,
  safeAddress
})
```

Initialization of an undeployed Safe using the `predictedSafe` property. Because Safes are deployed in a deterministic way, passing a `predictedSafe` will allow to initialize the SDK with the Safe configuration and use it to some extent before it's deployed:

```js
import Safe, { PredictedSafeProps } from '@safe-global/protocol-kit'

const predictedSafe: PredictedSafeProps = {
  safeAccountConfig,
  safeDeploymentConfig
}

const protocolKit = await Safe.init({
  provider,
  signer,
  predictedSafe
})
```

## Need Help or Have Questions?

If you have any doubts, questions, or need assistance, feel free to reach out! [Here you will find how to get support.](https://github.com/safe-global/safe-core-sdk/tree/main/SUPPORT.md)

## Contributing

Please read our [contribution guidelines](https://github.com/safe-global/safe-core-sdk/tree/main/CONTRIBUTING.md) before submitting any changes. We appreciate your help! 🙌

## License

This library is [released under MIT](https://github.com/safe-global/safe-core-sdk/blob/main/LICENSE.md).
npm package: @francoperez/engineer
Description: Claude Code skill pack for adding x402 micropayments to any API endpoint
Latest version: 0.1.0

# @x402/engineer

Claude Code skill pack for adding x402 micropayments to any API endpoint in seconds.

## Install

```bash
npx @x402/engineer install
```

This registers x402 skills and slash commands into your Claude Code environment (`~/.claude/`).

## Commands

| Command | Description |
|---------|-------------|
| `/x402:init` | Bootstrap x402 in your project (deps, env template, route config) |
| `/x402:add-paywall` | Wrap an endpoint with payment middleware (idempotent) |
| `/x402:debug` | Diagnose payment flow issues (headers, facilitator, wallet) |
| `/x402:explain` | Generate explanation of how x402 is wired in your codebase |

## Supported Frameworks

- Next.js (App Router)
- Express
- Fastify
- Hono

## Prerequisites

- [Claude Code](https://claude.ai/code) installed and configured
- Node.js >= 18
- A Stellar wallet and OZ Channels facilitator credentials (see `/x402:init` for guided setup)

## Uninstall

```bash
npx @x402/engineer uninstall
```

## License

MIT
npm package: @francyfox/emoji-music-captcha
Description: ![img.png](img.png)
Author: hellisart
Latest version: 1.0.5

# emoji-music-captcha

![img.png](img.png)

Виджет отгадывания музыки по эмоджи знакам.

Этот веб-компонент на Vue был сделан в шутку, он не представляет собой боевой recaptcha виджет, т.к. у него нет 
блокировки, а это уже требуется реализация по бэку, к тому же нужно проводить исследования и отбор эмоджи строк 
(некоторые отгадать сложновато). Есть и другие проблемы у данного подхода, но в наше время любую капчу отгадать сложно, по крайней мере человеку. 

## Как юзать?

В dist компилируется готовый продукт в виде веб-компонентов, размещаем скрипты и ассеты из dist. Затем используем 
кастомные теги

```html
<emoji-music-recaptcha>Здесь будет код виджета</emoji-music-recaptcha>
<emoji-secret>Здесь будет эмоджи секрет</emoji-secret>
```

## События
- `captchaReload` - Перезапуск после неудачной попытки (обновление секрета)
- `captchaValidate` - Валидация с булевой переменной ошибки
npm package: @francyfox/extus
Description: Extension manager for directus
Latest version: 0.50.21
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# ExtUS manager
### For old/local Directus extensions
For new extensions use Directus Extension Marketplace.

Features:

- Disable or Enable extension from cli
- Download zip extension

To install dependencies:

1. [How To Use](#how-to-use)
2. [CLI](#cli-commands)
3. [TODO](#todo)

### How to use

Rename at root .env.example to .env

Edit `DIRECTUS_EXTENSION_FOLDER` and locate your `extensions` path


~~Create at root `extus.toml` file.~~


```toml
[config]
enable = 'path to directus extension folder'

[download]
urlMap = [
    'https://github.com/resauce-dev/directus-image-scout/archive/refs/tags/v3.1.2.zip',
    'https://github.com/resauce-dev/directus-image-scout/archive/refs/tags/v3.1.2.zip',    
]
```

### CLI commands

Required [Bun](https://bun.sh).
**Interactive CLI:**

![img_1.png](img_1.png)

```bash
bunx --bun extus
```

**CLI with arguments:**

![img.png](img.png)
```bash
bunx --bun extus -h
bunx --bun extus --up [NAME]
bunx --bun extus --down [NAME]
etc...
```

### TODO

To be continued...
npm package: @frando/randombytes
Description: random bytes from browserify stand alone
Latest version: 2.1.1

randombytes
===

[![Version](http://img.shields.io/npm/v/randombytes.svg)](https://www.npmjs.org/package/randombytes) [![Build Status](https://travis-ci.org/crypto-browserify/randombytes.svg?branch=master)](https://travis-ci.org/crypto-browserify/randombytes)

randombytes from node that works in the browser.  In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues

```js
var randomBytes = require('randombytes');
randomBytes(16);//get 16 random bytes
randomBytes(16, function (err, resp) {
  // resp is 16 random bytes
});
```
npm package: @franekostrowski/country-utils
Description: Dealing with codes, flags and other country related logic is boring and repetetive. Many projects (including mine) need functions for that kind of thing so I started this project. It simplifies everything for you. Enjoy 🤗
Author: @franekostrowski
Latest version: 1.2.0

# `country-utils 🌏`

Dealing with codes, flags and other country related logic is boring and repetetive. Many projects (including mine) need functions for that kind of thing so I started this project. It simplifies everything for you. Enjoy 🤗

## Installation

```
npm i @franekostrowski/country-utils
```

Or with yarn:

```
yarn add @franekostrowski/country-utils
```

## Usage

### getCountryData

```typescript
getCountryData(country: string): Country
```

```typescript
interface Country {
  name: string;
  code: string;
  flag: string;
}
```

- `country` - country code such as 'PL' or full country name eg. Poland

#### Example #1

```typescript
import { getCountryData } from "@franekostrowski/country-utils";

const countryData = getCountryData("PL");

console.log(countryData);
// { name: "Poland", code: "PL", flag: "🇵🇱" }
```

#### Example #2

```typescript
import { getCountryData } from "@franekostrowski/country-utils";

const countryData = getCountryData("Sweden");

console.log(countryData);
// { name: "Sweden", code: "SE", flag: "🇸🇪" }
```

### getCountryCode

```typescript
getCountryCode(countryName: string): string
```

#### Example

```typescript
import { getCountryCode } from "@franekostrowski/country-utils";

const countryCode = getCountryCode("Poland");

console.log(countryCode);
// "PL"
```

### getCountryFlag

```typescript
getCountryFlag(countryCode: string): string
```

#### Example

```typescript
import { getCountryFlag } from "@franekostrowski/country-utils";

const countryFlag = getCountryFlag("PL");

console.log(countryFlag);
// "🇵🇱"
```

### getCountryName

```typescript
getCountryName(countryCode: string): string
```

#### Example

```typescript
import { getCountryName } from "@franekostrowski/country-utils";

const countryName = getCountryName("PL");

console.log(countryName);
// "Poland"
```