open-index/open-npm huggingface dataset:
npm package: @restti/restti-nodejs
Description: Node.js helper module for Restti API
Author: Restti
Latest version: 1.0.1

<a href="https://www.restti.com"><img src="https://www.restti.com/favicons/android-chrome-512x512.png" height="100px"/></a>

Restti Node.js SDK

[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)

# Table of Contents

- [Installation](#installation)
- [License](#license)

<a name="installation"></a>

# Installation

## Setup

```bash
npm install @restti/restti-nodejs
```

<a name="license"></a>

# License

[The MIT License (MIT)](LICENSE)
npm package: @restura/core
Description: Restura core utilities for No Code APIs
Author: Joshua Hintze
Latest version: 2.0.0

# @restura/core

Restura is a powerful utility library for building Node.js backend applications with ease. It provides the core functionality to define, validate, and manage your REST API by generating Express.js routes from a schema file. Additionally, it integrates with PostgreSQL databases to handle SQL queries and offers comprehensive authentication and authorization capabilities.

`@restura/core` is the core library that powers the Restura framework. It provides the essential functionality to define your REST API, validate input parameters, generate SQL queries, and handle user authentication and authorization. The library is designed to be extensible and customizable, allowing you to build complex backend applications with minimal effort.

## Key Features

-   **Schema-Based REST API**: Define your entire REST API in a schema file, and automatically generate all the required Express.js routes.
-   **Input Validation**: Automatically detects and validates query and body parameters for all routes.
-   **Authentication & Authorization**: Built-in support for handling user authentication and role-based authorization.
-   **Database Query Generation**: Automatically generate and run SQL queries against a PostgreSQL database, returning properly formatted data.
-   **Post-Validation**: Ensures all data returned from the database is correctly formatted according to your schema.

## Installation and Simple Usage

Install the library using npm:

```bash
pnpm add @restura/core

// Todo add more usage instructions

```

## Full Documentation

Documentation can be found in the [official Restura documentation](https://restura.io/docs).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @restura/internal
Description: Internal utilities for Restura
Author: Joshua Hintze
Latest version: 1.0.3

# @restura/internal

Restura is a powerful utility library for building Node.js backend applications with ease. It provides the core functionality to define, validate, and manage your REST API by generating Express.js routes from a schema file. Additionally, it integrates with PostgreSQL databases to handle SQL queries and offers comprehensive authentication and authorization capabilities.

`@restura/internal` is the internal library that contains common utility functions and classes used by the Restura framework. It is not intended to be used directly by developers, but rather serves as a dependency for other Restura packages.

## Full Documentation

Documentation can be found in the [official Restura documentation](https://restura.io/docs).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @resturant-webtool/common-i18n
Description: ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)
Author: Vanvelthem Sébastien
Latest version: 10.0.0

# @resturant-webtool/common-i18n

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)

## Purpose

Provide a central place to store translations for the monorepo apps and packages.

## Dependencies

Although no deps are required to use the translations, the choice of json files and their
organization into namespaces fits well with i18next/react-i18next/next-18next.

### Usage

Add the workspace dependency to the consuming app or package.

```bash
yarn add @resturant-webtool/common-locales:"workspace:^"
```

Add the paths in the app tsconfig.json.

```json5
{
  "compilerOptions": {
    "paths": {
      "@resturant-webtool/common-i18n": ["../../../packages/common-i18n/src/index"],
      "@resturant-webtool/common-i18n/locales/*": [
        "../../../packages/common-i18n/src/locales/*",
      ],
    },
  },
}
```

## i18next support

Optionally create a file named `apps/my-app/types.d/i18next.d.ts` to enable typechecks and autocompletion of keys.

```typescript
/**
 * Types augmentation for translation keys to allow to typecheck
 * and suggesting keys to the t function. In case it's too slow
 * you can opt out by commenting the following code.
 * @link https://react.i18next.com/latest/typescript
 */
import type { I18nResources } from "@resturant-webtool/common-i18n";

declare module "i18next" {
  interface CustomTypeOptions {
    defaultNS: "common";
    resources: I18nResources;
  }
}
```
npm package: @resturant-webtool/core-lib
Description: ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)
Author: Vanvelthem Sébastien
Latest version: 10.0.0

# @resturant-webtool/core-lib

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)

## Intro

