open-index/open-npm huggingface dataset:
npm package: @rafistrauss/csv-merger
Description: Fork: Merge multiple CSV files into one
Latest version: 0.1.7

# csv-merger

Note: This is a (hopefully temporary) fork to add a feature that I needed

Merge multiple CSV files into one

## Installation

To install locally:

```sh
npm install csv-merger
```

To install globally:

```sh
npm install -g csv-merger
```

## Standalone Use Case

To use as a standalone application, install globally. To get help

```sh
csv-merger -h
```

To merge multiple `csv` files into a single `csv`:

```sh
csv-merger -o output.csv input1.csv input2.csv input3.csv ...
```

If output filename is not provided via `-o` option, output filename will be set to `merged.csv` by default.

## Local Use Case

To use locally, install the package in the local directory. Then, the package can be imported as:

```js
const csvMerger = require('csv-merger');
```

The package includes `merge` function with the following arguments:

```js
csvMerger.merge(inputFiles, options);
```

`inputFiles` is a string array containing the path to input CSV files. `options` object is optional and has the following format:

```js
options = {
    outputPath, // string: path to the output CSV file
    writeOutput, // boolean: if true, the output will be written to a file, otherwise will be returned by the function
    quoted, // boolean: if true will wrap all values in quotes, otherwise values will be unquoted
}
```

The `merge` function returns a promise. If the `writeOutput` option is `true`, the function returns a boolean promise, which is `true` if file is successfully written, and `false` otherwise. If `writeOutput` is set to `false` (default value), the `merge` function returns a string promise containing the CSV output.
npm package: @raflicvc/c-weather
Description: Simple weather checker for all cities using Open-Meteo and OpenStreetMap
Author: rafli
Latest version: 1.0.0

c-weather

Simple Node.js weather package to check current weather in all cities worldwide.

Powered by:

- OpenStreetMap (Nominatim)
- Open-Meteo API

No API key required.

---

Installation

npm install c-weather

---

Usage

Basic Example

const { getWeather } = require("c-weather")

async function run() {
  const data = await getWeather("Jakarta")
  console.log(data)
}

run()

---

Returned Data

{
  "location": "Jakarta, Indonesia",
  "latitude": "-6.1754",
  "longitude": "106.8272",
  "temperature": 30.2,
  "windspeed": 12.3,
  "winddirection": 180,
  "weathercode": 3,
  "time": "2026-01-18T10:00"
}

---

Error Handling

try {
  await getWeather("unknowncity")
} catch (e) {
  console.error(e.message)
}

---

Weather Code Reference

Weather codes follow Open-Meteo standard:

- 0 = Clear sky
- 1–3 = Cloudy
- 45–48 = Fog
- 51–67 = Rain
- 71–77 = Snow
- 80–99 = Thunderstorm

---

License

MIT License
npm package: @rafong/publish
Description: web端项目发布工具
Latest version: 0.0.32

## web 自动发布工具

### 安装

推荐采用全局安装的方式

```
npm install @rafong/publish -g
```

### 使用

工具默认忽略 node_modules 文件夹
本工具支持两种发布模式

- 手动发布
- 自动发布

##### 手动发布

在终端执行命令，根据提示输入对应的参数即可

```bash
publish
```

##### 自动发布

需要先在项目根目录下创建配置文件，
本工具自带创建配置功能，执行以下命令

```bash
publish init
```

工具会在项目根目录创建<b>server.config.json</b>

<b>注意：配置文件每个字段都不可为空，不填写需要删除</b>

```javascript
{
  "ignore": ["node_modules", ".git"], // 忽略上传的文件/夹
  "dev": {      // 环境名称
    "switch": true    // 开关
    "branch": ["dev"], // 分支管理，限定在指定分支进行发布
    // 环境配置 [必填]
    "host": "192.xxx.xxx.xxx",
    "username": "root",
    "password": "password",
    // 本地打包地址[选填]，默认dist
    "local": "/dist",
    // 远程打包地址[选填]，如不填写，默认为：/app_server/nginx/html/xxxx
    "remote": "/app_server/nginx/html/xxxx",
    // 发布成功后，在服务器执行对应的命令
    "exec": ["npm run build"]// 执行的命令
  },
  // 支持多个环境同时上传
  "test" : {
    "switch": false
    ....
  }
}
```

在配置文件中填写对应的字段，执行命令进行发布。

```bash
publish
```

本工具会检查远程服务器是否有对应的目录，如果没有会自动创建。

### 开发

#### 安装

```
npm install
```

#### 开发

