open-index/open-npm huggingface dataset:
npm package: @radya/nuxt-dompurify
Description: A Nuxt 3 module that integrates DOMPurify for sanitizing HTML content and protecting against XSS attacks, with support for multiple profiles.
Author: Radya
Latest version: 1.0.5

# Nuxt DOMPurify

A Nuxt 3 module that integrates DOMPurify for sanitizing HTML content. This module helps protect your application from XSS attacks by sanitizing any potentially dangerous HTML inputs.

## Installation

Install the module via Yarn:

```bash
yarn add -D @radya/nuxt-dompurify
```

## Usage

Add the module to your Nuxt config file:

```javascript
export default defineNuxtConfig({
  modules: ['@radya/nuxt-dompurify'],
})
```

### Example

You can use the directive `v-sanitize-html` to sanitize HTML content in your templates:

```vue
<template>
  <div v-sanitize-html="dirtyHtml" />
</template>

<script setup>
const dirtyHtml = `
<div>
  <h1>Welcome to My Website</h1>
  <h3>This is H3 heading</h3>
  <p>This is a <strong>simple</strong> paragraph.</p>
  <img src="image.jpg" onerror="alert('Hacked!')" />
  <a href="https://example.com" onclick="stealCookies()">Click me!</a>
  <script>alert('This is an XSS attack!')</` + `script>
</div>`
</script>
```

This will sanitize the `dirtyHtml` variable, ensuring it is safe to render in the DOM.

## Profiles

This module also supports **profiles** to allow different DOMPurify configurations for specific use cases. You can define profiles in your `nuxt.config.ts` like this:

```ts
export default defineNuxtConfig({
  modules: ['@radya/nuxt-dompurify'],
  dompurify: {
    profiles: {
      profileName: {
        ALLOWED_TAGS: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
      }
    }
  },
})
```

### Using Profiles

To use a specific profile, you can pass the profile name as an argument to the `v-sanitize-html` directive:

```vue
<template>
  <div v-sanitize-html:profileName="dirtyHTML" />
</template>

<script setup>
const dirtyHtml = `
<div>
  <h1>Welcome to My Website</h1>
  <h3>This is H3 heading</h3>
  <p>This is a <strong>simple</strong> paragraph.</p>
  <img src="image.jpg" onerror="alert('Hacked!')" />
  <a href="https://example.com" onclick="stealCookies()">Click me!</a>
  <script>alert('This is an XSS attack!')</` + `script>
</div>`
</script>
```

## Contributing

We welcome contributions to `Nuxt DOMPurify`. Please follow these steps to get started:

1. **Enable Corepack**: Ensure Corepack is enabled by running:
   ```bash
   corepack enable
   ```

2. **Install Dependencies**: Install all necessary dependencies by running:
   ```bash
   yarn install
   ```

3. **Generate Type Stubs**: Run the following command to generate type stubs:
   ```bash
   yarn dev:prepare
   ```

4. **Start Development Mode**: Use the following command to start the playground in development mode:
   ```bash
   yarn dev
   ```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
npm package: @radya/nuxt-proxy-party
Description: Nuxt HTTP proxy based on H3
Latest version: 1.3.2

# Nuxt Proxy Party

`Nuxt Proxy Party` is a module designed to simplify the process of creating proxies using `h3` in your Nuxt application. This module allows you to easily define and manage proxy routes with custom handlers.

## Installation

To install `Nuxt Proxy Party`, run the following command:

```bash
yarn add -D @radya/nuxt-proxy-party
```

After installation, add the module to your `nuxt.config.ts`:

```typescript
export default defineNuxtConfig({
  modules: ['@radya/nuxt-proxy-party'],
})
```

## Configuration

To initialize the configuration file, run:

```bash
npx nuxt-proxy-party --init
```

This will create a default configuration file that you can modify to suit your needs.

## Usage

To use Nuxt Proxy Party, you need to define your proxy routes within the `server.config.ts` file:

## Simple
```typescript
import { getCookie } from 'h3'
import { defineProxyParty } from '#nuxt-proxy-party'

export default defineProxyParty([
  {
    name: 'bin',
    baseUrl: '/api/bin',
    target: 'https://httpbin.org',
  },
])
```

