open-index/open-npm huggingface dataset:
npm package: @izhank216/javabinaries
Description: Java 21 binaries for java-bridge
Author: Izhan
Latest version: 1.0.1

# @izhank216/javabinaries

Java 21 binaries for java-bridge (This is also useful, If you want to download Java with Node.js)

## Installation

```bash
npm install @izhank216/javabinaries
```

## Step 1: Download the Java 21 binaries
```javascript
const { downloadJava, ensureJava } = require("@izhank216/javabinaries")

async function setupJava() {
    await downloadJava()
    const javaPath = ensureJava()
    console.log("Java downloaded at:", javaPath)
}

setupJava()
```


## Step 2: Usage with java-bridge (Windows)
```javascript
const { ensureJvm, JavaVersion } = require("java-bridge")

ensureJvm({
    libPath: 'java/server/jvm.dll',
    version: JavaVersion.VER_21
})
```


## Step 2: Usage with java-bridge (Linux)
```javascript
const { ensureJvm, JavaVersion } = require("java-bridge")

ensureJvm({
    libPath: 'java/lib/server/libjvm.so',
    version: JavaVersion.VER_21
})
```

## Step 2: Usage with java-bridge (macOS)
```javascript
const { ensureJvm, JavaVersion } = require("java-bridge")

ensureJvm({
    libPath: 'java/Contents/Home/lib/server/libjvm.dylib',
    version: JavaVersion.VER_21
})
```

## Supported Platforms

- Windows x64 / ARM64

- Linux x64 / ARM64

- macOS x64 / ARM64
npm package: @izhank216/minecraft-server
Description: A library for making Minecraft servers in Node.js!
Latest version: 1.1.1

# node-minecraft-server
A library for making Minecraft servers in Node.js!

## Installation
```bash
npm install @izhank216/minecraft-server

or with yarn:
yarn add @izhank216/minecraft-server
```

## Notice:
Not an official **Minecraft** product. This is not made by *Mojang* or *Microsoft*.
Not approved by or associated with *Mojang* or **Microsoft*.

## Usage
```javascript
import { createServer } from '@izhank216/minecraft-server';

const server = createServer({
  host: '0.0.0.0',      // optional, default: '0.0.0.0'
  port: 25565,           // optional, default: 25565
  version: '1.20.2',     // optional, default: '1.20.2'
  motd: 'Welcome to My Server!', // optional, default: 'A Minecraft Server'
  onlineMode: true       // optional, default: false (cracked)
});
```

## Usage (CJS)
```javascript
const { createServer } = require("@izhank216/minecraft-server");

const server = createServer({
  host: '0.0.0.0',      // optional, default: '0.0.0.0'
  port: 25565,           // optional, default: 25565
  version: '1.20.2',     // optional, default: '1.20.2'
  motd: 'Welcome to My Server!', // optional, default: 'A Minecraft Server'
  onlineMode: true       // optional, default: false (cracked)
});
```

## Usage with plugins
```javascript
import { createServer, Bukkit } from '@izhank216/minecraft-server';

const server = createServer({
  host: '0.0.0.0',
  port: 25565,
  version: '1.20.2',
  motd: 'Welcome to My Server!',
  onlineMode: true
});

const bukkit = new Bukkit(server);

bukkit.loadSpigot('plugins/plugin1.js', 'plugins/plugin2.js');
bukkit.loadPaper('plugins/paper-plugin1.js');
bukkit.loadPurpur('plugins/purpur-plugin1.js');
bukkit.loadFolia('plugins/folia-plugin1.js');

// To disable all plugins at any time
// bukkit.disableAllPlugins();
```


## Usage with plugins (CJS)
```javascript
const { createServer, Bukkit } = require('@izhank216/minecraft-server');

const server = createServer({
  host: '0.0.0.0',
  port: 25565,
  version: '1.20.2',
  motd: 'Welcome to My Server!',
  onlineMode: true
});

const bukkit = new Bukkit(server);

bukkit.loadSpigot('plugins/plugin1.js', 'plugins/plugin2.js');
bukkit.loadPaper('plugins/paper-plugin1.js');
bukkit.loadPurpur('plugins/purpur-plugin1.js');
bukkit.loadFolia('plugins/folia-plugin1.js');

// To disable all plugins at any time
// bukkit.disableAllPlugins();
```