安装后运行以下命令进行开发，在<b>src</b>目录下进行开发工作

```
npm run dev
```

请不要在<b>master</b>分支进行开发

#### 发布

开发完成后，请提交到开发分支，联系管理员进行 review 和发布
npm package: @rafong/request
Description: XMLHttpRequest 请求工具
Latest version: 0.0.1

## IM 下载资源工具

### 安装

```bash
npm install sasai-resource
```

### 使用

```javascript
import LoadIMResource from 'sasai-resource'

/**
 * 依顺序写入参数
 * @param param
 * @param sign
 * @param open_uid
 */
const loadIMResource = new LoadIMResource('', '', '')

// 调用下载方法，默认返回Base64
loadIMResource
  .download(
    'https://filetest.im.sasai.mobi:44362/fileservice/download/img?type=1&filekey=group2/M00/20/5D/wKgDTmIoBC-ABayHAAAyTu9eEd4442.jpg'
  )
  .then((result) => {
    console.log(result)
  })

// 转换成formaData 数据
loadIMResource.toFormData()
```
npm package: @rafsaf/openapi-client-pink-analitics
Description: OpenAPI client for pink-analitics
Author: rafsaf
Latest version: 0.1.3

## @

This generator creates TypeScript/JavaScript client that utilizes fetch-api. 

### Building

To build and compile the typescript sources to javascript use:
```
npm install
npm run build
```

### Publishing

First build the package then run ```npm publish```

### Consuming

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @ --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
npm package: @rafsunboss/manga-rafsun
Description: A powerful CLI tool to search, download, and OCR manga using gallery-dl
Author: Rafsun
Latest version: 1.3.0

# @rafsunboss/manga-rafsun

A powerful command-line tool to automate searching, downloading, and extracting text from manga. Converts chapters into high-quality PDFs while preserving the original JPG images and generating OCR-accurate text files.

This is the NPM wrapper for the original python tool. 

## Features

- **Smart Search:** Search by manga name or paste a direct URL from supported sites.
- **Chapter Selection:** Download specific ranges (e.g., `1-10`), from a starting point to the end (`20-`), or the first N chapters (`10`).
- **JPG + PDF Support:** Downloads original high-quality images and automatically compiles them into a single PDF per chapter.
- **OCR Support:** Extract English text from manga bubbles.
- **History Tracking:** Automatically detects which chapters you've already downloaded and shows "Missing" chapters.

## Prerequisites

Because `manga-rafsun` is a wrapper for a powerful Python ecosystem, your system must have:
- **Node.js** (v14.0+)
- **Python 3.10+** installed and available in your PATH.

The wrapper script will attempt to automatically install the required python packages:
- `requests`
- `beautifulsoup4`
- `rich`
- `Pillow`
- `pytesseract`
- `opencv-python`
- `gallery-dl`

*Optional for OCR:* Tesseract OCR engine must be installed on your system (`apt install tesseract-ocr`, `brew install tesseract`, etc.).

## Installation

```bash
npm install -g @rafsunboss/manga-rafsun
```

## Usage

Run the following command anywhere:

```bash
manga-rafsun
```

Downloads will be saved by default to a `MANGA` directory inside your user's home folder (`~/MANGA/`).

---

## 🛠️ Developer Guide (How to Update)

**Updating the tool on GitHub and NPM:**
1. Make your code changes in `manga_cli.py` or `bin/manga-rafsun.js`.
2. Open `package.json` and increase the `"version"` (e.g., `1.0.1` -> `1.0.2`).
3. Load your tokens by running:
   ```bash
   source .env
   ```
   *(Note: Ensure your `NPM_TOKEN` inside `.env` is a token with "Publish" permissions for all packages).*
4. Push your changes to the private GitHub repository:
   ```bash
   git add .
   git commit -m "Update tool"
   git push
   ```
5. Publish the new version to NPM:
   ```bash
   npm publish --access public
   ```
npm package: @raft/app
Description: Create Raft apps with no build configuration.
Latest version: 0.0.1

# create-react-app