WIP
npm package: @resturant-webtool/db-main-prisma
Description: ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)
Author: Vanvelthem Sébastien
Latest version: 10.0.0

# @resturant-webtool/db-main-prisma

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)

## Intro

Basic demo of a shared package using [prisma](<(https://prisma.io)>) to handle database access, part of the [nextjs-monorepo-example](https://github.com/belgattitude/nextjs-monorepo-example)

## Quick start

Start the database with `docker-compose up database` then run

```bash
cd packages/db-main-prisma
yarn prisma-db-push
yarn prisma-db-seed
yarn prisma-migrate dev
yarn prisma-migrate-reset
```

> See the .env(.local|.production|.development) file to edit the connection.
> **Curious about the setup ?**, we use [dotenv-flow](https://github.com/kerimdzhanov/dotenv-flow) under the hood read [this](https://github.com/prisma/prisma/issues/3865)
> and see the script section of [./package.json](./package.json)

## Install

### Database

#### Option 1: Postgresql local

The default env for `PRISMA_DATABASE_URL` is defined in the main [.env](.env) file.
By default, it connects to the postgresql service defined in [../../docker-compose.yml](../../docker-compose.yml).

Ensure you have docker and docker-compose and run

```bash
# In the root folder
docker-compose up database
# Alternatively, from any folder
yarn docker:up
```

#### Option 2: An hosted postgres instance

To quick start, you can use a free tier at supabase.io, but all providers will work.

As an example, simply create an `.env.local` and set the supabase pgbouncer url:

```env
PRISMA_DATABASE_URL=postgresql://postgres:[PASSWORD]@[HOST]:[PORT]/postgres?schema=public&pgbouncer=true&sslmode=require&sslaccept=strict&sslcert=../config/certs/supabase-prod-ca-2021.crt
```

> You can append `&connection_limit=1` if deploying on a serverless/lambda provider (ie: vercel, netlify...)

## DB creation

To create the database, simply run

```bash
yarn prisma-db-push
```

## DB Seeding

Create and seed the database the first time or after a change.

```bash
yarn prisma-db-seed
```

## DB type generation

Create or update the types. This is generally automatically done in
a postinstall from any app, see script section of [../../apps/nextjs-app/package.json](../../apps/nextjs-app/package.json)
or try it out with `yarn workspace web-app postinstall`

```bash
yarn prisma generate
```
npm package: @resturant-webtool/ts-utils
Description: ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)
Author: Vanvelthem Sébastien
Latest version: 10.0.0

# @resturant-webtool/ts-utils

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)

> **Note**
> This package is part of [belgattitude/nextjs-monorepo-example](https://github.com/belgattitude/nextjs-monorepo-example).

A package holding some basic typescript utilities: typeguards, assertions...

- [x] Packaged as ES module (type: module in package.json).
- [x] Can be build with tsup (no need if using tsconfig aliases).
- [x] Simple unit tests demo with either Vitest (`yarn test-unit`) or TS-Jest (`yarn test-unit-jest`).

## Install

From any package or apps:

```bash
yarn add @resturant-webtool/ts-utils@"workspace:^"
```

## Enable aliases

```json5
{
  //"extends": "../../tsconfig.base.json",
  "compilerOptions": {
    "baseUrl": "./src",
    "paths": {
      "@resturant-webtool/ts-utils": ["../../../packages/ts-utils/src/index"],
    },
  },
}
```

## Consume

```typescript
import { isPlainObject } from "@resturant-webtool/ts-utils";

isPlainObject(true) === false;
```
npm package: @resturant-webtool/ui-lib
Description: ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)
Author: Vanvelthem Sébastien
Latest version: 10.0.0

# @resturant-webtool/ui-lib

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/belgattitude/nextjs-monorepo-example/ci-packages.yml?style=for-the-badge&label=CI)

## Intro

A basic example of a design-system setup with storybook.
npm package: @restyard/siren-client
Description: Basic siren client.
Author: RESTyard-team
Latest version: 0.3.1

# restyard-typescriptsirenclient

A generic client for RESTyard Siren APIs

## Usage

```typescript
import {HypermediaClientService} from '@restyard/siren-client';
```

## Package structure

- `src/` - source code
- `spec/` - tests (all test files are named `*.spec.ts`)
npm package: @resuablewebcomponent/animations
Description: Pack of several animations to animate your component
Author: Mael
Latest version: 1.0.0
Deprecated: this package has been deprecated

