open-index/open-npm huggingface dataset:
npm package: @socketodev/sdk
Description: The official TypeScript SDK for Socketo. Easily publish events from your server-side application.
Author: eckoln
Latest version: 0.0.1-alpha.2

# Socketo TypeScript SDK

The official TypeScript SDK for Socketo. Easily publish events from your server-side application.

## Installation

Install the package using your package manager:

```bash
npm install @socketodev/sdk
```

## Usage

#### Initialize client
```ts
import { Socketo } from "@socketodev/sdk";

const socketo = new Socketo({
  id: "YOUR_APP_ID",
  secret: "YOUR_APP_SECRET",
});
```

#### Publish an event
```ts
// Publish an event to one or more channels
const { data, error } = await socketo.publish({
  event: "my-event",
  channels: ["my-channel"],
  data: "Hello from SDK!",
});

// Publish batch events to one or more channels
const { data, error } = await socketo.publish([
  {
    event: "my-event",
    channels: ["my-channel"],
    data: "Hello from SDK-Batch!",
  },
  {
    event: "my-event",
    channels: ["my-channel"],
    data: "Hello from SDK-Batch!",
  },
]);

// Handle errors
if (error) {
  console.log(error);
}
```

#### Get channels with subscribers
```ts
const { data, error } = await socketo.channels();

// Handle errors
if (error) {
  console.log(error);
}

//
console.log(data) // { "channel-name": [ "socket_id" ], ... }
```

#### Get sockets count
```ts
const { data, error } = await socketo.sockets();

// Handle errors
if (error) {
  console.log(error);
}

//
console.log(data) // number
```

## Features
- Publish an event
- Publish batch events
- Get channels with subscribers
- Get sockets count

## License
This project is licensed under the MIT License.
npm package: @socketregistry/abab
Description: Socket.dev optimized package override for abab
Latest version: 1.0.9