This package includes the global command for [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @raft/scripts
Description: Configuration and scripts for Raft.
Latest version: 0.0.1

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @raft/template-typescript
Description: The base TypeScript template for Raft.
Latest version: 0.0.1

# cra-template-typescript

This is the official TypeScript template for [Create React App](https://github.com/facebook/create-react-app).

To use this template, add `--template typescript` when creating a new app.

For example:

```sh
npx create-react-app my-app --template typescript

# or

yarn create react-app my-app --template typescript
```

For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.
npm package: @raftlabs/devkit-extra
Description: This library was generated with [Nx](https://nx.dev).
Author: Amal Chandran
Latest version: 0.0.2

# devkit-extra

This library was generated with [Nx](https://nx.dev).

## Running unit tests

Run `nx test devkit-extra` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @raftlabs/firebase-react
Description: Provides user and auth of firebase over a React Context.
Author: Aravind Jaimon
Latest version: 0.0.14

# @raftlabs/firebase-react

Connect firebase with react and have user data in React Context.

## How to use

Create a helper file and initialize firebase app

```js
import { initializeApp } from 'firebase/app';
import { firebaseConfig } from '../config';

export const app = initializeApp(firebaseConfig);
```

Once the app is configured wrap the app with The AuthProvider and pass firebase app as prop.

```js
import { AuthProvider } from '@raftlabs/firebase-react';
import { AppProps } from 'next/app';
import { FC, useEffect } from 'react';
import { app as firebaseApp } from '../helpers/firebase.helpers';
import './styles.css';

const App: FC<AppProps> = ({ Component, pageProps }) => {
  return (
    <AuthProvider app={firebaseApp}>
      <Component {...pageProps} />
    </AuthProvider>
  );
};

export default App;
```

Once the provider is ready you can use firebase functions and get auth in any page you want.

Example

```js
import { useAuth } from '@raftlabs/firebase-react';
import { signInWithEmailAndPassword } from 'firebase/auth';

const { auth } = useAuth();

const onSubmit = async ({ email, password }) => {
  try {
    signInWithEmailAndPassword(auth, email, password)
      .then((res) => {
        console.log(res);
        if (res.user.emailVerified !== true) {
          alert('email not verified please check your email');
        } else {
          console.log('Continue');
        }
      })
      .catch((err) => {
        alert('Login fail');
      });
  } catch (er) {
    console.log(er);
    throw er;
  }
};
```

## Who should use it?

If you just want a basic wrapper that provides user info and auth from firebase all over the application, You can use this library. If you want to expand more functionality its better to create a context on your own.

## What problems are we solving?

When implementing firebase in an app, we want that data to be accessible all over the application. creating context and a hook that can provide the same is exhausting, Thus wrapping app with this context provides you the hook that provides the basic items that needs to be imported in all the required pages.

## useAuth

You will be able to get user, auth, signedIn from `useAuth()` hook.

| Item     | Description                                          | Type            |
| -------- | ---------------------------------------------------- | --------------- |
| user     | Provides logged in users info.                       | User - Firebase |
| auth     | Provides auth instance with the created firebase app | Auth - Firebase |
| signedIn | Provides whether the user is logged in or not.       | Boolean         |
npm package: @raftlabs/fluentui-auth
Description: Creates auth based pages and components in your nextjs application.
Author: Rushikesh Shinde
Latest version: 0.0.4

# @raftlabs/fluentui-auth

Generate auth based pages and components in your nextjs application

To Run

```
nx generate @raftlabs/fluentui-auth:generate-files --project=project-name
```

The above command will create the following files in `src` folder

```
 project-name/src/components/AuthLayout.tsx
 project-name/src/components/ChangePassword/ChangePassword.tsx
 project-name/src/components/ChangePassword/change-password.schema.ts
 project-name/src/components/ForgotPassword/ForgotPassword.tsx
 project-name/src/components/ForgotPassword/forgot-password.schema.ts
 project-name/src/components/ResetPassword/ResetPassword.tsx
 project-name/src/components/ResetPassword/reset-password.schema.ts
 project-name/src/components/SignIn/SignIn.tsx
 project-name/src/components/SignIn/sign-in.schema.ts
 project-name/src/components/SignUp/SignUp.tsx
 project-name/src/components/SignUp/sign-up.schema.ts
 project-name/src/pages/activate-account.tsx
 project-name/src/pages/change-password.tsx
 project-name/src/pages/forgot-password.tsx
 project-name/src/pages/index.tsx
 project-name/src/pages/reset-password.tsx
 project-name/src/pages/sign-in.tsx
 project-name/src/pages/sign-up.tsx
 project-name/src/pages/styles.css
 project-name/src/pages/url-request-handler.tsx
```
npm package: @raftlabs/hasura-react
Description: Provide hasura client and user data as React Context across the application
Author: Amal Chandran
Latest version: 0.0.8

# @raftlabs/hasura-react

Provide Hasura in a react context with auth from @raftlabs/hbp-sdk a modified version of nhost-js-sdk and @raftlabs/hasura-react.
npm package: @raftlabs/nx-manage
Description: A helper cli for nx workspaces
Author: Amal Chandran
Latest version: 0.0.10

# Nx Manage

- A helper cli for nx workspaces
- Helps with docker compose based deployments
- Manages environment variables with in the repo
- Deploys changed services only to the server (with help of nx affected)

```
npx nx-manage --help
```

```
Usage: nx-manage [options] [command]

Options:
  -V, --version                output the version number
  -h, --help                   display help for command

Commands:
  affected-services [options]
  is-affected [options]
  prepare-arguments [options]
  encrypt [options]
  decrypt [options]
  help [command]               display help for command
```
npm package: @rafty/fibr
Description: Rafty fields plugin for Fibr
Latest version: 0.0.1-rc.1

# @rafty/fibr

This is a plugin for our `fibr` lib, built using `@rafty/ui` and `@rafty/corp` components. You can check out more about `fibr` package on our GitHub repo - <https://github.com/rhinobase/fibr>.

This package comprises of all the components, we can built using `rafty` packages in `fibr`.
npm package: @rafty/utils
Description: Utility functions for the @rafty/ui and component libs
Latest version: 1.0.0-beta.10
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# rafty/utils

Dependency of `@rafty/ui`, a React + Accessiable + Tailwind CSS Dynamic Component Library

## Installation

```sh
yarn add @rafty/utils

# or

npm i @rafty/utils
```
npm package: @rafw87/cra-template-rxjs
Description: The TypeScript template for Create React App with Redux, RxJS and router.
Latest version: 0.1.0

# @rafw87/cra-template-rxjs

This is modified TypeScript template from [Create React App](https://github.com/facebook/create-react-app),
with added Redux, RxJS and connected-react-router.

To use this template, add `--template @rafw87/rxjs` when creating a new app.

For example:

```sh
npx create-react-app my-app --template @rafw87/rxjs

# or

yarn create react-app my-app --template @rafw87/rxjs
```

For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.
npm package: @rafw87/cra-template-typescript
Description: The TypeScript template for Create React App with ESLint and Prettier.
Latest version: 0.1.1

# @rafw87/cra-template-typescript

This is modified TypeScript template from [Create React App](https://github.com/facebook/create-react-app),
with custom ESLint config and Prettier.

To use this template, add `--template @rafw87/typescript` when creating a new app.

For example:

```sh
npx create-react-app my-app --template @rafw87/typescript

# or

yarn create react-app my-app --template @rafw87/typescript
```

For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.
npm package: @rafw87/create-vite-dashboard
Description: Dashboard template (single page application) in React and Material UI, using Vite and Typescript
Author: Rafał Witczak
Latest version: 0.1.2

# React + TypeScript + Vite + Material UI

This template provides basic setup to build dashboard (single page application)
in React and Material UI, written in Typescript and working in Vite.

## Usage

Both command are equivalent.
```shell
$ npx @rafw87/create-vite-dashboard
$ npm create @rafw87/vite-dashboard
```

Optionally, location may be provided:
```shell
$ npx @rafw87/create-vite-dashboard my-dashboard
$ npm create @rafw87/vite-dashboard my-dashboard
```

Script will ask for location (it may be skipped if provided as first argument),
project name (by default guessed from location) and few other `package.json` fields.

Then it will create provided directory, initialize GIT repository, copy files,
perform `npm install` and commit. When finished, repo is ready to further development.
npm package: @ragaeeb/gatsby-plugin-chatwoot
Description: Gatsby plugin to add Chatwoot to your website
Author: Akshit Kr Nagpal
Latest version: 1.1.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# gatsby-plugin-chatwoot
![Package](https://github.com/akshitkrnagpal/gatsby-plugin-chatwoot/workflows/Package/badge.svg?branch=master)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

Quickly add the [Chatwoot](http://chatwoot.com/) live chat widget to your Gatsby site.

## Install

`npm install --save gatsby-plugin-chatwoot`
or
`yarn add gatsby-plugin-chatwoot`

## How to use

```javascript
// In your gatsby-config.js
plugins: [
    {
        resolve: `gatsby-plugin-chatwoot`,
        options: {
            baseUrl: 'BASE_URL', // Required
            websiteToken: 'WEBSITE_TOKEN', // Required
            includeInDevelopment: false, // Optional
            chatwootSettings: {} // Optional
        },
    },
];
```

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="http://akshitkrnagpal.com"><img src="https://avatars3.githubusercontent.com/u/15872348?v=4" width="100px;" alt=""/><br /><sub><b>Akshit Kr Nagpal</b></sub></a><br /><a href="https://github.com/akshitkrnagpal/gatsby-plugin-chatwoot/commits?author=akshitkrnagpal" title="Code">💻</a></td>
    <td align="center"><a href="http://www.chatwoot.com"><img src="https://avatars3.githubusercontent.com/u/2246121?v=4" width="100px;" alt=""/><br /><sub><b>Pranav Raj S</b></sub></a><br /><a href="https://github.com/akshitkrnagpal/gatsby-plugin-chatwoot/commits?author=pranavrajs" title="Code">💻</a></td>
  </tr>
</table>

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @ragamuse/preshape
Description: A minimal design system and library of composable React components, primarily for my personal projects.
Author: Harry Hogg
Latest version: 0.1.1

<h4 align="center">A minimal design system and library of composable React components, primarily for  <a href="https://hogg.io" target="_blank">my personal projects</a>.</h4>

<p align="center">
  <a href="https://preshape.hogg.io/#Colors">Colors</a> ~
  <a href="https://preshape.hogg.io/#Themes">Themes</a> ~
  <a href="https://preshape.hogg.io/#Animations">Animations & Transitions</a> ~
  <a href="https://preshape.hogg.io/#Sizing">Sizing</a> ~
  <a href="https://preshape.hogg.io/#Components">Components</a> ~
  <a href="https://preshape.hogg.io/#BuiltWith">Built with Preshape</a>
</p>

## Why?

I, like many developers, would frequently start side projects and small experiments and abandon them either in the setup or polishing stages. Leaving me with nothing but a directory that I'm never going to open again.

I realised this was down to losing interest with repetitive UI tasks and not having an environment set up that was tailored to the way I develop. I also wanted a design that way minimal, flexible for a range of projects, and had it's own identity.

## How To Use

As mentioned above, this exists primarily for my own use but anybody is welcome to use it. The [Style Guide](https://preshape.hogg.io/) exists to validate and build components but it also has some basic documentation to get started.
npm package: @ragav-ks/commitlint-plugin-imperative
Description: commitlint plugin to ensure that commits are made using imperative mood using NLP model
Author: Sundararagavan K S
Latest version: 1.1.0

# commitlint-plugin-imperative

commitlint plugin to ensure that commits are made using imperative mood using NLP model

# About

This plugin is based off of [ngx-devs/commitlint-plugin-imperative](https://github.com/ngx-devs/commitlint-plugin-imperative), which has been unmaintained for quite a long time and [produces false positives very frequently · (Issue #2)](https://github.com/ngx-devs/commitlint-plugin-imperative/issues/2).

This plugin uses NLP tools instead of relying on simple checks to achieve greater accuracy.

# Installation

```bash
#install
npm install -D @ragav-ks/commitlint-plugin-imperative
```

And then, in your commitlint config:

```ts
{
    plugins: ["@ngx-devs/commitlint-plugin-imperative"],
    rules: {
        "imperative-subject": [2, "always", ]
    }
}
```

# Usage

Commitlint automatically checks for the subject to be in imperative mood.

Sample commit messages that has a valid subject:

```
chore(README): add the description about the extension
feat(extension): implement the core logic for the extension
feat(ci): change the pipeline name to better suit it's purpose
fix(ci): revert "feat(ci): change pipeline name to better suit its purpose"
chore(something): merge the pull request #123 from someuser/somebranch
```

Examples of invalid commit messages:

```bash
$ git commit -m "chore(README): adding description about the extension"

⧗   input: chore(README): adding description about the extension
✖   The subject is not in imperative form. [imperative-subject]

✖   found 1 problems, 0 warnings
```

```bash
$ git commit -m "chore(README): added description about the extension"

⧗   input: chore(README): added description about the extension
✖   The subject is not in imperative form. [imperative-subject]

✖   found 1 problems, 0 warnings
```

# License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
npm package: @ragav-ks/xior-xray-plugin
Description: A Xior plugin to capture all the API calls in AWS X-Ray traces.
Author: Sundararagavan K S
Latest version: 1.2.3

# xior-xray-plugin

A [Xior](https://github.com/suhaotian/xior) plugin to capture AWS X-Ray traces for HTTP requests.

## About

This plugin integrates AWS X-Ray tracing with Xior HTTP client. It automatically creates subsegments for each HTTP request and captures important request/response metadata as annotations, making it easy to trace and debug API calls in distributed systems.

## Installation

```bash
npm install xior-xray-plugin
```

## Usage

```typescript
import xior from 'xior';
import { xrayPlugin } from 'xior-xray-plugin';

const http = xior.create({
  baseURL: 'https://api.example.com',
});

http.plugins.use(
  xrayPlugin({
    serviceName: 'my-api-client', // Optional custom name for the service
  }),
);

// All requests will now be traced in AWS X-Ray
const response = await client.get('/users');
```

### Plugin Options

| Option        | Type     | Description                          | Default                                            |
| ------------- | -------- | ------------------------------------ | -------------------------------------------------- |
| `serviceName` | `string` | Custom name for the X-Ray subsegment | `config.baseURL` if set, otherwise `Remote Server` |

### Captured Information

The plugin automatically captures the following information as X-Ray annotations:

- HTTP method
- Base URL
- Request path
- Response status code
- Error details (when requests fail)

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
npm package: @rage-against-the-pixel/app-store-connect-api
Description: A TypeScript package for communicating with Apple App Store Connect API
Author: RageAgainstThePixel
Latest version: 4.3.0

# app-store-connect-api

[![Discord](https://img.shields.io/discord/855294214065487932.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/xQgMW9ufN4) [![NPM Version](https://img.shields.io/npm/v/%40rage-against-the-pixel%2Fapp-store-connect-api)](https://www.npmjs.com/package/@rage-against-the-pixel/app-store-connect-api) [![NPM Downloads](https://img.shields.io/npm/dw/%40rage-against-the-pixel%2Fapp-store-connect-api)](https://www.npmjs.com/package/@rage-against-the-pixel/app-store-connect-api)

A TypeScript package for communicating with Apple [App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi)

- Automatically generated API client using the latest [OpenAPI specification](https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip) from Apple.
- Fully typed models and methods for every endpoint.
- Designed for use in a Node.js server environment.

## Installation

```sh
npm install @rage-against-the-pixel/app-store-connect-api
```

## Authentication

To authenticate with the API you will need to [create a API keys for App Store Connect API](https://appstoreconnect.apple.com/access/api).

Download and save the private key `.p8` file to a save, secure location.
The contents of this file is your `privateKey`.
The `privateKeyId` and `issuerId` are both listed on the same page where you create your private key.

> [!NOTE]
> Individual keys do not require `issuerId`.

## Example

```ts
import { AppStoreConnectClient, AppStoreConnectOptions } from '@rage-against-the-pixel/app-store-connect-api';

async function main() {
    const options: AppStoreConnectOptions = {
        issuerId: '<ISSUER_ID>',
        privateKeyId: '<PRIVATE_KEY_ID>',
        privateKey: '<PRIVATE_KEY>',
    };
    const client = new AppStoreConnectClient(options);
    const { data: response, error } = await client.api.Apps.appsGetCollection({
        query: {
            limit: 10
        }
    });
    if (error) {
        console.error('Error fetching apps:', error);
    } else {
        const apps = response.data.map(app => ({
            id: app.id,
            name: app.attributes.name,
            bundleId: app.attributes.bundleId
        }));
        console.log('Apps:', apps);
    }
}

main();
```
npm package: @rage-against-the-pixel/unity-releases-api
Description: A TypeScript package for communicating with the Unity Releases API
Author: RageAgainstThePixel
Latest version: 1.0.4

# unity-releases-api

[![Discord](https://img.shields.io/discord/855294214065487932.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/xQgMW9ufN4) [![NPM Version](https://img.shields.io/npm/v/%40rage-against-the-pixel%2Funity-releases-api)](https://www.npmjs.com/package/@rage-against-the-pixel/unity-releases-api) [![NPM Downloads](https://img.shields.io/npm/dw/%40rage-against-the-pixel%2Funity-releases-api)](https://www.npmjs.com/package/@rage-against-the-pixel/unity-releases-api)

A TypeScript package for communicating with the [Unity Releases API](https://services.docs.unity.com/release/v1)

- Automatically generated API client from the latest OpenAPI specification.
- Fully typed models and methods for every endpoint.
- Designed for use in a Node.js environment.

## Installation

```sh
npm install @rage-against-the-pixel/unity-releases-api
```

## Example

```ts
import dotenv from 'dotenv';
import { UnityReleasesClient } from 'unity-releases-api';

async function main() {
    dotenv.config();
    const client = new UnityReleasesClient();
    const { data: response, error } = await client.api.Release.getUnityReleases({
        query: {
            version: '6000.0',
            architecture: ['ARM64'],
            stream: ['LTS'],
            platform: ['WINDOWS'],
            order: 'RELEASE_DATE_DESC',
            limit: 1
        }
    });
    if (error) {
        console.error('Error fetching releases:', error);
    } else {
        console.log(JSON.stringify(response, null, 2));
    }
}

main();
```
npm package: @rage-js/cli
Description: RAGE cli helps you build nodejs applications with RAGE support primarly.
Author: Maghish
Latest version: 1.3.1

<div align='center'>
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="./img_for_docs/RAGE-cli.png">
    <img src="./img_for_docs/RAGE-cli-dark.png" alt="RAGE">
  </picture>
</div>

This module provides a CLI for building javascript projects with primary RAGE support.

_Read the full documentation about the CLI through this link: **https://github.com/rage-js/docs**_

# Table of Contents

- [Installation](#installation)
- [How to use it?](#how-to-use-it)

## Installation

```bash
npm install @rage-js/cli
```

Run the command above and download the module.

## How to use it?

```bash
npx rage
```

Run the command above to interact with the CLI. You just need to enter the data for the questions provided by the CLI. Once done, it will automatically create a new javascript project inside the directory path you gave, including `rage.config.json` which is the configuration file for RAGE.

<div align="center">

_Made with 💢 and Node.js_

</div>
npm package: @rage-js/tools
Description: Tool kit for managing local data created by RAGE.
Author: Maghish
Latest version: 0.2.0

<div align='center'>
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="./img_for_docs/RAGE-tools.png">
    <img src="./img_for_docs/RAGE-tools-dark.png" alt="RAGE">
  </picture>
</div>

A tool-kit to manage local databases created by the core module of RAGE. The tool-kit includes functions like creating collections, creating documents and schemas for the documents, finding documents, deleting documents, etc.

_Read the full documentation about the tool-kit through this link: **https://github.com/rage-js/docs**_

<br>

<div align="center">

_Made with 💢 and Node.js_

</div>
npm package: @ragemp-mango/client
Description: Client-side package for the RageMP Mango Framework - a decorator-driven TypeScript framework for RageMP servers.
Author: 5exyGuy
Latest version: 6.0.0

## Mango Framework

A simple, lightweight, and powerful TypeScript framework for building RageMP servers.

## Features

-   Mango Framework is built with TypeScript and provides a powerful type system for your application.
-   Mango Framework has a wide range of decorators that allow you to easily create and manage your resource flow.
-   Mango Framework is built with modularity in mind, allowing you to organize your application into small, reusable pieces.
-   Mango Framework uses InversifyJS under the hood to provide a powerful dependency injection for your application.
-   Mango Framework uses controllers to group and listen to events/rpcs together under a single class.
-   Mango Framework uses Guards, Interceptors, and Error Filters to create a powerful pipeline that allows you to easily manage every incoming event/rpc.

## Documentation

[Documentation](https://ragemp-mango.vercel.app)

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @ragemp-mango/core
Description: Core package for the RageMP Mango Framework - a decorator-driven TypeScript framework for RageMP servers.
Author: 5exyGuy
Latest version: 3.3.0

## Mango Framework

A simple, lightweight, and powerful TypeScript framework for building RageMP servers.

## Features

-   Mango Framework is built with TypeScript and provides a powerful type system for your application.
-   Mango Framework has a wide range of decorators that allow you to easily create and manage your resource flow.
-   Mango Framework is built with modularity in mind, allowing you to organize your application into small, reusable pieces.
-   Mango Framework uses InversifyJS under the hood to provide a powerful dependency injection for your application.
-   Mango Framework uses controllers to group and listen to events/rpcs together under a single class.
-   Mango Framework uses Guards, Interceptors, and Error Filters to create a powerful pipeline that allows you to easily manage every incoming event/rpc.

## Documentation

[Documentation](https://ragemp-mango.vercel.app)

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @ragemp-mango/server
Description: Server-side package for the RageMP Mango Framework - a decorator-driven TypeScript framework for RageMP servers.
Author: 5exyGuy
Latest version: 6.0.0

## Mango Framework

A simple, lightweight, and powerful TypeScript framework for building RageMP servers.

## Features

-   Mango Framework is built with TypeScript and provides a powerful type system for your application.
-   Mango Framework has a wide range of decorators that allow you to easily create and manage your resource flow.
-   Mango Framework is built with modularity in mind, allowing you to organize your application into small, reusable pieces.
-   Mango Framework uses InversifyJS under the hood to provide a powerful dependency injection for your application.
-   Mango Framework uses controllers to group and listen to events/rpcs together under a single class.
-   Mango Framework uses Guards, Interceptors, and Error Filters to create a powerful pipeline that allows you to easily manage every incoming event/rpc.

## Documentation

[Documentation](https://ragemp-mango.vercel.app)

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @ragemp-mango/webview
Description: Webview/CEF package for the RageMP Mango Framework - a decorator-driven TypeScript framework for RageMP servers.
Author: 5exyGuy
Latest version: 6.0.0

## Mango Framework

A simple, lightweight, and powerful TypeScript framework for building RageMP servers.

## Features

-   Mango Framework is built with TypeScript and provides a powerful type system for your application.
-   Mango Framework has a wide range of decorators that allow you to easily create and manage your resource flow.
-   Mango Framework is built with modularity in mind, allowing you to organize your application into small, reusable pieces.
-   Mango Framework uses InversifyJS under the hood to provide a powerful dependency injection for your application.
-   Mango Framework uses controllers to group and listen to events/rpcs together under a single class.
-   Mango Framework uses Guards, Interceptors, and Error Filters to create a powerful pipeline that allows you to easily manage every incoming event/rpc.

## Documentation

[Documentation](https://ragemp-mango.vercel.app)

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @ragemp-tools/online
Description: ```sh npm i @ragemp-tools/online@beta ```
Author: Danil Shaymurzin
Latest version: 0.0.12

```sh
npm i @ragemp-tools/online@beta
```

```javascript
const { peak, online, servers } = require('@ragemp-tools/online')

peak().then(console.log) // output: peak online
online().then(console.log) // output: online now
servers().then(console.log) // output: servers
```
#### peak() | online() | servers()

- `returns` <[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)>>
npm package: @ragemp-tools/server
Description: ```sh npm i @ragemp-tools/server@beta ```
Author: Danil Shaymurzin
Latest version: 0.0.0

```sh
npm i @ragemp-tools/server@beta
```

```javascript
const { server } = require('@ragemp-tools/server')

server('1.1.1.1:11111').then(console.log) 
// output:
// {
//   name: 'Test Server',
//   gamemode: 'testplay',
//   url: 'mur.cx',
//   lang: 'ru',
//   players: 1109,
//   peak: 1109,
//   maxplayers: 1109
// }
```
#### server(ip)

- `ip` <[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>

- `returns` <[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)>> { name: <[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>, gamemode: <[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>, url: <[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>, lang: <[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>, players: <[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)>, peak: <[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)>, maxplayers: <[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)>}
npm package: @ragetrade/core
Description: This repository contains the core smart contracts for the Rage Trade Protocol.
Latest version: 1.0.4-arbgoerli.5

<p>
    <a href="https://github.com/rage-trade/perpswap-contracts/actions"><img alt="test status" src="https://github.com/rage-trade/perpswap-contracts/actions/workflows/tests.yml/badge.svg"></a>
    <a href="https://solidity.readthedocs.io/en/v0.8.14/"><img alt="solidity v0.8.14" src="https://badgen.net/badge/solidity/v0.8.14/blue"></a>
</p>

# Rage Trade

This repository contains the core smart contracts for the Rage Trade Protocol.

## Bug Bounty

This repository is subject to the Rage Trade Bug Bounty program, per the terms defined [here](./BUG_BOUNTY.md).

## Scripts:

- `yarn compile`: compiles contracts
- `yarn test`: runs tests
- `yarn coverage`: runs tests and generates coverage report
- `yarn deploy --network arbtest`: for testnet deployment
- `yarn deploy --network arbmain`: for mainnet deployment

## Deployment

The live deployment files are in the [deployments](./deployments/) directory.

To deploy contracts, you can use `yarn deploy --network <network-name>`. If you're looking for details, please see [DEPLOYMENT_GUIDE](./DEPLOYMENT_GUIDE.md).

## Licensing

The primary license for Rage Trade Core is the MIT License. However, our dependencies have various licenses and hence the files that import them inherits the maximum restrictive license of it's dependencies, specified by the SPDX identifier in the file.

- For files licensed as `MIT`, please see [our license](./LICENSE).
- For files licensed as `GPL-2.0-or-later`, please see [Uniswap/v3-core's GPL](https://github.com/Uniswap/v3-core/blob/main/contracts/libraries/LICENSE_GPL).
- For files licensed as `BUSL-1.1`, please see [Uniswap/v3-core's BUSL](https://github.com/Uniswap/v3-core/blob/main/LICENSE).

You can see overview of SPDX License Identifiers used by the source code in our repository [here](./LICENSE_OVERVIEW.md).