open-index/open-npm huggingface dataset:
npm package: @marco_ciaramella/stratum-client
Description: A NodeJS based stratum client for communication with stratum pool
Author: Marco Ciaramella
Latest version: 1.4.0

# stratum-client
A NodeJS based stratum client for communication with stratum-capable pool.

## Install
`npm i @marco_ciaramella/stratum-client`

## Usage
```javascript
const client = require('@marco_ciaramella/stratum-client');
const Client = client({
  server: "grlcgang.com",
  port: 3333,
  worker: "KorkyMonster.testing",
  password: "x",
  ssl: false,
  autoReconnectOnError: true,
  onConnect: () => console.log('Connected to server'),
  onClose: () => console.log('Connection closed'),
  onError: (error) => console.log('Error', error.message),
  onAuthorizeSuccess: () => console.log('Worker authorized'),
  onAuthorizeFail: () => console.log('WORKER FAILED TO AUTHORIZE OH NOOOOOO'),
  onNewDifficulty: (newDiff) => console.log('New difficulty', newDiff),
  onSubscribe: (subscribeData) => console.log('[Subscribe]', subscribeData),
  onNewMiningWork: (newWork) => console.log('[New Work]', newWork),
  onSubmitWorkSuccess: (error, result) => console.log("Yay! Our work was accepted!"),
  onSubmitWorkFail: (error, result) => console.log("Oh no! Our work was refused because: " + error)
});
```

Mining work can then be submitted through `Client.submit(worker, job_id, extranonce2, ntime, nonce);`.

If `password` is not specified, the client will attempt to authenticate with 'x', which is good enough in most cases.

DEPRECATED: `onAuthorize(error, result)`. If `onAuthorizeSuccess` or `onAuthorizeFail` is not provided, it will fall back to `onAuthorize`.
npm package: @marco_ciaramella/wbootstrap
Description: wrapper for DOM
Author: Marco Ciaramella
Latest version: 1.4.2

# wbootstrap
wboostrap is a minimal wrapper for DOM based on Bootstrap 5 and Google Material.
## Install
```
npm i @marco_ciaramella/wbootstrap
```
## Usage
Create an html page like this
```html
<!DOCTYPE html>
<html>

<head>

    <!-- import Material Icon -->
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet">

    <!-- CSS only -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    <!-- JavaScript Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
        crossorigin="anonymous"></script>
</head>

<body></body>

<script src="index.js"></script>

</html>
```
Add your js code in index.js.