## License
MIT
npm package: @izhank216/pseudopty
Description: PseudoPTY is a native Windows pseudo-terminal project written in C.
Latest version: 1.1.9

# PseudoPTY

PseudoPTY is a native Windows pseudo-terminal project written in C.

---

## Installation

*Install via npm:*

```bash
npm install @izhank216/pseudopty
```

*Or with yarn:*
```bash
yarn add @izhank216/pseudopty
```

## Usage (CLI)
```bat
pty.exe --terminal cmd.exe
```

## Usage (ESM)
```javascript
import PseudoPTY from "@izhank216/pseudopty";

const pty = PseudoPTY.PseudoPTY_Create("cmd.exe", 80, 25);
```

## Usage (CJS) 
```javascript
const PseudoPTY = require("@izhank216/pseudopty");

const pty = PseudoPTY.PseudoPTY_Create("cmd.exe", 80, 25);
```
npm package: @izi-p/conventional-changelog-gitmoji
Description: conventional-changelog gitmoji preset
Author: OneDior Tech Team
Latest version: 0.2.6

# Conventional Changelog Gitmoji Preset

![npm](https://img.shields.io/npm/v/conventional-changelog-gitmoji.svg)

**Heads up! This is an opinionated conventional changelog preset used by our internal tech team. We hope you'll find it usefull!**

Are you using [gitmoji library](https://gitmoji.carloscuesta.me/) as a convention for your commit messages ? Then you will love this [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) preset ! It will help you generate a full featured changelog (with scope support).

*Note: You can't use the full conventional-changelog-config spec with this package.*

Found a bug? Have an idea? Feel free to post an [issue](https://github.com/onedior/conventional-changelog-gitmoji/issues) or submit a [PR](https://github.com/onedior/conventional-changelog-gitmoji/pulls).

## Determining the recommended bump

The following bump levels are applied in order of importance.

### major

At least one breaking change is introduce, therefore if a commit contains the emoji:

- :boom: `:boom:`

### minor

At least one new feature is introduce, therefore if a commit contains the emoji:

- :sparkles: `:sparkles:`
- :zap: `:zap:`
- :heart: `:heart:`
- :alembic: `:alembic:`
- :recycle: `:recycle:`

### patch

Only fixes are applied, where none of the above rules applies.


## Credits

Based on [louich](https://github.com/louich/conventional-changelog-gitmoji)'s previous work (kudos!) and the fabulous [Gitmoji](https://gitmoji.carloscuesta.me/) icon library.
npm package: @izi_ride/game-of-life
Description: Conway's Game Of Life in TypeScript
Author: izi
Latest version: 0.4.0

[![Build Status](https://travis-ci.org/izi/game-of-life.svg?branch=master)](https://travis-ci.org/izi/game-of-life.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/izi/game-of-life/badge.svg?branch=master)](https://coveralls.io/github/izi/game-of-life?branch=master)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
npm package: @izikaj/api_signature
Description: Simple HMAC-SHA1 authentication via headers, port of https://github.com/psyipm/api_signature
Author: IzikAJ
Latest version: 1.0.6

Simple HMAC-SHA1 authentication via headers, port of https://github.com/psyipm/api_signature

# Why?
Required to sign requests to API with signature validation based on [api_signature](https://rubygems.org/gems/api_signature) Ruby Gem.

# How?

```JS
  const signer = new Signer(process.env.API_KEY, process.env.API_SECRET);
  ...
  // ensure we have headers to sign
  request.setHeader('x-api-key', process.env.API_KEY);
  request.setHeader('content-type', 'application/json');
  // sign request
  const signature = signer.signRequest({
    // method: 'GET'
    method: request.method,
    // url: http://example.com/api/test
    url: process.env.API_ENDPOINT + request.url,
    headers: {
      // only significant headers is signed (depends on endpoint)
      'x-api-key': process.env.API_KEY,
      'content-type': 'application/json',
    },
    body: request.rawBody
  });
  // write provided request headers (host, x-datetime & authorization)
  for (const name in signature.headers) {
    request.setHeader(name, signature.headers[name]);
  }
  // lets perform request...
```

# TODO:
- add more tests
- port validator
npm package: @izikl/language-service
Description: Azure Data Explorer (a.k.a Kusto) language service for javascript (legacy code)
Author: Microsoft
Latest version: 0.0.39

NOTE:   Your Bridge.NET JavaScript files are in this 
        directory, but Visual Studio may be hiding. 

        Click on the "Show All Files" button within your 
        Visual Studio Solution Explorer panel, or browse 
        directly to this folder within the file system.

        ------------------------------------------------

        Please see /App_Readme/Bridge.NET/README.txt for
        more information about this release.

        ------------------------------------------------

        A copy of the Bridge.NET License copied to 
        /App_Readme/Bridge.NET/LICENSE.txt
npm package: @izipay/checkout-sdk-js
Description: Web SDK en Javascript para cargar el Checkout de Izipay.
Author: Izipay
Latest version: 1.0.9-dev

# [PW] Checkout izipay 2.0

#### Proyecto SDK Javascript Checkout.

## Introducción

Este es el proyecto del nuevo botón de pago que incluye un nuevo formulario con diferentes modos de carga: pop-up, incrustado, redirección.

Proyecto creado en Javascript ES7, con una nueva interfaz fácil de usar.

### Mira la documentación de integración aquí: https://developers.izipay.pe/
npm package: @izipay/checkout-sdk-js-dev
Description: Web SDK en Javascript para cargar el Checkout de Izipay.
Author: Izipay
Latest version: 1.0.6

# [PW] Checkout izipay 2.0

#### Proyecto SDK Javascript Checkout.

## Introducción

Este es el proyecto del nuevo botón de pago que incluye un nuevo formulario con diferentes modos de carga: pop-up, incrustado, redirección.

Proyecto creado en Javascript ES7, con una nueva interfaz fácil de usar.

### Mira la documentación de integración aquí: https://developers.izipay.pe/
npm package: @izod/core
Description: > NOTE: This is very early stage, documentation is not complete and breaking API changes likely ahead. Please use at your own risk. Lock your version in case you use. (Even though I will adhere to semver for updates)
Author: Soumyajit Pathak
Latest version: 1.1.1

# @izod/core

> NOTE: This is very early stage, documentation is not complete and breaking API changes likely ahead. Please use at your own risk. Lock your version in case you use. (Even though I will adhere to semver for updates)

![Bundle Size](https://img.shields.io/bundlephobia/minzip/@izod/core) ![npm version](https://badgen.net/npm/v/@izod/core) ![types](https://badgen.net/npm/types/@izod/core)

`izod` leverages [zod](https://github.com/colinhacks/zod) to provide a type safe Promise oriented API to manage iframe communication.

## Installation

```sh
npm i zod @izod/core
```

## Usage

```ts
// common.ts

import { z } from 'zod';
import type { EventMap } from '@izod/core';

export const parentOriginEvents = {
  askQuestion: z.object({
    question: z.string(),
  }),
  shout: z.object({
    message: z.string(),
  }),
} as const satisfies EventMap;

export const childOriginEvents = {
  answerQuestion: z.object({
    answer: z.string(),
  }),
  whisper: z.object({
    message: z.string(),
  }),
} as const satisfies EventMap;
```

```ts
// parent.html

import { createChild } from '@izod/core';

// create the child instance (not mounted until handshake is executed)
const child = createChild({
  container: document.body, // required
  url: 'http://127.0.0.1:3010', // required
  inboundEvents: childOriginEvents, // optional
  outboundEvents: parentOriginEvents, // optional
  handshakeOptions: {
    // optional
    maxHandshakeRequests: 10, // default 5
    handshakeRetryInterval: 100, // default 1000
  },
});

// perfect time to setup event listeners so that they are ready once the handshake is over
// type safe event listeners for events coming from the child
child.on('whisper', (data) => {
  console.log(`Child whispered: ${data.message}`);
});

const childApi = await child.executeHandshake();

// type safe event emitters
childApi.emit('shout', { message: 'Hello' });
```

```ts
// child.html

import { connectToParent } from '@izod/core';

// sets the boilerplate
const parent = connectToParent({
  inboundEvents: parentOriginEvents, // optional
  outboundEvents: childOriginEvents, // optional
});

// type safe event listeners for events coming from the parent
parent.on('shout', (data) => {
  console.log(`Parent shouted: ${data.message}`);
});

const parentApi = await parent.executeHandshake();

// type safe event emitters
parentApi.emit('whisper', { message: 'Hi' });
```
npm package: @izohek/ndf-parser
Description: NDF file parser
Author: izohek
Latest version: 1.2.6

# NDF Parser
Parse an ndf file into a json object.

## Parsing
```typescript
import { NdfParser } from "ndf-parser"
```


Initialize the parser and run the `parse()` method to perform the parsing. 

```typescript
try {
    // Initialize the parser
    const parser = new NdfParser(ndfText)
    // Parse
    const results = parser.parse()
} catch (e) { 
    // Parsing errors 
}
```

The `parse()` method returns two results, first first a list of parser tokens and the second, the actual parsed results.  You almost always want the second index `[1]` for anything useful.
```typescript
const results = parser.parse()[1]
```

# Searching parser results
The parser outputs a very verbose structure which can cause a lot of repeated calls to nested attributes and structures.  The `search` function is provided to help track down specific values within the resulting objects.  


```typescript
import { search } from 'ndf-parser';
```

The search function doesn't accept the full parser output, but instead accepts individual parser objects. If you take the UniteDescriptor.ndf file as an example, you would parse an individual unit object instead of the full list of parser results. 

The following code samples and output example are assuming you parse `Divisions.ndf` and use the first object contained in the results.

```typescript
// Initialize the parser
const parser = new NdfParser(rawNdfData.toString())
// Get results, not tokens
const parseResults = parser.parse()[1]
// Grab the first parsed object
const firstParserResult = parseResults[0]
// Search for "DivisionIds"
const divisionIdObject = search(data, "DivisionIds")
```

The search function will return the resulting block(s) with the named object or object attribute.

```typescript
[
  {
    name: 'DivisionIds',
    value: { value: [Array], ndf: 'map' },
    ndf: 'attribute'
  }
]
```

The search method can return multiple results if multiple attributes or names match the search query.  The parser will only return multiple results at the same "depth" and will not return results from different nesting levels in the data.

For example, if you parse `UniteDescriptor.ndf` and search a unit object for `TModuleSelector`, the search function will return a list of all of the `TModuleSelector` found within the units `ModulesDescriptors` map.

However, if you search for `NilDescriptorIfCadavre` you'll only get one result because the parser will find the first one without any similar siblings.
npm package: @izohek/warno-deck-utils
Description: Warno Deck Utilities
Author: izohek
Latest version: 1.1.0

# Warno Deck Utilities

## Install
```sh
    npm install @izohek/warno-deck-utils
```

## Features

### Decoding deck strings

Decode a deck string into a Deck.

```js
    try {
        const deck = decodeDeckString("DECK-STRING")
    } catch (err) {
        // handle parsing error
    }
```

#### Unit and Division Descriptors

Deck codes only encode numeric IDs for units and divisions as defined in `DeckSerializer.ndf` and do not encode any descriptor information.  In most other NDF files, units and divisions are referenced by their descriptors and not by their deck parsing IDs.  While not required to parse a deck string,
you can optionally provide a `LookupService` object to the `decodeDeckString` function to automatically include descriptor information from a decoded deck string.  

A `GenericLookupAdapter` class is provided, but you can also implement your own using the `LookupService` interface.

```js
    try {
        const lookupService = new GenericLookupAdapter(unitData, divisionData)
        const deck = decodeDeckString("DECK-STRING", lookupService)
    } catch (err) {
        // handle parsing error
    }
```

When each unit or division is parsed from a deck string, the decoder asks the adapter for a descriptor matching a decoded id
using the `public unitForId (id: number): string | undefined` or `public divisionForId (id: number): string | undefined` methods.  This interface allows implementers to provide their own custom unit and division databases and helps us decouple this decoder implementation from the raw data contained
in the NDF files.

### Encoding Decks into deck strings

Encode a deck into a deckstring

```js
    // Build deck
    const deck: SimpleDeck = {
        modded: false,
        division: {
            id: 1
        },
        numberCards: 2,
        cards: [
            { 
                veterancy: 1,
                unit: { id: 1 },
                transport: undefined
            },
            {
                veterancy: 2,
                unit: { id: 2 },
                transport: { id: 3 }
            }
        ]
    }

    // Encode
    const deckString = encodeDeck(deck)
```

## Development

### Build
```sh
npm run build
```

### Lint
```sh
npm run lint
```

### Test
```sh
npm run test
```
npm package: @izonder/nuxt-intercom
Description: Intercom Module for Nuxt.js
Latest version: 0.0.13

# nuxt-intercom

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Circle CI][circle-ci-src]][circle-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href]

> This module is for Nuxt 2 only. For a Nuxt 3 version, please see https://github.com/devonik/nuxt-3-intercom

[🚀 **Demo Site available here**](https://nuxt-intercom.netlify.com)

[📖 **Release Notes**](./CHANGELOG.md)

## Setup

1. Add `@izonder/nuxt-intercom` dependency to your project

```bash
yarn add @izonder/nuxt-intercom # or npm install @izonder/nuxt-intercom
```

Add `@izonder/nuxt-intercom` to the buildModules section of nuxt.config.js

```js
{
  buildModules: [
    '@izonder/nuxt-intercom',
  ], 
  publicRuntimeConfig: {
    intercom: {
      appId: 'XXXXXXXXXX',
      debug: true,
    },
  }
}
```

## Options
Defaults:

```js
const defaults = {
  appId: null, // Intercom ID
  autoBoot: true, // True to boot messenger widget and show UI on page load, false to allow manually booting later
  debug: false, // True to show debug messages in the console, useful for development, false to not show them

  config: {}, // Object to specify messenger attributes to configure when booting. see https://developers.intercom.com/installing-intercom/docs/javascript-api-attributes-objects#section-messenger-attributes

  scriptId: 'intercom-script', // String to identfy the script tag, for vue-meta
  scriptDefer: false, // True to defer loading intercom widget javascript until page loads, false to async load it in document flow

  updateOnPageRoute: true // True to call intercom's 'update' method on route change, false to not do this
};
```

## Usage

## Development

1. Clone this repository
2. Install devDependencies using `yarn install`
3. Start development server using `yarn dev` or `INTERCOM_ID=<your intercom id> yarn dev` if you want to provide customer INTERCOM_ID.

## License
[MIT License](https://github.com/hex-digital/nuxt-intercom/blob/master/LICENSE)

Copyright (c) Hex Digital

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@hexdigital/nuxt-intercom/latest.svg?style=flat-square
[npm-version-href]: https://npmjs.com/package/@hexdigital/nuxt-intercom

[npm-downloads-src]: https://img.shields.io/npm/dt/@hexdigital/nuxt-intercom.svg?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/@hexdigital/nuxt-intercom

[circle-ci-src]: https://img.shields.io/circleci/project/github/hex-digital/nuxt-intercom.svg?style=flat-square
[circle-ci-href]: https://circleci.com/gh/hex-digital/nuxt-intercom

[codecov-src]: https://img.shields.io/codecov/c/github/hex-digital/nuxt-intercom.svg?style=flat-square
[codecov-href]: https://codecov.io/gh/hex-digital/nuxt-intercom

[license-src]: https://img.shields.io/npm/l/@hexdigital/nuxt-intercom.svg?style=flat-square
[license-href]: https://npmjs.com/package/@hexdigital/nuxt-intercom