# @resuable-web-components/animations

## Documentation

You can find the [documentation here](https://resuablewebcomponent.github.io/Custom-Components/)

## Demo

You can find the [demo here](https://resuablewebcomponent.github.io/demonstrations/)

## Preview

### Flip Animation

![Preview Flip animations](https://i.gyazo.com/285c8bca12fb2eee40f071d24cf01a24.gif)
npm package: @resuelve/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 3.0.3

# 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: @resuely/astro-oidc-rp
Description: Astro integration providing OIDC relying-party routes, middleware, and types.
Latest version: 1.1.1

# @resuely/astro-oidc-rp

Astro integration that injects OIDC login/callback/logout routes, a middleware that sets `Astro.locals.user`, and type augmentation.

## Install

```sh
npm install @resuely/astro-oidc-rp
```

## Usage (astro.config.mjs)

```js
import { defineConfig } from "astro/config";
import resuelyOidc from "@resuely/astro-oidc-rp";

export default defineConfig({
  integrations: [
    resuelyOidc({
      issuer: { env: "OIDC_ISSUER", fallback: "https://your-idp" },
      clientId: { env: "OIDC_CLIENT_ID" },
      cookie: { signingSecret: { env: "OIDC_SIGNING_SECRET" } },
      protected: ["/app/*", "/me"],
    }),
  ],
});
```

Injected routes (defaults):

- Login: `/login`
- Callback: `/oidc/callback`
- Logout: `/logout`
- Logout callback: `/logout/callback`

## Options

```ts
issuer: { env: string; fallback?: string }; // required
clientId: { env: string; fallback?: string }; // required
scopes?: string; // default: "openid email profile"
routes?: {
  login?: string;
  callback?: string;
  logout?: string;
  logoutCallback?: string;
};
redirectUri?: { mode: "infer-from-request" } | { absolute: string };
cookie: {
  name?: string;
  sameSite?: "Lax" | "Strict" | "None";
  secure?: boolean;
  domain?: string;
  path?: string;
  signingSecret: { env: string };
  maxAgeSec?: number;
};
protected?: string[]; // path patterns
```

## Types: Astro.locals
Enable type augmentation by referencing the package export:

Add to your `tsconfig.json`:

```json
{
  "compilerOptions": {
    "types": ["@resuely/astro-oidc-rp/astro-locals"]
  }
}
```

Then `Astro.locals.user` is typed as:

```ts
{ sub: string; email?: string } | null | undefined
```

## Security notes
- Always provide a strong `cookie.signingSecret`.
- Cookies are `Secure` by default; for local HTTP development you may need `cookie.secure: false`.
- The init cookie used during login is short-lived (5 minutes) and set `HttpOnly` + `SameSite=Lax`.

## Build & Publish

Build:

```sh
npm run build
```

Publish:

```sh
npm publish --access public
```

## License
MIT
npm package: @resulbeser1/air-command-ui-components
Description: UI Components for Air Command System
Author: OBSS
Latest version: 1.0.0

# Air Command UI Components

React component library for Air Command System.

## Installation

```bash
npm install @resulbeser1/air-command-ui-components
```

## Usage

```tsx
import { Button, Dialog, Table } from '@resulbeser1/air-command-ui-components';

function App() {
  return (
    <Button variant="primary" onClick={() => console.log('clicked')}>
      Click me
    </Button>
  );
}
```

## Available Components

- **Button** - Primary, secondary, and utility buttons
- **Dialog** - Modal dialogs and confirmation dialogs  
- **Table** - Data tables with sorting and filtering
- **Select** - Dropdown select components
- **TextInput** - Form input fields
- **Icon** - Icon library with Lucide React
- **Navbar** - Navigation components
- **Autocomplete** - Search and autocomplete inputs
- **DeleteConfirmationDialog** - Specialized confirmation modals

## Development

```bash
npm run dev        # Development mode with watch
npm run build      # Build for production
npm run test       # Run tests
npm run storybook  # Start Storybook development server
```

## Test Coverage

Current test coverage: **52.17%**

- Statements: 52.17%
- Branches: 45.83%
- Functions: 71.43%
- Lines: 52.17%

## Publishing to NPM Registry

```bash
npm run build
npm run publish:npm
```

## License

MIT License - see LICENSE file for details.