# @socketregistry/abab

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/abab)](https://socket.dev/npm/package/@socketregistry/abab)
[![CI - @socketregistry/abab](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of the deprecated
> [`abab`](https://socket.dev/npm/package/abab) package complete with TypeScript
> types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/abab` to your `package.json`.

```json
{
  "overrides": {
    "abab": "npm:@socketregistry/abab@^1"
  },
  "resolutions": {
    "abab": "npm:@socketregistry/abab@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/abab
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/aggregate-error
Description: Socket.dev optimized package override for aggregate-error
Latest version: 1.0.15

# @socketregistry/aggregate-error

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/aggregate-error)](https://socket.dev/npm/package/@socketregistry/aggregate-error)
[![CI - @socketregistry/aggregate-error](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency CJS/ESM compatible drop-in replacement of
> [`aggregate-error`](https://socket.dev/npm/package/aggregate-error) complete
> with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/aggregate-error` to your
`package.json`.

```json
{
  "overrides": {
    "aggregate-error": "npm:@socketregistry/aggregate-error@^1"
  },
  "resolutions": {
    "aggregate-error": "npm:@socketregistry/aggregate-error@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/aggregate-error
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array-buffer-byte-length
Description: Socket.dev optimized package override for array-buffer-byte-length
Latest version: 1.0.7

# @socketregistry/array-buffer-byte-length

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array-buffer-byte-length)](https://socket.dev/npm/package/@socketregistry/array-buffer-byte-length)
[![CI - @socketregistry/array-buffer-byte-length](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array-buffer-byte-length`](https://socket.dev/npm/package/array-buffer-byte-length)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array-buffer-byte-length` to your
`package.json`.

```json
{
  "overrides": {
    "array-buffer-byte-length": "npm:@socketregistry/array-buffer-byte-length@^1"
  },
  "resolutions": {
    "array-buffer-byte-length": "npm:@socketregistry/array-buffer-byte-length@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array-buffer-byte-length
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array-flatten
Description: Socket.dev optimized package override for array-flatten
Latest version: 1.0.11

# @socketregistry/array-flatten

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array-flatten)](https://socket.dev/npm/package/@socketregistry/array-flatten)
[![CI - @socketregistry/array-flatten](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array-flatten`](https://socket.dev/npm/package/array-flatten) complete with
> TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array-flatten` to your
`package.json`.

```json
{
  "overrides": {
    "array-flatten": "npm:@socketregistry/array-flatten@^1"
  },
  "resolutions": {
    "array-flatten": "npm:@socketregistry/array-flatten@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array-flatten
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array-includes
Description: Socket.dev optimized package override for array-includes
Latest version: 1.0.9

# @socketregistry/array-includes

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array-includes)](https://socket.dev/npm/package/@socketregistry/array-includes)
[![CI - @socketregistry/array-includes](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array-includes`](https://socket.dev/npm/package/array-includes) complete
> with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array-includes` to your
`package.json`.

```json
{
  "overrides": {
    "array-includes": "npm:@socketregistry/array-includes@^1"
  },
  "resolutions": {
    "array-includes": "npm:@socketregistry/array-includes@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array-includes
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.from
Description: Socket.dev optimized package override for array.from
Latest version: 1.0.8

# @socketregistry/array.from

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.from)](https://socket.dev/npm/package/@socketregistry/array.from)
[![CI - @socketregistry/array.from](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.from`](https://socket.dev/npm/package/array.from) complete with
> TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.from` to your
`package.json`.

```json
{
  "overrides": {
    "array.from": "npm:@socketregistry/array.from@^1"
  },
  "resolutions": {
    "array.from": "npm:@socketregistry/array.from@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.from
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.of
Description: Socket.dev optimized package override for array.of
Latest version: 1.0.8

# @socketregistry/array.of

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.of)](https://socket.dev/npm/package/@socketregistry/array.of)
[![CI - @socketregistry/array.of](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.of`](https://socket.dev/npm/package/array.of) complete with TypeScript
> types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.of` to your `package.json`.

```json
{
  "overrides": {
    "array.of": "npm:@socketregistry/array.of@^1"
  },
  "resolutions": {
    "array.of": "npm:@socketregistry/array.of@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.of
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.at
Description: Socket.dev optimized package override for array.prototype.at
Latest version: 1.0.9

# @socketregistry/array.prototype.at

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.at)](https://socket.dev/npm/package/@socketregistry/array.prototype.at)
[![CI - @socketregistry/array.prototype.at](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.at`](https://socket.dev/npm/package/array.prototype.at)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.at` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.at": "npm:@socketregistry/array.prototype.at@^1"
  },
  "resolutions": {
    "array.prototype.at": "npm:@socketregistry/array.prototype.at@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.at
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.every
Description: Socket.dev optimized package override for array.prototype.every
Latest version: 1.0.9

# @socketregistry/array.prototype.every

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.every)](https://socket.dev/npm/package/@socketregistry/array.prototype.every)
[![CI - @socketregistry/array.prototype.every](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.every`](https://socket.dev/npm/package/array.prototype.every)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.every` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.every": "npm:@socketregistry/array.prototype.every@^1"
  },
  "resolutions": {
    "array.prototype.every": "npm:@socketregistry/array.prototype.every@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.every
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.filter
Description: Socket.dev optimized package override for array.prototype.filter
Latest version: 1.0.9

# @socketregistry/array.prototype.filter

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.filter)](https://socket.dev/npm/package/@socketregistry/array.prototype.filter)
[![CI - @socketregistry/array.prototype.filter](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.filter`](https://socket.dev/npm/package/array.prototype.filter)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.filter` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.filter": "npm:@socketregistry/array.prototype.filter@^1"
  },
  "resolutions": {
    "array.prototype.filter": "npm:@socketregistry/array.prototype.filter@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.filter
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.find
Description: Socket.dev optimized package override for array.prototype.find
Latest version: 1.0.9

# @socketregistry/array.prototype.find

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.find)](https://socket.dev/npm/package/@socketregistry/array.prototype.find)
[![CI - @socketregistry/array.prototype.find](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.find`](https://socket.dev/npm/package/array.prototype.find)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.find` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.find": "npm:@socketregistry/array.prototype.find@^1"
  },
  "resolutions": {
    "array.prototype.find": "npm:@socketregistry/array.prototype.find@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.find
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.findlast
Description: Socket.dev optimized package override for array.prototype.findlast
Latest version: 1.0.9

# @socketregistry/array.prototype.findlast

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.findlast)](https://socket.dev/npm/package/@socketregistry/array.prototype.findlast)
[![CI - @socketregistry/array.prototype.findlast](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.findlast`](https://socket.dev/npm/package/array.prototype.findlast)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.findlast` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.findlast": "npm:@socketregistry/array.prototype.findlast@^1"
  },
  "resolutions": {
    "array.prototype.findlast": "npm:@socketregistry/array.prototype.findlast@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.findlast
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.findlastindex
Description: Socket.dev optimized package override for array.prototype.findlastindex
Latest version: 1.0.9

# @socketregistry/array.prototype.findlastindex

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.findlastindex)](https://socket.dev/npm/package/@socketregistry/array.prototype.findlastindex)
[![CI - @socketregistry/array.prototype.findlastindex](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.findlastindex`](https://socket.dev/npm/package/array.prototype.findlastindex)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.findlastindex` to
your `package.json`.

```json
{
  "overrides": {
    "array.prototype.findlastindex": "npm:@socketregistry/array.prototype.findlastindex@^1"
  },
  "resolutions": {
    "array.prototype.findlastindex": "npm:@socketregistry/array.prototype.findlastindex@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.findlastindex
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.flat
Description: Socket.dev optimized package override for array.prototype.flat
Latest version: 1.0.9

# @socketregistry/array.prototype.flat

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.flat)](https://socket.dev/npm/package/@socketregistry/array.prototype.flat)
[![CI - @socketregistry/array.prototype.flat](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.flat`](https://socket.dev/npm/package/array.prototype.flat)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.flat` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.flat": "npm:@socketregistry/array.prototype.flat@^1"
  },
  "resolutions": {
    "array.prototype.flat": "npm:@socketregistry/array.prototype.flat@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.flat
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.flatmap
Description: Socket.dev optimized package override for array.prototype.flatmap
Latest version: 1.0.9

# @socketregistry/array.prototype.flatmap

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.flatmap)](https://socket.dev/npm/package/@socketregistry/array.prototype.flatmap)
[![CI - @socketregistry/array.prototype.flatmap](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.flatmap`](https://socket.dev/npm/package/array.prototype.flatmap)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.flatmap` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.flatmap": "npm:@socketregistry/array.prototype.flatmap@^1"
  },
  "resolutions": {
    "array.prototype.flatmap": "npm:@socketregistry/array.prototype.flatmap@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.flatmap
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.foreach
Description: Socket.dev optimized package override for array.prototype.foreach
Latest version: 1.0.9

# @socketregistry/array.prototype.foreach

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.foreach)](https://socket.dev/npm/package/@socketregistry/array.prototype.foreach)
[![CI - @socketregistry/array.prototype.foreach](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.foreach`](https://socket.dev/npm/package/array.prototype.foreach)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.foreach` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.foreach": "npm:@socketregistry/array.prototype.foreach@^1"
  },
  "resolutions": {
    "array.prototype.foreach": "npm:@socketregistry/array.prototype.foreach@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.foreach
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.map
Description: Socket.dev optimized package override for array.prototype.map
Latest version: 1.0.9

# @socketregistry/array.prototype.map

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.map)](https://socket.dev/npm/package/@socketregistry/array.prototype.map)
[![CI - @socketregistry/array.prototype.map](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.map`](https://socket.dev/npm/package/array.prototype.map)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.map` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.map": "npm:@socketregistry/array.prototype.map@^1"
  },
  "resolutions": {
    "array.prototype.map": "npm:@socketregistry/array.prototype.map@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.map
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.reduce
Description: Socket.dev optimized package override for array.prototype.reduce
Latest version: 1.0.9

# @socketregistry/array.prototype.reduce

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.reduce)](https://socket.dev/npm/package/@socketregistry/array.prototype.reduce)
[![CI - @socketregistry/array.prototype.reduce](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.reduce`](https://socket.dev/npm/package/array.prototype.reduce)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.reduce` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.reduce": "npm:@socketregistry/array.prototype.reduce@^1"
  },
  "resolutions": {
    "array.prototype.reduce": "npm:@socketregistry/array.prototype.reduce@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.reduce
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.toreversed
Description: Socket.dev optimized package override for array.prototype.toreversed
Latest version: 1.0.10

# @socketregistry/array.prototype.toreversed

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.toreversed)](https://socket.dev/npm/package/@socketregistry/array.prototype.toreversed)
[![CI - @socketregistry/array.prototype.toreversed](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.toreversed`](https://socket.dev/npm/package/array.prototype.toreversed)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.toreversed` to
your `package.json`.

```json
{
  "overrides": {
    "array.prototype.toreversed": "npm:@socketregistry/array.prototype.toreversed@^1"
  },
  "resolutions": {
    "array.prototype.toreversed": "npm:@socketregistry/array.prototype.toreversed@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.toreversed
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/array.prototype.tosorted
Description: Socket.dev optimized package override for array.prototype.tosorted
Latest version: 1.0.10

# @socketregistry/array.prototype.tosorted

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/array.prototype.tosorted)](https://socket.dev/npm/package/@socketregistry/array.prototype.tosorted)
[![CI - @socketregistry/array.prototype.tosorted](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`array.prototype.tosorted`](https://socket.dev/npm/package/array.prototype.tosorted)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/array.prototype.tosorted` to your
`package.json`.

```json
{
  "overrides": {
    "array.prototype.tosorted": "npm:@socketregistry/array.prototype.tosorted@^1"
  },
  "resolutions": {
    "array.prototype.tosorted": "npm:@socketregistry/array.prototype.tosorted@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/array.prototype.tosorted
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/arraybuffer.prototype.slice
Description: Socket.dev optimized package override for arraybuffer.prototype.slice
Latest version: 1.0.8

# @socketregistry/arraybuffer.prototype.slice

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/arraybuffer.prototype.slice)](https://socket.dev/npm/package/@socketregistry/arraybuffer.prototype.slice)
[![CI - @socketregistry/arraybuffer.prototype.slice](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`arraybuffer.prototype.slice`](https://socket.dev/npm/package/arraybuffer.prototype.slice)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/arraybuffer.prototype.slice` to
your `package.json`.

```json
{
  "overrides": {
    "arraybuffer.prototype.slice": "npm:@socketregistry/arraybuffer.prototype.slice@^1"
  },
  "resolutions": {
    "arraybuffer.prototype.slice": "npm:@socketregistry/arraybuffer.prototype.slice@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/arraybuffer.prototype.slice
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/assert
Description: Socket.dev optimized package override for assert
Latest version: 1.0.23

# @socketregistry/assert

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/assert)](https://socket.dev/npm/package/@socketregistry/assert)
[![CI - @socketregistry/assert](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`assert`](https://socket.dev/npm/package/assert) complete with TypeScript
> types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/assert` to your `package.json`.

```json
{
  "overrides": {
    "assert": "npm:@socketregistry/assert@^1"
  },
  "resolutions": {
    "assert": "npm:@socketregistry/assert@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/assert
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/asynciterator.prototype
Description: Socket.dev optimized package override for asynciterator.prototype
Latest version: 1.0.8

# @socketregistry/asynciterator.prototype

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/asynciterator.prototype)](https://socket.dev/npm/package/@socketregistry/asynciterator.prototype)
[![CI - @socketregistry/asynciterator.prototype](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`asynciterator.prototype`](https://socket.dev/npm/package/asynciterator.prototype)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/asynciterator.prototype` to your
`package.json`.

```json
{
  "overrides": {
    "asynciterator.prototype": "npm:@socketregistry/asynciterator.prototype@^1"
  },
  "resolutions": {
    "asynciterator.prototype": "npm:@socketregistry/asynciterator.prototype@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/asynciterator.prototype
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/available-typed-arrays
Description: Socket.dev optimized package override for available-typed-arrays
Latest version: 1.0.8

# @socketregistry/available-typed-arrays

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/available-typed-arrays)](https://socket.dev/npm/package/@socketregistry/available-typed-arrays)
[![CI - @socketregistry/available-typed-arrays](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`available-typed-arrays`](https://socket.dev/npm/package/available-typed-arrays)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/available-typed-arrays` to your
`package.json`.

```json
{
  "overrides": {
    "available-typed-arrays": "npm:@socketregistry/available-typed-arrays@^1"
  },
  "resolutions": {
    "available-typed-arrays": "npm:@socketregistry/available-typed-arrays@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/available-typed-arrays
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/date
Description: Socket.dev optimized package override for date
Latest version: 1.0.8

# @socketregistry/date

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/date)](https://socket.dev/npm/package/@socketregistry/date)
[![CI - @socketregistry/date](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`date`](https://socket.dev/npm/package/date) complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/date` to your `package.json`.

```json
{
  "overrides": {
    "date": "npm:@socketregistry/date@^1"
  },
  "resolutions": {
    "date": "npm:@socketregistry/date@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/date
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/deep-equal
Description: Socket.dev optimized package override for deep-equal
Latest version: 1.0.22

# @socketregistry/deep-equal

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/deep-equal)](https://socket.dev/npm/package/@socketregistry/deep-equal)
[![CI - @socketregistry/deep-equal](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`deep-equal`](https://socket.dev/npm/package/deep-equal) complete with
> TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/deep-equal` to your
`package.json`.

```json
{
  "overrides": {
    "deep-equal": "npm:@socketregistry/deep-equal@^1"
  },
  "resolutions": {
    "deep-equal": "npm:@socketregistry/deep-equal@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/deep-equal
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/define-properties
Description: Socket.dev optimized package override for define-properties
Latest version: 1.0.8

# @socketregistry/define-properties

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/define-properties)](https://socket.dev/npm/package/@socketregistry/define-properties)
[![CI - @socketregistry/define-properties](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`define-properties`](https://socket.dev/npm/package/define-properties)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/define-properties` to your
`package.json`.

```json
{
  "overrides": {
    "define-properties": "npm:@socketregistry/define-properties@^1"
  },
  "resolutions": {
    "define-properties": "npm:@socketregistry/define-properties@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/define-properties
```

## Requirements

Node >= `18.20.4`
npm package: @socketregistry/es-aggregate-error
Description: Socket.dev optimized package override for es-aggregate-error
Latest version: 1.0.8

# @socketregistry/es-aggregate-error

[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketregistry/es-aggregate-error)](https://socket.dev/npm/package/@socketregistry/es-aggregate-error)
[![CI - @socketregistry/es-aggregate-error](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml/badge.svg)](https://github.com/SocketDev/socket-registry/actions/workflows/test.yml)
[![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)

> A tested zero dependency drop-in replacement of
> [`es-aggregate-error`](https://socket.dev/npm/package/es-aggregate-error)
> complete with TypeScript types.

## Installation

### Install as a package override

[`socket`](https://socket.dev/npm/package/socket) CLI will automagically ✨
populate
[overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)
and [resolutions](https://yarnpkg.com/configuration/manifest#resolutions) of
your `package.json`.

```sh
npx socket optimize
```

Prefer to do it yourself? Add `@socketregistry/es-aggregate-error` to your
`package.json`.

```json
{
  "overrides": {
    "es-aggregate-error": "npm:@socketregistry/es-aggregate-error@^1"
  },
  "resolutions": {
    "es-aggregate-error": "npm:@socketregistry/es-aggregate-error@^1"
  }
}
```

### Install as a plain dependency

Install with your favorite package manager.

```sh
npm install @socketregistry/es-aggregate-error
```

## Requirements

Node >= `18.20.4`