open-index/open-npm huggingface dataset:
npm package: @ghbountybot/db-vercel-postgres
Description: Vercel Postgres adapter for Payload
Author: Payload
Latest version: 3.22.2

# Payload Postgres Adapter

[Vercel Postgres](https://vercel.com/docs/storage/vercel-postgres) adapter for [Payload](https://payloadcms.com).

- [Main Repository](https://github.com/payloadcms/payload)
- [Payload Docs](https://payloadcms.com/docs)

## Installation

```bash
npm install @payloadcms/db-vercel-postgres
```

## Usage

### Explicit Connection String

```ts
import { buildConfig } from 'payload'
import { vercelPostgresAdapter } from '@payloadcms/db-vercel-postgres'

export default buildConfig({
  db: vercelPostgresAdapter({
    pool: {
      connectionString: process.env.DATABASE_URI,
    },
  }),
  // ...rest of config
})
```

### Automatic Connection String Detection

Have Vercel automatically detect from environment variable (typically `process.env.POSTGRES_URL`)

```ts
export default buildConfig({
  db: postgresAdapter(),
  // ...rest of config
})
```

More detailed usage can be found in the [Payload Docs](https://payloadcms.com/docs/configuration/overview).
npm package: @ghbountybot/github-graphql-client
Description: A strongly-typed GitHub GraphQL API client
Author: Andrew Gazelka
Latest version: 0.1.6

# GitHub GraphQL Client

A strongly-typed GitHub GraphQL API client for TypeScript/JavaScript applications.

## Installation

```bash
# Using pnpm
pnpm add @andrewgazelka/github-graphql-client

# Using npm
npm install @andrewgazelka/github-graphql-client

# Using yarn
yarn add @andrewgazelka/github-graphql-client
```

## Usage

First, you'll need to set up a GitHub Personal Access Token with the necessary permissions.

```typescript
import { createClient } from '@andrewgazelka/github-graphql-client';

const client = createClient({
  token: 'your-github-token'
});

// Example: Fetch repository information
const { repository } = await client.getRepository({
  owner: 'octocat',
  name: 'Hello-World'
});
```

## Features

- 🚀 Fully typed GitHub GraphQL API client
- 📦 Generated types from GitHub's GraphQL schema
- 🔒 Type-safe query building
- 🌟 Modern ESM package

## Development

1. Clone the repository
2. Install dependencies: `pnpm install`
3. Generate types: `pnpm run codegen`
4. Build: `pnpm run build`

## License

MIT
npm package: @ghbranding/class-validator
Description: Decorator-based property validation for classes.
Author: TypeStack contributors. Fork started by Anthony B.
Latest version: 0.14.3-fork.1.2.1

# Custom Class Validator

A specialized fork of [class-validator](https://github.com/typestack/class-validator) designed to provide specific validation decorators and utility functions for Brazilian localized data formats.

---

## 🚀 Key Features

This package includes everything from the original `class-validator`, plus:

* **`@IsCPF()`**: Validates Brazilian Individual Taxpayer Registry (CPF) numbers.
* **`@IsCNPJ()`**: Validates Brazilian Business Tax Registry (CNPJ) numbers.
* **`groupErrorsByField()`**: A utility function to transform `ValidationError[]` into a clean, key-value object.
npm package: @ghd/core-ui
Description: Core UI of GHD for Angular 6
Latest version: 6.0.11

# ![](http://www.ghd.com/logo.png) Angular Core UI

This package contains contains common UI components

### Using this package:
Go to your Angular 6.X project and run this command:
```bash
> npm install @ghd/core-ui --save
```
```javascript
import { GHDCoreUIModule } from '@ghd/core-ui';
// import UIModule to your base app.module or a shared module accross your app
@NgModule({
    imports: [
        GHDCoreUIModule
    ]
})
```

## Package Exports:

### Dialog Component:ng b

```html
<ghd-dialog-confirm [opened]="true" [title]="'Please confirm'" [message]="'Are you sure?'"></ghd-dialog-confirm>
```

### Toast/Alert/Notification Component:
### Arguments:
**message:** (string) - REQUIRED: Your custom string message

**timeout:** (number) - OPTIONAL: Timeout in milliseconds to display alert message (default: 3000 milliseconds)


```javascript
// import GHDAlertModule to your base app.module or a shared module accross your app
import { GHDAlertModule } from '@ghd/core-ui';
@NgModule({
    imports: [
        GHDAlertModule.forRoot()
    ]
})
```

```javascript
// On your component, import the Alert Service
import { GHDAlertService } from '@ghd/core-ui';
// and inject it
...
export class MyComponent {
    constructor(private alertService: GHDAlertService) {}

    // then use it!
    myFunction() {
        this.alertService.success('Successfully Added Form', 5000);
        ...
        this.alertService.error('Error Added Form', 10000);
        ...
        this.alertService.warn('Warning, please resolve immediately');
    }
}
```

### System Requirements (optional: for building this package):
* Node v8.X.X (might as well use current stable v8.11.1 as of the current day of writing)
* npm v5.6.0
* rollup v0.58.2 

To know more about packaging with npm and angular [click here](https://github.com/robisim74/angular-library-starter)