open-index/open-npm huggingface dataset:
npm package: @skg3n/eslint-config-base
Description: ## Install:
Latest version: 2.0.0

# `@skg3n/eslint-config-base`

## Install:

```sh
pnpm add -D @skg3n/eslint-config-base eslint@^8.0.0 typescript@~5.4.5
```

```js
// .eslintrc.cjs

module.exports = {
  extends: [
    '@skg3n/eslint-config-base',
  ],
  parserOptions: {
    project: [
      './tsconfig.json', // your tsconfig file
    ],
  },
};
```
npm package: @skg3n/eslint-config-vue
Description: ## Install:
Latest version: 2.0.0

# `@skg3n/eslint-config-vue`

## Install:

```sh
pnpm add -D @skg3n/eslint-config-vue eslint@^8.0.0 typescript@~5.4.5
```

```js
// .eslintrc.cjs

module.exports = {
  extends: [
    '@skg3n/eslint-config-vue',
  ],
  parserOptions: {
    project: [
      './tsconfig.json', // your tsconfig file
    ],
  },
};
```
npm package: @skgandikota/docusaurus-plugin-facebookchat
Description: This plugin enables facebook-chat in Docusaurus powered websites.
Author: skgandikota
Latest version: 0.0.0-draft004

### @skgandikota/docusaurus-plugin-facebookchat

This plugin enables facebook-chat in Docusaurus powered websites.
#### Install the plugin

1. Add the plugin to your project.

```
yarn add @skgandikota/docusaurus-plugin-facebookchat
```

or

```
npm install @skgandikota/docusaurus-plugin-facebookchat --save
```

2. Configure the plugin in `docusaurus.config.js`

```js
// docusaurus.config.js
module.exports = {
  plugins: ["@skgandikota/docusaurus-plugin-facebookchat"],
  themeConfig: {
    facebookChat: {
      page_id: "9999999999999999999"
    }
  }
};
```
npm package: @skgandikota/react-org-chart
Description: Simple, high-performance react component for d3 org chart
Author: UNICEF, based on work of Fouad Matin
Latest version: 1.0.1

# React Organizational Chart
[![npm version](https://badge.fury.io/js/%40unicef%2Freact-org-chart.svg)](https://badge.fury.io/js/%40unicef%2Freact-org-chart)

React component for displaying organizational charts.

This component is based on [coreseekdev/react-org-chart](https://github.com/coreseekdev/react-org-chart) and [Unicef Org-chart](https://github.com/unicef/react-org-chart). On top of it, we added a few customization to fulfill our requirements.react-org-chart
npm package: @skgdev/socket.io-msgpack-javascript
Description: socket.io parser based on msgpack
Author: Nikolaos Margaritis
Latest version: 1.2.1


# socket.io-msgpack-javascript

An alternative to the default [socket.io-parser](https://github.com/socketio/socket.io-parser), encoding and decoding packets with [msgpack](http://msgpack.org/) official latest javascript version [msgpack-javascript](https://github.com/msgpack/msgpack-javascript)

Please note that you MUST use the parser on both sides (server & client).

Compatibility table:

| Parser version | Socket.IO server version |
|----------------| ------------------------ |
| 1.x.x          | 3.x.x / 4.x.x            |

## Installation

```
npm i -S skgdev/socket.io-msgpack-javascript
```

## Options

### `EncodeOptions`

Name|Type|Default
----|----|----
maxDepth | number | `100`
initialBufferSize | number | `2048`
sortKeys | boolean | false
forceFloat32 | boolean | false
forceIntegerToFloat | boolean | false
ignoreUndefined | boolean | false

See:
- [msgpack EncodeOptions](https://github.com/msgpack/msgpack-javascript#encodeoptions)
- [ExtensionCodec context](https://github.com/msgpack/msgpack-javascript#extensioncodec-context)
### `DecodeOptions`

Name|Type|Default
----|----|----
maxStrLength | number | `4_294_967_295` (UINT32_MAX)
maxBinLength | number | `4_294_967_295` (UINT32_MAX)
maxArrayLength | number | `4_294_967_295` (UINT32_MAX)
maxMapLength | number | `4_294_967_295` (UINT32_MAX)
maxExtLength | number | `4_294_967_295` (UINT32_MAX)

You can use `max${Type}Length` to limit the length of each type decoded.

See:
- [msgpack DecodeOptions](https://github.com/msgpack/msgpack-javascript#decodeoptions)
- [ExtensionCodec context](https://github.com/msgpack/msgpack-javascript#extensioncodec-context)

## Usage
### Example
```js
const io = require('socket.io');
const ioc = require('socket.io-client');
const customParser = require('@skgdev/socket.io-msgpack-javascript');
const server = io(PORT, {
  parser: customParser.build({
      encoder: ?EncodeOptions,
      decoder: ?DecodeOptions
  })
});

const socket = ioc('ws://localhost:' + PORT, {
  parser: customParser
});

socket.on('connect', () => {
  socket.emit('hello');
});
```

### Format

`socket.emit('hello', 'you')` will create the following packet:

```json
{
  "type": 2,
  "nsp": "/",
  "data": ["hello", "you"]
}
```

which will be encoded by the parser as:

`<Buffer 83 a4 74 79 70 65 02 a3 6e 73 70 a1 2f a4 64 61 74 61 92 a5 68 65 6c 6c 6f a3 79 6f 75>`
npm package: @skgrush/sync-s3
Description: Sync a directory to S3, including metadata for specific files.
Author: Samuel K. Grush
Latest version: 0.1.0-rc.4

# @skgrush/sync-s3

> Little tool for syncing files and metadata into an S3 bucket.

![](https://img.shields.io/github/license/skgrush/sync-s3.svg?style=flat-square)
![](https://img.shields.io/npm/v/@skgrush/sync-s3.svg?style=flat-square)
![](https://img.shields.io/bundlephobia/min/@skgrush/sync-s3)

Expects that all files in the copySourceDirectory should replace all the files
in the S3 bucket, and synchronizes them lazily based on MD5 hashes.

The main motivation for this project over [AWS's official `sync`](https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html)
is I wanted to set metadata on specific files and the multi-sync approach made no sense to me.

## Usage

`env.json`
```json
{
  "$schema": "./dist/env.schema.json",
  "region": "us-east-2",
  "bucket": "BUCKET-NAME",
  "credentials": {
    "accessKeyId": "AWS-S3-WRITABLE-KEY-ID",
    "secretAccessKey": "AWS-S3-WRITABLE-ACCESS-KEY"
  },
  "copySourceDirectory": "../dist/MY-PROJECT-NAME/browser",
  "metadataFile": "../metadata.json"
}
```

`metadata.json`
```json
{
  "some/file.jpeg": {
    "CacheControl": "no-cache"
  },
  "no-extension": {
    "ContentType": "application/javascript"
  },
  "go-elsewhere": {
    "WebsiteRedirectLocation": "https://github.com/skgrush"
  }
}
```

```sh
npx @skgrush/sync-s3 --execute env.json
```