## With custom handler

```typescript
import { getCookie } from 'h3'
import { defineProxyParty } from '#nuxt-proxy-party'

export default defineProxyParty([
  {
    name: 'bin',
    baseUrl: '/api/bin',
    target: 'https://httpbin.org',
    handler: (event) => {
      const token = getCookie(event, 'oauth/token')

      if (token) {
        event.node.req.headers.authorization = `Bearer ${token}`
      }
    },
  },
])
```

### Using Runtime Config

If you need to use runtime configuration, import it from `#imports`:

```typescript
import { useRuntimeConfig } from '#imports'
```

This allows you to access and use runtime configuration values in your proxy handler.

## Contributing

We welcome contributions to `Nuxt Proxy Party`. If you’d like to contribute, please follow these steps:

1. **Enable Corepack**: Ensure Corepack is enabled by running:
   ```bash
   corepack enable
   ```

2. **Install Dependencies**: Install all necessary dependencies by running:
   ```bash
   yarn install
   ```

3. **Generate Type Stubs**: Run the following command to generate type stubs:
   ```bash
   yarn dev:prepare
   ```

4. **Start Development Mode**: Use the following command to start the playground in development mode:
   ```bash
   yarn dev
   ```

This will set up your environment to develop and test `Nuxt Proxy Party`.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
npm package: @radzztnzx/rbail
Description: Pro Bails based by Whiskeysockets, Modified by RadzzOffc
Author: RadzzOffc
Latest version: 3.3.9-rz.8
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# RBAILS FOR WHATSAPP BOT 

**Framework modular untuk otomatisasi & bot WhatsApp berbasis Node.js**
**VXSOURCIN NETWORK | VXTEAM | C.O.T**

---

## Fitur Utama

- ⚡ **Modular Socket System** — Mudah dikembangkan dan dikustomisasi  
- 🧩 **Plugin-Based Architecture** — Tambah atau lepas fitur tanpa ubah core  
- 🧠 **Smart AutoReconnect** — Stabil dalam segala kondisi  
- 🔒 **Multi Type** — Ketat, aman, dan ramah untuk script skala besar 
- 🛠️ **Logging by Pino** — Output bersih, bisa diatur sesuai kebutuhan  
- ☁️ **Multi-Device Support** — Jalankan di banyak sesi secara paralel

---

## Instalasi

```bash
npm install @radzztnzx/bails
npm package: @rae004/get-file-paths
Description: A package to get all file paths in a given directory recursively.
Author: Robert Engel
Latest version: 0.1.8

# Get File Paths
[![npm Package](https://img.shields.io/npm/v/@rae004/get-file-paths.svg)](https://www.npmjs.org/package/@rae004/get-file-paths) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/rae004/get-file-paths/blob/main/LICENSE) ![node](https://img.shields.io/node/v/@rae004/get-file-paths) 

[//]: # (![Node.js CI]&#40;https://github.com/fpsqdb/zip-lib/workflows/Node.js%20CI/badge.svg&#41;)

# Install

### npm
 `npm i @rae004/get-file-paths`

### yarn
`yarn add @rae004/get-file-paths`

# Basic Usage

## Get All files in directory with default options
```typescript
import { getFilePaths } from '@rae004/get-file-paths';

const paths = await getFilePaths('./')
```

### output:
```
[
  {
    fullPath: '/Users/daUser/projects/get-file-paths/package.json',
    relativePath: 'Users/daUser/projects/get-file-paths/package.json',
    fileName: 'package.json'
  }
  // ...Other File objects
]
```

## Get All files with a relative root of projects
### don't include relative root in relativePath
```typescript
import { getFilePaths } from '@rae004/get-file-paths';

const paths = await getFilePaths('./', {
    relativeRoot: 'projects', 
    includeRelativeRoot: false 
})
```

### output:
```
[
  {
    fullPath: '/Users/rae004/projects/get-file-paths/package.json',
    relativePath: 'get-file-paths/package.json',
    fileName: 'package.json'
  }
]
```

### include relative root in relativePath
```typescript
import { getFilePaths } from '@rae004/get-file-paths';

