open-index/open-npm huggingface dataset:
npm package: @nikitajs/lxd
Description: Provides Nikita actions for various LXD operations.
Author: David Worms
Latest version: 1.0.0-alpha.4


# Nikita "lxd" package

The "lxd" package provides Nikita actions for various LXD operations.

## Running the test

The tests require a local LXD client. On a Linux hosts, you can follow the [installation instructions](https://linuxcontainers.org/lxd/getting-started-cli/). On non Linux hosts, you can setup the client to communicate with a remote LXD server hosted on a virtual machine. You will however have to mount the project directory into the "/nikita" folder of the virtual machine. The provided Vagrantfile definition inside "@nikitajs/core/env/cluster/assets" will set you up.

```bash
# For windows and MacOS users
./bin/cluster start
npm test
```

## Usage

```js
import "@nikitajs/lxd/register";
import nikita from "@nikitajs/core";

const {$status} = await nikita.lxc.init({
  image: "images:alpine/latest",
  container: "nikita-list-vm1",
  vm: true,
});
console.info("Machine was created:", $status);
```

## Notes

### Windows and MacOS users

LXD is only available on Linux. To work around this limitation, we run LXD in a virtual machine.

We provide a script to run LXD inside Multipass which also run on MacOS ARM architecture:

```bash
./assets/multipass.sh
```

### Networks

The LXD tests create two bridge networks:

* Nikita LXD public: `nktlxdpub`, `192.0.2.1/30` (reserved IP subnet ssigned as TEST-NET-1)
* Nikita LXD private: `nktlxdprv`, `192.0.2.5/30` (reserved IP subnet ssigned as TEST-NET-1)

To avoid collision, other tests must create and use their own bridge.
npm package: @nikitapavets/react-bwkzstrap
Description: Bwkz component library for React application
Author: Nikita Pavets
Latest version: 1.0.6

# bwkz-react-library

>

[![NPM](https://img.shields.io/npm/v/bwkz-react-library.svg)](https://www.npmjs.com/package/bwkz-react-library) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save bwkz-react-library
```

## Usage

```jsx
import React, { Component } from 'react'

import { BwkzSearchBar } from 'bwkz-react-library'

class Example extends Component {
  render () {
    return (
      <BwkzSearchBar />
    )
  }
}
```

## License

MIT © [nikitapavets](https://github.com/nikitapavets)
npm package: @nikitastupin/hardhat-etherscan-abi
Description: Hardhat plugin fetching contract ABI from etherscan
Author: Roman Semenov
Latest version: 0.1.2

# hardhat-etherscan-abi [![Build Status](https://github.com/poma/hardhat-etherscan-abi/workflows/build/badge.svg)](https://github.com/poma/hardhat-etherscan-abi/actions) [![npm](https://img.shields.io/npm/v/hardhat-etherscan-abi.svg)](https://www.npmjs.com/package/hardhat-etherscan-abi) [![hardhat](https://hardhat.org/buidler-plugin-badge.svg?1)](https://hardhat.org)

[Hardhat](https://hardhat.org) plugin that fetches verified contract ABI from [Etherscan](https://etherscan.io).

## What

This plugin adds extra features on top of `@nomiclabs/hardhat-ethers` and allows creating contract instances without
manually downloading ABI: `ethers.getVerifiedContractAt('<address>')`. It supports Mainnet, BSC, and most testnets.

## Installation

```bash
npm install --save-dev hardhat-etherscan-abi
```

And add the following statement to your `hardhat.config.js`:

```js
require("hardhat-etherscan-abi");
```

Or, if you are using TypeScript, add this to your `hardhat.config.ts`:

```js
import "hardhat-etherscan-abi";
```

## Tasks

This plugin creates no additional tasks.

## Environment extensions

This object has adds some extra `hardhat-etherscan-abi` specific functionalities by adding new extra fields to `hre.ethers`

### Helpers

These helpers are added to the `ethers` object:

```typescript
export async function getVerifiedContractAt(
  hre: HardhatRuntimeEnvironment,
  address: string,
  signer?: ethers.Signer
): Promise<ethers.Contract>;
```

## Usage

You need to add the following Etherscan config to your `hardhat.config.js` file. Etherscan API key is optional but without it Etherscan allows only 1 request per 5 seconds.

```js
module.exports = {
  networks: {
    mainnet: { ... }
  },
  etherscan: {
    // Your API key for Etherscan
    // Obtain one at https://etherscan.io/
    apiKey: "YOUR_ETHERSCAN_API_KEY"
  }
};
```

Then use the function:

```js
const contract = await hre.ethers.getVerifiedContractAt('<address>');
```

It requires only contract address and will fetch the ABI for the contract automatically from Etherscan
npm package: @nikitin_rus/metrica-tracker
Description: Metrica Tracker Library
Author: basilstansfield@gmail.com
Latest version: 1.0.0

# Metrica Tracker Library

Библиотека, предназначенная для сбора пользовательских веб-метрик и их отправки в сервис аналитики.

## Установка

```bash
npm install @nrouslan/metrica-tracker
```
npm package: @nikitindiz/iris-out
Description: A library for highlighting selected DOM elements by shading everything else
Latest version: 0.1.4

# Iris Out

A lightweight library for highlighting DOM elements by shading everything else on the page.

Checkout the [demo page](http://nikitindiz.github.io/iris-out/) to see in action.

<img src="assets/screencast.gif" />

## Installation

```bash
npm install @nikitindiz/iris-out
```

or

```bash
yarn add @nikitindiz/iris-out
```

## Usage

```typescript
import Iris from '@nikitindiz/iris-out';

// Initialize with default options
const iris = new Iris();

// Highlight a specific element
const elementToHighlight = document.getElementById('my-element');
iris.highlight(elementToHighlight);

// Remove the highlight when done
iris.clear();
```

### With Callbacks

```typescript
// Highlight element with callbacks
iris.highlight(
  elementToHighlight,
  // Update callback - called whenever the cutout position changes
  rect => {
    console.log('Element position updated:', rect);
  },
  // Clear callback - called when the highlight is cleared
  () => {
    console.log('Highlight was cleared');
  }
);
```

## Options

You can customize the highlighting effect by passing options to the constructor:

```typescript
const iris = new Iris({
  backgroundColor: 'rgba(0, 0, 0, 0.7)', // Background color of the overlay
  opacity: 0.7, // Opacity of the overlay
  zIndex: 9999, // z-index of the overlay
  fadeDuration: 300, // Duration of animation in milliseconds
});
```

### Updating Options

You can update options after initialization using the options setter:

```typescript
// Update all options
iris.options = {
  backgroundColor: 'rgba(255, 0, 0, 0.5)',
  opacity: 0.5,
  zIndex: 1000,
  fadeDuration: 500,
};

// Or just update specific options
iris.options = {
  backgroundColor: 'rgba(0, 0, 255, 0.3)',
};
```

When you update options while an element is highlighted, the changes take effect immediately.

## Callbacks

The `highlight` method accepts two optional callback parameters:

### Update Callback

```typescript
// Called whenever the highlighted element's position is updated
function updateCallback(rect: DOMRect): void {
  console.log('Element position:', rect.top, rect.left, rect.width, rect.height);
}

iris.highlight(element, updateCallback);
```

This is useful for synchronizing other UI elements with the highlighted element's position.

### Clear Callback

```typescript
// Called when the highlight is cleared
function clearCallback(): void {
  console.log('Highlight was cleared');
}

iris.highlight(element, null, clearCallback);
```

This lets you execute code when the highlight is removed, either manually or through the `clear()` method.

## License

MIT