open-index/open-npm huggingface dataset:
npm package: @hexie/blinkdb-react
Description: BlinkDB & React (forked)
Latest version: 0.0.4

<p align="center">
  <a href="http://blinkdb.io/" target="blank"><img src="https://raw.githubusercontent.com/blinkdb-js/blinkdb/main/packages/db/logo.svg" width="120" alt="BlinkDB Logo" /></a>
</p>

<p align="center">
  <a href="http://blinkdb.io/" target="blank">BlinkDB</a> is a in-memory JS database optimized for large scale storage
  on the frontend.
</p>

<hr />

```tsx
const Component = () => {
  const userTable = useTable((model: Model) => model.users);
  const { data: firstUser } = await useMany(userTable, {
    where: {
      name: { in: ["Alice", "Charlie"] },
      age: { gt: 24 },
    },
  });
  ...
}
```

# `@blinkdb/react`

This package contains auxiliary methods for smoothly integrating BlinkDB into [React](https://react.dev/).

## Getting started

- Read the docs at https://blinkdb.io/docs/react.
- Check out the API reference at https://blinkdb.io/docs/reference/react.
npm package: @hexie/impaste
Description: Clipboard image utilities for macOS - paste and copy images
Author: Hexie
Latest version: 1.0.0

# @hexie/impaste

macOS command-line tools for clipboard image manipulation. Copy and paste PNG images using the terminal.

## Features

- 🖼️ **impaste** - Extract PNG images from clipboard to stdout
- 📋 **imcopy** - Copy PNG images from stdin to clipboard
- 🚀 Fast and lightweight, powered by Bun
- 🔧 Unix-style tools that work great in pipes
- 🎯 Zero runtime dependencies

## Installation

```bash
npm install -g @hexie/impaste
```

Or with Bun:

```bash
bun install -g @hexie/impaste
```

## Usage

### Basic Commands

```bash
# Copy an image to clipboard
imcopy < image.png

# Paste image from clipboard to file
impaste > output.png

# Copy image from URL to clipboard (using curl)
curl -s https://example.com/image.png | imcopy
```

### Advanced Examples

```bash
# Process clipboard image with ImageMagick and copy back
impaste | convert - -resize 50% - | imcopy

# Save clipboard image with timestamp
impaste > "screenshot_$(date +%Y%m%d_%H%M%S).png"

# Copy processed image to clipboard
cat photo.png | convert - -grayscale average - | imcopy
```

## Requirements

- macOS (uses AppleScript for clipboard access)
- Bun runtime (for development)

## Development

### Setup

```bash
# Clone the repository
git clone https://github.com/hexie/impaste.git
cd impaste

# Install dependencies
bun install
```

### Commands

```bash
# Run tests
bun test

# Lint code
bun run lint

# Format code
bun run format

# Type check
bun run typecheck
```

### Testing Locally

```bash
# Test imcopy
cat demo/example.png | bun ./imcopy.ts

# Test impaste
bun ./index.ts > test-output.png
```

## How It Works

Both tools use macOS's built-in AppleScript capabilities to interact with the system clipboard:

- **impaste**: Checks if the clipboard contains a PNG image, writes it to a temporary file, then outputs the contents to stdout
- **imcopy**: Reads image data from stdin, writes it to a temporary file, then uses AppleScript to copy it to the clipboard

The tools handle PNG format specifically (`«class PNGf»` in AppleScript) and include comprehensive error handling for common scenarios.

## Error Handling

The tools provide clear error messages for common issues:

- No image in clipboard (impaste)
- No input data provided (imcopy)
- Invalid image format
- AppleScript execution failures

## License

MIT

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## Acknowledgments

Built with [Bun](https://bun.sh) - a fast all-in-one JavaScript runtime.
npm package: @heximal/components
Description: The core built-in components for [Heximal](https://www.npmjs.com/package/heximal)
Author: Elematic Software, Inc.
Latest version: 0.1.5

# Heximal Components

The core built-in components for [Heximal](https://www.npmjs.com/package/heximal)

## Components

- `<h-var>`: Declares a variable
- `<h-out>`: Displays the value of an expression
- `<h-scope>`: Creates a nested scope for h-var variables
- `<h-include>`: Include HTML files into your document
- `<h-fetch>`: Fetch a network resource

## Auto Templates

Auto templates are immediately rendered in-place without being part of a
component or called from another template. They are declared with the `h-auto`
attribute.

Auto templates are neccessary to be able to use bindings in the main document
without rendering the text of the bidning expression. The expressions are
stripped before rendering, and replaced with their values.

Auto-templates are also run as a signal effect, so that they update whenever any
signals that they depend on change. `<h-var>` and the fields of built-in
components are backed-by signals so that changes to them can be tracked.

```html
<template h-auto>
  <h1>Hello, {{ name }}</h1>
</template>
```