open-index/open-npm huggingface dataset:
npm package: @quickql/server
Description: Enterprise-grade QuickQL server engine with advanced security and performance.
Author: Udinmo Inc.
Latest version: 1.0.5

# @quickql/server

A high-performance, schema-driven API engine with native relational mapping and enterprise security by **Udinmo Inc.**

## Features

- **🚀 Ultra-Fast Relations**: Native $O(N+M)$ relation resolver that eliminates the N+1 problem without DataLoaders.
- **🔐 Enterprise Security**: Integrated RBAC (Role-Based Access Control), depth limiting, and complexity scoring.
- **🛠️ Zero-Boilerplate**: Fully automated resolver mapping for Prisma and other standard ORMs.
- **📦 Multi-Strategy Auth**: Built-in hooks for JWT, API Keys, and custom authentication.
- **🎨 Supreme Console**: A premium browser IDE for exploring your schema, traversing data relations, and testing queries.
- **⚡ Atomic Transactions**: Native support for batch mutation transactions at the engine level.

## Getting Started

### Installation

```bash
npm install @quickql/server
```

### Basic Server Initialization

```typescript
import { createServer } from '@quickql/server';
import { PrismaClient } from '@prisma/client';

const orm = new PrismaClient();

const server = createServer({
  orm,
  schema: {
    users: {
      model: 'User',
      fields: ['id', 'email', 'name'],
      relations: {
        posts: { type: 'many', model: 'Post', foreignKey: 'userId' }
      }
    }
  },
  auth: {
    secret: 'udinmo-secret-123'
  },
  rbac: {
    roles: {
      'admin': { can: ['*'], write: ['*'] },
      'user': { can: ['users', 'posts'] }
    }
  }
});

// Use it with any HTTP framework (e.g. Express)
app.post('/quickql', async (req, res) => {
  const result = await server.handleRequest(req.body, { ip: req.ip });
  res.json(result);
});
```

## Advanced Customization

### Directives
Extend the query language with custom `@tags`:

```typescript
const server = createServer({
  directives: [
    {
      name: 'upper',
      handler: (results) => results.map(row => ({ ...row, name: row.name?.toUpperCase() }))
    }
  ]
});
```

### Lifecycle Hooks (Plugins)
Intercept any part of the execution flow:

```typescript
server.use({
  name: 'audit-plugin',
  onMutation: async (m, ctx) => {
    console.log(`[AUDIT] Created ${m.collection} by ${ctx.user.id}`);
  }
});
```

## License

(c) 2024-2026 Udinmo Inc. All rights reserved.
MIT Licensed — see LICENSE for details.
Author: [Udinmo Inc.](https://udinmo.com)
npm package: @quicksand/coder
Description: quicksand项目代码规范
Author: quicksand
Latest version: 0.0.1-alpha.16

<p align="center">
  <!-- <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /></a> -->
</p>
<p align="center">用于 <a href="https://www.npmjs.com/~quicksand" target="blank">流沙</a> 项目代码规范</p> 
<p align="center">
  <a href="https://www.npmjs.com/package/@quicksand/coder"><img src="https://img.shields.io/npm/v/@quicksand/coder.svg?logo=npm" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/package/@quicksand/coder"><img src="https://img.shields.io/npm/l/@quicksand/coder.svg" alt="Package License" /></a>
</p>
<p align="center">
<a href="https://www.npmjs.com/package/@quicksand/coder"><img src="https://img.shields.io/github/issues/huxuezhi/quicksand-coder?logo=github" alt="GitHub issues" /></a>
<a href="https://www.npmjs.com/package/@quicksand/coder"><img src="https://img.shields.io/github/forks/huxuezhi/quicksand-coder?logo=github" alt="GitHub forks" /></a>
<a href="https://www.npmjs.com/package/@quicksand/coder"><img src="https://img.shields.io/github/stars/huxuezhi/quicksand-coder?logo=github" alt="GitHub stars" /></a>
</p>
npm package: @quickscope/sdk
Description: An NPM package that is used for the quickscope router implementation
Author: Dutch - Quickscope
Latest version: 0.10.2

# @quickscope/sdk

Welcome to the `@quickscope/sdk` package, a software development kit designed to interact seamlessly with the Quickscope Router API on the Solana blockchain. This package provides a robust and user-friendly set of functions to facilitate token swaps and transaction management.

## Installation

Install the package using npm:

```bash
npm install @quickscope/sdk
```

## Getting Started

### Initialization

First, initialize the Router class with your API key:

```javascript
import Quickscope from '@quickscope/sdk';
// OR
const Quickscope = require('@quickscope/sdk');

const location = "frankfurt" // frankfurt, nyc

let quickscopeSdk = await new Quickscope(location, ApiKey);
```

### Functions Overview
Token Swaps
- getSwapBest
- getSwapCustom

Transaction Management
- createTransaction
- sendTransaction
- simulateTransaction

Quote Retrieval
- getQuoteBest
- getQuoteCustom

Info
- getProviders 
- getMint
- getPools

## Documentation
For detailed information on how to use each function, including installation instructions, usage examples, and API references, please visit our comprehensive documentation at [Quickscope Documentation](https://docs.quickscope.so/).

Thank you for using the `@quickscope/sdk` package. We hope it helps you integrate with the Quickscope Router API effortlessly and effectively. Happy coding!