First of all you need a body element
```javascript
const body = new Body();
```
then you can append child to this body. For example
```javascript
body.appendChild(new FlexColumnFull(3));
```
Each HTML element defined in this module is a subclass of [Element](https://marcociaramella.github.io/wbootstrap/Element.html). If you want to add a custom element or a new one you should extend Element class or one of his subclasses.

See public [documentation](https://marcociaramella.github.io/wbootstrap/) for all supported HTML elements styled with bootstrap 5. Further samples will follow as soon as possible.
npm package: @marcoalvesalmeida/react-custom-animated-highlight
Description: Use essa biblioteca para realçar uma informação importante no seu projeto.
Author: Marco Almeida
Latest version: 1.0.2

# React Custom Animated Highlight

Essa biblioteca foi desenvolvida para realçar uma informação importante no seu projeto React. Use-a para destacar uma informação importante, um countdown ou qualquer outro texto que deseje.

## Instalação

Use o gerenciador de pacotes [yarn](https://yarnpkg.com/) para instalar @marcoalvesalmeida/react-custom-animated-highlight.

```bash
yarn add @marcoalvesalmeida/react-custom-animated-highlight
```

## Como Usar

```javascript
import CustomAnimatedHighlight from '@marcoalvesalmeida/react-custom-animated-highlight';

// Use no seu componente enviando o título, o subtítulo e a cor do subtítulo.
const App = () => (
  <CustomAnimatedHighlight title="56" subtitle="Essa é a sua idade" subtitleColor="gray"/>
);
```

## Licença
[MIT](https://choosealicense.com/licenses/mit/)
npm package: @marcoaoc/v-money
Description: Vue currency input/directive mask
Author: Marcos Neves
Latest version: 0.0.1

# vue-component-library

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
npm package: @marcobytes/num-to-text
Description: Convert numbers to words in multiple languages (Khmer, English, etc.)
Author: Marco Bytes
Latest version: 1.0.1

# Convert Number to Words

Convert numbers to words easily. Currently supports **English (`en-SG`)** and **Khmer (Cambodia, `km-KH`)**.

> **Note:** Support for additional languages will be added in future releases.

## Installation

```bash
npm install @marcobytes/num-to-text
```

## Usage

```ts
import { toWords } from '@marcobytes/num-to-text';

// English
console.log(toWords(181035, 'en-SG')); // "One Hundred and Eighty-One Thousand and Thirty-Five"

// Khmer
console.log(toWords(181035, 'km-KH')); // "មួយរយប៉ែតសិបមួយពាន់សូន្យសាមសិបប្រាំ"
```

---

## Example with Countries (Asia)

| Country          | Language Code | Example: `181035`                                   |
| ---------------- | ------------- | --------------------------------------------------- |
| Cambodia 🇰🇭      | `km-KH`       | មួយរយប៉ែតសិបមួយពាន់សូន្យសាមសិបប្រាំ                          |
| Vietnam 🇻🇳       | `vi-VN`       | (not supported yet)                                 |
| Laos 🇱🇦          | `lo-LA`       | (not supported yet)                                 |
| Myanmar 🇲🇲       | `my-MM`       | (not supported yet)                                 |
| Malaysia 🇲🇾      | `ms-MY`       | (not supported yet)                                 |
| Singapore 🇸🇬     | `en-SG`       | One Hundred and Eighty-One Thousand and Thirty-Five |
| Indonesia 🇮🇩     | `id-ID`       | (not supported yet)                                 |
| Philippines 🇵🇭   | `en-PH`       | One Hundred and Eighty-One Thousand and Thirty-Five |
| Japan 🇯🇵         | `ja-JP`       | (not supported yet)                                 |
| South Korea 🇰🇷   | `ko-KR`       | (not supported yet)                                 |
| Thailand 🇹🇭      | `th-TH`       | (not supported yet)                                 |


---

## Example with Real Data

```ts
import { toWords } from '@marcobytes/num-to-text';

const populationCambodia = 181035; // Area in km²
console.log(`Area of Cambodia: ${toWords(populationCambodia, 'en-SG')} square kilometers`);
// "Area of Cambodia: One Hundred Eighty-One Thousand Thirty-Five square kilometers"

console.log(`ផ្ទៃដីប្រទេសកម្ពុជា: ${toWords(populationCambodia, 'km-KH')} គីឡូម៉ែត្រការេ`);
// "ផ្ទៃដីប្រទេសកម្ពុជា: មួយរយប៉ែតសិបមួយពាន់សូន្យសាមសិបប្រាំ គីឡូម៉ែត្រការេ"
```

---

## API

```ts
toWords(number: number, lang: string): string
```

* `number` → The number you want to convert
* `lang` → Language code (`'en-SG'` or `'km-KH'`)

> Currently, only **English (`en-SG`)** and **Khmer (`km`)** are supported.

---

## Contribution

Contributions are welcome! If you want to help add **more Asian languages**, feel free to submit a PR.

---
npm package: @marcocastignoli/builder
Description: Builder for ciffi js webbpack project
Author: Ciffi
Latest version: 4.0.1

# ciffi-js/builder
Builder for ciffi js webbpack project

install as dev dependencies 
```
npm i -D @ciffi-js/builder
```

use
```
./node_modules/.bin/ciffi-builder build[:env]
```

__full documentation available at [ciffi.it/ciffi-js](https://www.ciffi.it/ciffi-js/docs/router)__
npm package: @marcocastignoli/bytecode-utils
Description: Decode a contract's bytecode
Latest version: 1.0.4

# bytecode-utils

Decode a contract's bytecode

## Install

```
yarn add @marcocastignoli/bytecode-utils
```

## Usage
```ts
decode(bytecodeRaw);
```

### Result
```json
{
  "cbor": {
    "bytes": "0xa2646970667358221220dceca8706b29e917dacf25fceef95acac8d90d765ac926663ce4096195952b6164736f6c634300060b",
    "length": 51
  },
  "ipfs": "QmdD3hpMj6mEFVy9DP4QqjHaoeYbhKsYvApX1YZNfjTVWp",
  "solcVersion": "0.6.11"
}
```