open-index/open-npm huggingface dataset:
npm package: @socket.tech/surge-gameplay
Description: Smart contracts for Socket Surge - a blockchain-based battle royale game
Author: Socket
Latest version: 1.0.24

# Surge Game Play

## Dependencies

- **Solady**: Gas-optimized Solidity library
- **Forge-std**: Foundry standard library for testing and scripting

## Installation

```bash
# Install dependencies
forge install

# Build contracts
forge build
```

## Deployment

Use the provided deployment script:

```bash
# Set your private key
export PRIVATE_KEY=your_private_key_here

# Deploy tokens
```

## Testing

```bash
# Run tests
forge test

# Run tests with verbose output
forge test -vv
```
npm package: @socketaddon/iocraft
Description: Placeholder for iocraft Node.js bindings (main wrapper). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with platform detection and native bindings will be published soon.

## What is this?

This package will be the main wrapper for iocraft - a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

The main package will automatically load the correct platform-specific binary for your system.

## Installation

Once the real package is available, install with:

```bash
npm install @socketaddon/iocraft
```

## Supported Platforms

- macOS (Intel and Apple Silicon)
- Linux (x64 and ARM64, glibc and musl)
- Windows (x64 and ARM64)

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real package coming soon*
npm package: @socketaddon/iocraft-darwin-arm64
Description: Placeholder for iocraft native bindings (macOS Apple Silicon (M1, M2, M3)). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft-darwin-arm64

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with native bindings will be published soon.

## What is this?

This package will contain native iocraft bindings for macOS Apple Silicon (M1, M2, M3).

iocraft is a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

## Installation

Once the real package is available, it will be installed automatically as an optional dependency of:

```bash
npm install @socketaddon/iocraft
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real native bindings coming soon*
npm package: @socketaddon/iocraft-darwin-x64
Description: Placeholder for iocraft native bindings (macOS Intel). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft-darwin-x64

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with native bindings will be published soon.

## What is this?

This package will contain native iocraft bindings for macOS Intel.

iocraft is a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

## Installation

Once the real package is available, it will be installed automatically as an optional dependency of:

```bash
npm install @socketaddon/iocraft
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real native bindings coming soon*
npm package: @socketaddon/iocraft-linux-arm64
Description: Placeholder for iocraft native bindings (Linux ARM64 (glibc)). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft-linux-arm64

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with native bindings will be published soon.

## What is this?

This package will contain native iocraft bindings for Linux ARM64 (glibc).

iocraft is a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

## Installation

Once the real package is available, it will be installed automatically as an optional dependency of:

```bash
npm install @socketaddon/iocraft
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real native bindings coming soon*
npm package: @socketaddon/iocraft-linux-arm64-musl
Description: Placeholder for iocraft native bindings (Linux ARM64 (musl/Alpine)). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft-linux-arm64-musl

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with native bindings will be published soon.

## What is this?

This package will contain native iocraft bindings for Linux ARM64 (musl/Alpine).

iocraft is a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

## Installation

Once the real package is available, it will be installed automatically as an optional dependency of:

```bash
npm install @socketaddon/iocraft
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real native bindings coming soon*
npm package: @socketaddon/iocraft-linux-x64
Description: Placeholder for iocraft native bindings (Linux x64 (glibc)). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft-linux-x64

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with native bindings will be published soon.

## What is this?

This package will contain native iocraft bindings for Linux x64 (glibc).

iocraft is a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

## Installation

Once the real package is available, it will be installed automatically as an optional dependency of:

```bash
npm install @socketaddon/iocraft
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real native bindings coming soon*
npm package: @socketaddon/iocraft-linux-x64-musl
Description: Placeholder for iocraft native bindings (Linux x64 (musl/Alpine)). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft-linux-x64-musl

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with native bindings will be published soon.

## What is this?

This package will contain native iocraft bindings for Linux x64 (musl/Alpine).

iocraft is a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

## Installation

Once the real package is available, it will be installed automatically as an optional dependency of:

```bash
npm install @socketaddon/iocraft
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real native bindings coming soon*
npm package: @socketaddon/iocraft-win-arm64
Description: Placeholder for iocraft native bindings (Windows ARM64). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft-win-arm64

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with native bindings will be published soon.

