open-index/open-npm huggingface dataset:
npm package: @lightpackcss/framework
Description: No compilers. No fuss. Just Native CSS + JavaScript components that work — from themes to tabs, toasts, drawers & more.
Author: Pradeep Tiwari
Latest version: 0.1.13-beta

# Lightpack CSS Framework

No compilers. No fuss. Just Native CSS + JavaScript components that work — from themes to tabs, toasts, drawers & more.

[lightpackcss/framework](https://github.com/lightpackcss/framework) 

This project is a modern, modular CSS framework with zero build dependencies for consumers. Use the CSS and JS directly in the browser, or integrate with your build pipeline.

> **⚠️ This project is currently in beta. Breaking changes and deprecated CSS may be introduced as the framework evolves.**

---


### Quick Start Example

```html
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Lightpack CSS Quick Start</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@lightpackcss/framework@v0.1.13-beta/dist/lightpack.min.css">
</head>

<body>
    <h1>Hello, Lightpack!</h1>
    <script src="https://cdn.jsdelivr.net/npm/@lightpackcss/framework@v0.1.13-beta/dist/lightpack.min.js"></script>
</body>

</html>
```

## Installation

### CDN
```html
<!-- CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@lightpackcss/framework@v0.1.13-beta/dist/lightpack.min.css">

<!-- JS -->
<script src="https://cdn.jsdelivr.net/npm/@lightpackcss/framework@v0.1.13-beta/dist/lightpack.min.js"></script>
```

### npm
```sh
npm install @lightpackcss/framework
```

---

## Features

- Modular, customizable, themeable CSS architecture
- Native, dependency-free JavaScript components (tabs, accordions, alerts, modals, drawers, toasts, theme switcher, etc.)
- Easy to use: just include the built CSS/JS or import into your project
- Designed for extensibility and theming
npm package: @lightprotocol/jup-api-adapter
Description: Jupiter API wrapper with support for compressed tokens
Author: Light Protocol Maintainers
Latest version: 0.1.6

# Jupiter Compression SDK

A wrapper for @jup-ag/api that adds Compressed Token support.

## Installation

```bash
yarn add @lightprotocol/jup-api-adapter
```

## Usage

```typescript
import { VersionedTransaction } from '@solana/web3.js';
import { createRpc } from '@lightprotocol/stateless.js';
import { createJupiterApiAdapterClient, TokenCompressionMode } from '@lightprotocol/jup-api-adapter';

// Create RPC connection with compression support
const connection = createRpc(RPC_URL, COMPRESSION_URL, COMPRESSION_URL);

// Initialize Jupiter API Adapter client
const jupiterApi = await createJupiterApiAdapterClient(connection);

// Get quote
const quote = await jupiterApi.quoteGetCompressed({
    inputMint: INPUT_MINT.toBase58(),
    outputMint: OUTPUT_MINT.toBase58(),
    amount: AMOUNT,
    onlyDirectRoutes: true,
    slippageBps: 500,
}, TokenCompressionMode.DecompressInput);

// Get swap transaction
const swapResponse = await jupiterApi.swapPostCompressed({
    swapRequest: {
        userPublicKey: wallet.publicKey.toBase58(),
        quoteResponse: quote,
    }
}, { compressionMode: TokenCompressionMode.DecompressInput });


const tx = VersionedTransaction.deserialize(Buffer.from(swapResponse.swapTransaction, 'base64'));
tx.sign([wallet]);
// send ...

```

For more code examples, see [this repo](https://github.com/Lightprotocol/example-jupiter-swap-node/blob/main).


## Overview

Extends `DefaultApi` class with endpoints:

- `quoteGetCompressed`
- `quoteGetRawCompressed`
- `swapInstructionsPostCompressed`
- `swapInstructionsPostRawCompressed`
- `swapPostCompressed`
- `swapPostRawCompressed`

## Constraints when using one of the compression endpoints

- `swapMode` must be `ExactIn`
- `wrapAndUnwrapSol` must be `true`
- `skipUserAccountsRpcCalls` must be `false`
- `asLegacyTransaction` must be `false`
- `useTokenLedger` must be `false`
- `allowOptimizedWrappedSolTokenAccount` must be `false`
- `dynamicComputeUnitLimit` must be `false`
- `prioritizationFeeLamports` not supported yet (use `computeUnitPriceMicroLamports` instead)
- `compressionMode` must be one of `DecompressInput`, `DecompressAndCompress`, `CompressOutput`.

- Instructions
    - mutates `ComputeBudgetInstructions` to reflect higher cu usage. (`PrioritizationFeeLamports` are not supported yet. Use `computeUnitPriceMicroLamports` instead.)
    - extends `addressLookupTableAddresses` with a lookup table for [Light Protocol](https://www.zkcompression.com/developers/protocol-addresses-and-urls#lookup-tables).
    - extends `setupInstructions` and `closeInstructions` with
        - `getCreateAtaInstructions` (tokenIn, tokenOut)
        - `getDecompressionSetupInstructions` (tokenIn, tokenOut)
        - `getCleanupInstructions` (tokenIn, tokenOut)


## Notes

- No safeguards added. Use at your own risk.