const paths = await getFilePaths('./', {
    relativeRoot: 'projects', 
    includeRelativeRoot: true 
})
```

### output:
```
[
  {
    fullPath: '/Users/rae004/projects/get-file-paths/package.json',
    relativePath: 'get-file-paths/package.json',
    fileName: 'package.json'
  }
]
```
npm package: @raedle/classify-super-mario
Description: Classify Super Mario Characters with PyTorch Live
Author: Roman Rädle
Latest version: 0.0.1-alpha.14

# 🚧 Work-in-Progress 🚧
This package is still under development. To learn how to add ML to your React Native applications now, checkout [pytorch.org/live](https://pytorch.org/live) and follow us on Twitter [@pytorchlive](https://twitter.com/pytorchlive) for updates
npm package: @raegen/mountable
Description: Angular route reuse strategy infrastructure.
Author: raegen
Latest version: 0.2.1

# Mountable

- Angular route reuse strategy infrastructure.
- The missing parts needed to make route reuse strategy viable.

# Usage

- Instead of vendor **router-outlet**, import **MountableModule** in the **AppModule** and use **mountable-router-outlet**.
- On components(or directives) you want to be reused, apply the **@Mountable()** decorator.
  - that makes them reused and provides two new lifecycle hooks: **ngOnMount** and **ngOnUnmount**, that are called when the component tree gets attached/detached to/from the outlet
  - the root route components (ones you declare on the router configuration **Route**) require to have **@Mountable()** for their tree to be reused. On their descendants, **@Mountable()** has to be added only if you wish to hook into **ngOnMount** and **ngOnUnmount**.
  - both **ngOnMount** and **ngOnUnmount** are called with one argument, namely **StatefulNavigation extends Navigation { restoredState?: any }** event that triggered the route change that attaches/detaches the component.
  - Returning a subscription in **ngOnMount** will automatically unsubscribe from that subscription on Unmount, so it's handy to create all your subscriptions in **ngOnMount** and return them, so they will be created and unsubscribed through the lifecycle.
npm package: @raegen/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 1.2.8

# react-scripts

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

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @raegen/ts-schema
Description: Generate JSON Schema from typescript
Author: raegen
Latest version: 0.0.2

# @raegen/ts-schema

Generate JSON Schema from TypeScript.

## Reasoning

The existing solutions out there fail miserably on complex types. This library aims to provide a more robust solution for generating JSON Schema from TypeScript.

## Installation

```sh
npm install @raegen/ts-schema
```

or

```sh
pnpm add @raegen/ts-schema
```

## Usage

```typescript
import { create } from '@raegen/ts-schema';
import { Project } from 'ts-morph';

// Create a project
const project = new Project({
  tsConfigFilePath: './tsconfig.json',
});

// Create the ts node you want to generate schema from
const node = project.createSourceFile(
  'SomeType.ts',
  `import { SomeType } from '@some/module';

   export type NameOfYourTypeAlias = SomeType`
).getTypeAliasOrThrow('NameOfYourTypeAlias');

// or

const node = project.getSourceFileOrThrow('path/to/your/file.ts').getTypeAliasOrThrow('NameOfYourTypeAlias');

// some types mapped to already built schemas, e.g.
const map = new Map([
    [
        project.createSourceFile('css.ts', `export { CSSProperties } from 'react'`).getExportDeclarations()[0]!.getModuleSpecifierSourceFileOrThrow().getModule('React').getInterface('CSSProperties'),
        {
            $ref: 'https://schemas.com/css'
        }
    ]
])

// add exclusions of certain files (types in those files)
// these are the default exclusions used to avoid the circular hell of dom types, can be overriden by passing []
const exclude = ['**/typescript/lib/lib.dom.d.ts', '**/@types/node/*'];

// optional additional props added to the schema
const props = {};

// generate the schema from node
create(
    node, 
    {
        map,
        exclude,
        ...props
    }
).then((schema) => {
  console.log(schema);
});
```

## Scripts

- `build`: Compiles the TypeScript code.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

## Issues

If you encounter any issues, please report them [here](https://github.com/raegen/ts-schema/issues).