open-index/open-npm huggingface dataset:
npm package: @mihanik71/image
Description: Nuxt Image Module
Latest version: 2.0.0

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]
[![Volta][volta-src]][volta-href]

- [📖 &nbsp;Read Documentation (v1)](https://v1.image.nuxtjs.org)
- [▶️ &nbsp;Play online](https://githubbox.com/nuxt/image/tree/v1/example)

---

**Note:** This branch is for **Nuxt 3** compatible module. Checkout [`v0` branch](https://github.com/nuxt/image/tree/v0) for **Nuxt 2** support. ([Announcement](https://github.com/nuxt/image/discussions/548))

---

### Contributing

- Clone this repository
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
- Install dependencies using `pnpm install`
- Run `pnpm dev:prepare` to generate type stubs.
- Use `pnpm dev` to start [playground](./playground) in development mode.

## 📑 License

Published under the [MIT License](./LICENSE)

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@nuxt/image-edge/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@nuxt/image-edge

[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxt/image.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@nuxt/image

[license-src]: https://img.shields.io/npm/l/@nuxt/image.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@nuxt/image

[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com

[volta-src]: https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg
[volta-href]: https://volta.net/nuxt/image?utm_source=nuxt_image_readme
npm package: @mihanix/summing-priority-queue
Description: An utility library implementing summing priority queue in solidity
Author: Mikhail Sitnikov
Latest version: 1.0.3

# Solidity Summing Priority Queue

[![NPM Package](https://img.shields.io/npm/v/@mihanix/summing-priority-queue.svg?style=flat-square)](https://www.npmjs.com/package/@mihanix/summing-priority-queue)
![CI](https://github.com/MihanixA/SummingPriorityQueue/actions/workflows/ci.yml/badge.svg)

An utility library implementing summing priority queue in solidity

## Installation

```bash
npm install @mihanix/summing-priority-queue
```

## Interface

### `enqueue`

```solidity
function enqueue(uint256 key, uint256 value) public;
```

Adds an element with `key` and `value` to the heap.
Also adds `value` to `totalEnqueuedAmount`.

### `dequeue`

```solidity
function dequeue() public;
```

Popps an element with the lowest `key` and substracts corresponding `value` from `totalEnqueuedAmount`

### `top` 

```solidity
function top() public returns(uint256);
```

Returns the lowest enqueued `key` 

### `drain`

```solidity
function drain(uint256 ts) public;
```

Dequeues all elements lower then `ts`. Could be useful some times.

## Example Usage

An example usage of asset delayed locking (stock vesting analogy)

```solidity
pragma solidity ^0.8.7;

import "@mihanix/summing-priority-queue/contracts/SummingPriorityQueue.sol";

contract MyLockingContract {
    using SummingPriorityQueue for SummingPriorityQueue.Heap;

    // @notice user balances
    mapping(address => uint256) _balances;
    // @notice vesting locks
    mapping(address => SummingPriorityQueue.Heap) internal _withdrawLocks;

    // @notice lock an amount of tokens for timeOffset for holder 
    function _lock(address holder, uint256 amount, uint256 timeOffset) internal {
        _withdrawLocks[holder].enqueue(amount, block.timestamp + timeOffset);
    }

    // @notice get locked amount of tokens
    function _getLockedAmount(address holder) internal returns(uint256) {
        _withdrawLocks[holder].drain(block.timestamp); // dequeue outdated locks 
        return _withdrawLocks[holder].totalEnqueuedAmount;
    }

    // @notice withdraw tokens and check vesting locks
    function withdraw(uint256 amount) external {
        uint256 lockedAmount = _getLockedAmount(msg.sender);
        require(amount + lockedAmount <= _balances[msg.sender], "locked-up");
        /* 
         * Other business-logic...
         */
    }

}
```
npm package: @mihanizm56/boilerplate-cli-packager
Description: boilerplate cli-executor
Latest version: 0.3.73

# @mihanizm56/boilerplate-cli-packager

### Commands

<b>To make the cli-package-executor runs into the root folder</b><br>

```javascript
npx @mihanizm56/boilerplate-cli-packager
```

<b>This execution will do the steps:</b>

- copy "cli dir" with all needed utils
- patch your package.json with react-ink and its component-packages
npm package: @mihanizm56/boilerplate-config-packager
Description: boilerplate cli-executor
Latest version: 0.3.178

# @mihanizm56/boilerplate-config-packager

### Commands

<b>To make the config-package-executor runs into the root folder</b><br>

```javascript
npx @mihanizm56/boilerplate-config-packager
```

<b>This execution will do the steps:</b>

- copy "config dir"
- patch your package.json
- copy some config files in to your project root dir
npm package: @mihanizm56/compression
Description: Library for compression
Latest version: 0.0.5

# @mihanizm56/compression
## Что такое?
Это набор node.js скриптов, используемых для сжатия файлов фронтенд-статики в gzip и brotli.

## Как использовать
```bash
'npx @mihanizm56/compression --gzip --dir=\'["build","build/static/js", "build/static/css", "build/_assets"]\' --brotli'
```

## Флаги
 - gzip - добавляется gzip сжатие (по умолчанию уровень сжатия 9)
 - brotli - добавляется brotli сжатие (по умолчанию уровень сжатия 11)
 - gzip-level - уровень сжатия gzip
 - brotli-level - уровень сжатия brotli
 - dir - массив директорий, файлы в которых нужно сжимать

 ## Какие файлы сжимаются:
 - js
 - json
 - html
 - css
 - txt
npm package: @mihanizm56/i18next-utils
Description: i18next utils for boilerplate
Latest version: 2.0.6

# @wildberries/i18next-utils

This package contains redux module, utils and types for working with
i18next package.

## Public API

### Actions
- fetchLangDictAction,

### Utils
- geti18Next

```javascript
npx @wildberries/i18next-utils
```