## What is this?

This package will contain native iocraft bindings for Windows ARM64.

iocraft is a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

## Installation

Once the real package is available, it will be installed automatically as an optional dependency of:

```bash
npm install @socketaddon/iocraft
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real native bindings coming soon*
npm package: @socketaddon/iocraft-win-x64
Description: Placeholder for iocraft native bindings (Windows x64). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketaddon/iocraft-win-x64

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for iocraft Node.js bindings.

The real package with native bindings will be published soon.

## What is this?

This package will contain native iocraft bindings for Windows x64.

iocraft is a Rust-based TUI library that provides fast, beautiful terminal interfaces with React-like declarative syntax.

## Installation

Once the real package is available, it will be installed automatically as an optional dependency of:

```bash
npm install @socketaddon/iocraft
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real native bindings coming soon*
npm package: @socketbin/cli-linux-arm64-musl
Description: Placeholder for Socket CLI binary (linux-arm64-musl). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketbin/cli-linux-arm64-musl

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for Socket CLI binaries.

The real package with the actual binary will be published soon.

## What is this?

This package will contain the Socket CLI binary for Linux ARM64 with musl libc (Alpine Linux, etc.).

## Installation

Once the real package is available, it will be installed automatically as part of:

```bash
npm install -g socket
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real binary coming soon*
npm package: @socketbin/cli-linux-x64-musl
Description: Placeholder for Socket CLI binary (linux-x64-musl). Real package coming soon.
Author: Socket Inc
Latest version: 0.0.0

# @socketbin/cli-linux-x64-musl

**PLACEHOLDER PACKAGE**

This is a placeholder package to reserve the namespace for Socket CLI binaries.

The real package with the actual binary will be published soon.

## What is this?

This package will contain the Socket CLI binary for Linux x64 with musl libc (Alpine Linux, etc.).

## Installation

Once the real package is available, it will be installed automatically as part of:

```bash
npm install -g socket
```

## More Information

- Repository: https://github.com/SocketDev/socket-cli
- Issues: https://github.com/SocketDev/socket-cli/issues
- Socket: https://socket.dev

---

*Placeholder package v0.0.0 - Real binary coming soon*
npm package: @socketdb/plugin-validate
Description: Schema validation plugin for SocketDB
Latest version: 8.2.0

# @socketdb/plugin-validate

## Table of Contents

- [About](#about)
- [Installing](#installing)
- [Usage](#usage)

## About <a name = "about"></a>

Adds schema validation to [SocketDB](https://github.com/TimoBechtel/socketdb) to only allow saving data that matches the schema.

It uses [ajv](https://ajv.js.org/) under the hood.

## Installing <a name = "installing"></a>

Using pnpm:

```sh
pnpm add @socketdb/plugin-validate
```

or npm:

```sh
npm i @socketdb/plugin-validate
```

## Usage <a name = "usage"></a>

Create a schema and add plugin to the SocketDB server.

```ts
import { SocketDBServer } from 'socketdb';
import validate, { JSONSchemaType } from '@socketdb/plugin-validate';

type Data = {
	[key: string]: {
		player: {
			[id: string]: {
				name: string;
			};
		};
	};
};
const schema: JSONSchemaType<Data> = {
	type: 'object',
	required: [],
	additionalProperties: {
		type: 'object',
		required: ['player'],
		properties: {
			player: {
				type: 'object',
				required: [],
				additionalProperties: {
					type: 'object',
					required: ['name'],
					properties: {
						name: {
							type: 'string',
						},
					},
				},
			},
		},
	},
};

SocketDBServer({
	plugins: [validate(schema)],
});
```

See: <https://ajv.js.org/> for more information on how to create schemas.