open-index/open-npm huggingface dataset:
npm package: @socketfi/sdk
Description: SocketFi Smart Wallet Client SDK - Wallet connect and signing transaction.
Author: TinkerPal
Latest version: 1.5.0

# 🔌 SocketFi SDK

A lightweight JavaScript SDK for connecting to a [SocketFi](https://app.socket.fi) Smart Wallet from your web app.

This SDK provides a simple interface to:

- Initiate a SocketFi smart wallet connection
- Retrieve active session
- Log out and clear the session

## ⚙️ Installation

You can install this SDK via npm:

```bash
npm install @socketfi-sdk
```

## How to use SocketFi SDK

### 1. Import the SDK

```js
import {
  socketConnect,
  getSocketSession,
  deleteSocketSession,
} from "@socketfi/sdk";
```

### 2. Initiate a Connection

This triggers a full-screen modal that lets the user connect their SocketFi smart wallet via passkey login.

```js
const { userProfile, accessToken } = await socketConnect();
console.log("Connected user:", userProfile);
```

### 3. Get the Active Session

Check if the user is already connected:

```js
const session = await getSocketSession();

if (session) {
  console.log("User is already connected:", session.userProfile);
} else {
  console.log("No active session.");
}
```

### 4. Clear the Session

To log out or disconnect the current user:

```js
await deleteSocketSession();
console.log("User session cleared.");
```
npm package: @socketio-bridge/cli
Description: ## Install
Latest version: 0.0.3

# SocketIO bridge over node core modules cli.

## Install

```sh
  yarn add -D @socketio-bridge/cli
  yarn socketio-bridge serve
  # Or
  yarn siob serve
```

## Commands

```sh
# Available commands
yarn siob --help

# Start server on port 7979 and kill any other process listening to it.
yarn siob serve &


# Start server on port 5959 and kill any other process listening to it.
yarn siob serve -p 5959 &
# OR
yarn siob serve --port 5959 &

# Kill any process listening to port 7979
yarn siob kill --port 7979

# If no port is provided a server will be started temporarily.
yarn siob run 'ls -al' --port 7979

# Make sure everything is configured correctly
yarn siob test

# Create a web client
yarn siob create-client -n my-dashboard
```
npm package: @socketkit/ajv-base64
Description: Ajv validation for base64 strings
Author: Yagiz Nizipli
Latest version: 1.0.1

# ajv-base64

Adds a `uuid` format to [Ajv](https://ajv.js.org).

## Install

```bash
npm i --save @socketkit/ajv-base64
```

## Setup

```javascript
import Ajv from 'ajv'
import base64 from '@socketkit/ajv-base64'
const ajv = new Ajv()
base64(ajv)
```

## Usage

When defining your JSON schema, use the `format` keyword with ther value set to `base64`. For example

```json
{
  "type": "object",
  "properties": {
    "field_name": {
      "type": "string",
      "format": "base64"
    }
  }
}
```
npm package: @socketkit/ajv-currency-code
Description: Ajv validation for currency code strings
Author: Yagiz Nizipli
Latest version: 1.0.1

# ajv-currency-code

Adds a `currency_code` format to [Ajv](https://ajv.js.org).

## Install

```bash
npm i --save @socketkit/ajv-currency-code
```

## Setup

```javascript
import Ajv from 'ajv'
import currenyCode from '@socketkit/ajv-currency-code'
const ajv = new Ajv()
currencyCode(ajv)
```

## Usage

When defining your JSON schema, use the `format` keyword with ther value set to `currency_code`. For example

```json
{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "format": "currency_code"
    }
  }
}
```
npm package: @socketkit/ajv-locale-code
Description: Ajv validation for local code strings
Author: Yagiz Nizipli
Latest version: 1.0.1

# ajv-locale-code

Adds a `locale_code` format to [Ajv](https://ajv.js.org).

## Install

```bash
npm i --save @socketkit/ajv-locale-code
```

## Setup

```javascript
import Ajv from 'ajv'
import localeCode from '@socketkit/ajv-locale-code'
const ajv = new Ajv()
localeCode(ajv)
```

## Usage

When defining your JSON schema, use the `format` keyword with ther value set to `locale_code`. For example

```json
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "format": "locale_code"
    }
  }
}
```
npm package: @socketkit/ajv-semver
Description: Ajv plugin for validating semantic versions
Author: Yagiz Nizipli
Latest version: 1.0.1

# ajv-semver

Adds a `semver` format to [Ajv](https://ajv.js.org).

## Install

```bash
npm i --save @socketkit/ajv-semver
```

## Setup

```javascript
import Ajv from 'ajv'
import semver from '@socketkit/ajv-semver'
const ajv = new Ajv()
semver(ajv)
```

## Usage

When defining your JSON schema, use the `format` keyword with ther value set to `semver`. For example

```json
{
  "type": "object",
  "properties": {
    "semver": {
      "type": "string",
      "format": "semver"
    }
  }
}
```
npm package: @socketkit/ajv-uuid
Description: Ajv plugin for validating UUID type fields
Author: Yagiz Nizipli
Latest version: 1.0.1

# ajv-uuid

Adds a `uuid` format to [Ajv](https://ajv.js.org).

## Install

```bash
npm i --save @socketkit/ajv-uuid
```

## Setup

```javascript
import Ajv from 'ajv'
import base64 from '@socketkit/ajv-base64'
const ajv = new Ajv()
base64(ajv)
```

## Usage

When defining your JSON schema, use the `format` keyword with ther value set to `uuid`. For example

```json
{
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "format": "uuid"
    }
  }
}
```