open-index/open-npm huggingface dataset:
npm package: @genauai/kernel
Description: core of the genau conversational productivity tool
Author: Zack Maril
Latest version: 3.0.0

# genau/kernel

[![npm package][npm-img]][npm-url]
[![Build Status][build-img]][build-url]
[![Downloads][downloads-img]][downloads-url]
[![Issues][issues-img]][issues-url]
[![Commitizen Friendly][commitizen-img]][commitizen-url]
[![Semantic Release][semantic-release-img]][semantic-release-url]

> a conversational programming language

## Features

> none yet really

## Install

```bash
npm install genau
```

## Usage

```ts
import { genau } from 'genau';

genau('hello');
//=> 'hello from my package'
```

[build-img]: https://github.com/genauai/kernel/actions/workflows/release.yml/badge.svg
[build-url]: https://github.com/genauai/kernel/actions/workflows/release.yml
[downloads-img]: https://img.shields.io/npm/dt/genauai-kernel
[downloads-url]: https://www.npmtrends.com/genauai-kernel
[npm-img]: https://img.shields.io/npm/v/genauai-kernel
[npm-url]: https://www.npmjs.com/package/genauai-kernel
[issues-img]: https://img.shields.io/github/issues/genauai/kernel
[issues-url]: https://github.com/genauai/kernel/issues
[semantic-release-img]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-release-url]: https://github.com/semantic-release/semantic-release
[commitizen-img]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
[commitizen-url]: http://commitizen.github.io/cz-cli/
npm package: @genauth/nodejs
Description: GenAuth SDK for Node.js
Author: GenAuth
Latest version: 1.0.0

<div align=center>
  <img width="250" src="https://authing-cdn-cn-prod.oss-cn-beijing.aliyuncs.com/genauth/logo-transparent.png" />
</div>
<div align="center">
  <a href="javascript:;"><img src="https://img.shields.io/badge/test-passing-brightgreen" /></a>
  <a href="https://forum.genauth.ai/" target="_blank"><img src="https://img.shields.io/badge/chat-forum-blue" /></a>
  <a href="https://console.genauth.ai/openapi/" target="_blank"><img src="https://img.shields.io/badge/docs-passing-brightgreen" /></a>
  <a href="javascript:;"><img src="https://img.shields.io/badge/License-MIT-success" alt="License"></a>
</div>

You can use the GenAuth Node.js SDK to quickly integrate authentication capabilities for new or existing Back End applications.

## 📚 Documentation

To check out documentation, please refers to [docs](https://docs.genauth.ai/reference/sdk/node/install.html).

This SDK is built upon [GenAuth Management API(v3)](https://api.genauth.ai/openapi/v3/management/) and [GenAuth Authentication API(v3)](https://api.genauth.ai/openapi/v3/authentication/), for older version, please refers to [https://docs.genauth.ai/reference/sdk-for-node/](https://docs.genauth.ai/reference/sdk-for-node/).

## ❓ Questions

For questions and support please use the [official forum](https://forum.genauth.ai/). The issue list of this repo is exclusively for bug reports and feature requests.

## 🤝 Contribution

- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push -u origin my-new-feature)
- Create new Pull Request

Thank you to all the people who already contributed to Node.js SDK !

[Contributing to GenAuth Open Source Repos](https://github.com/GenAuth/.github/blob/main/CONTRIBUTING.md#English)

## 🎁 License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2019 GenAuth
npm package: @gencodify/publisher-prisma-client
Description: GenCodify Studio Publisher Prisma Client - Database client for publisher service
Author: GenCodify Studio
Latest version: 1.0.6

# GenCodify Studio Publisher Prisma Client

Prisma client library for the GenCodify Studio Publisher service.

## Installation

```bash
npm install @gencodify-studio/publisher-prisma-client
# or
pnpm add @gencodify-studio/publisher-prisma-client
# or
yarn add @gencodify-studio/publisher-prisma-client
```

## Usage

This package provides the Prisma client and utilities for database operations in the GenCodify Studio Publisher.

### Database Configuration

The package supports multiple ways to configure the database connection:

#### Option 1: Single DATABASE_URL (default)

```bash
DATABASE_URL="postgresql://user:password@host:5432/database?schema=public"
```

#### Option 2: Individual environment variables

You can use individual environment variables instead of a single connection string:

| Variable | Description | Default |
|----------|-------------|---------|
| `DB_HOST` | Database host | - |
| `DB_PORT` | Database port | `5432` |
| `DB_USER` or `DB_USERNAME` | Database user | - |
| `DB_PASSWORD` | Database password | - |
| `DB_NAME` or `DB_DATABASE` | Database name | - |
| `DB_SCHEMA` | Database schema | (optional) |
| `DB_SSL` | Enable SSL (`true`/`false`) | `false` |

Example:

```bash
DB_HOST=studio-database.gencodify-infra
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=your-password
DB_NAME=gencodify
DB_SCHEMA=public
DB_SSL=true
```

#### Option 3: Programmatic configuration

```typescript
import { createPrisma } from '@gencodify/publisher-prisma-client';

const prisma = createPrisma({
  datasourceUrl: 'postgresql://user:password@host:5432/database',
  timeout: 5000,
  maxWait: 2000,
});
```

### Debug Mode

Set `DEBUG_DB=true` to log connection info (password is masked):

```bash
DEBUG_DB=true node your-app.js
# Output: [Prisma] Connecting to: postgresql://user:****@host:5432/database
```

### Generating Prisma Client

```bash
pnpm generate
```

### Running Migrations

```bash
pnpm migrations
```

## Dependencies

- Prisma 5.12.1
- zod for schema validation
- umzug for migration management
- nanoid for ID generation

## License

MIT