open-index/open-npm huggingface dataset:
npm package: @hammercode/ui
Description: A modern, customizable React component library built with Tailwind CSS v4.
Latest version: 1.0.2

# @hammercode/ui

A modern, customizable React component library built with Tailwind CSS v4.

## Installation

```bash
npm install @hammercode/ui
# or
pnpm add @hammercode/ui
# or
yarn add @hammercode/ui
```

## Usage

### Import Styles

First, import the CSS file in your app:

```tsx
import "@hammercode/ui/styles.css";
```

### Example Component

```tsx
import { Button } from "@hammercode/ui/button";
```

## Development

This package is built with:

- **React** - Component framework
- **TypeScript** - Type safety
- **Tailwind CSS v4** - Styling
- **tsup** - Build tool

## Contributing

1. Clone the repository
2. Install dependencies: `pnpm install`
3. Start development: `pnpm dev`
4. Build package: `pnpm build`

## License

MIT © [Hammercode]

## Changelog

See [CHANGELOG.md](./CHANGELOG.md) for version history.
npm package: @hammerfive/vitepress
Description: Vite & Vue powered static site generator
Author: Evan You
Latest version: 1.0.1

# VitePress 📝💨

[![test](https://github.com/vuejs/vitepress/workflows/Test/badge.svg)](https://github.com/vuejs/vitepress/actions)
[![npm](https://img.shields.io/npm/v/vitepress)](https://www.npmjs.com/package/vitepress)
[![chat](https://img.shields.io/badge/chat-discord-blue?logo=discord)](https://chat.vuejs.org)

---

VitePress is a Vue-powered static site generator and a spiritual successor to [VuePress](https://vuepress.vuejs.org), built on top of [Vite](https://github.com/vitejs/vite).

## Documentation

To check out docs, visit [vitepress.dev](https://vitepress.dev).

## Changelog

Detailed changes for each release are documented in the [CHANGELOG](https://github.com/vuejs/vitepress/blob/main/CHANGELOG.md).

## Contribution

Please make sure to read the [Contributing Guide](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md) before making a pull request.

## License

[MIT](https://github.com/vuejs/vitepress/blob/main/LICENSE)

Copyright (c) 2019-present, Yuxi (Evan) You
npm package: @hammerframework/hammer-cli
Description: The Hammer Command Line
Latest version: 0.0.1-alpha.14

# The Hammer Command Line

## Installation

We recommend that you install Hammer's CLI globally
with npm `npm install -g @hammerframework/hammer-cli` or with
yarn `yarn global add @hammerframework/hammer-cli`.

## Command line basics

### `hammer new`

The first thing we'll want to do is create a new Hammer application by running the
`hammer new` command after installation.

```terminal
$ yarn new ~/myprojects/todo
Created ~/myprojects/todo
Downloading https://github.com/hammerframework/create-hammer-app/archive/v0.0.1-alpha.7.zip...
Extracting...
Added 50 files in ~/myprojects/todo
```

## Development

Run `yarn dev` to automatically reload the

Add a new command by creating `CommandName/CommandName.js` file in the
`./src/commands` directory.

A command should export the following:

```js
export default ({ args }) => {} // The react-ink component.
export const commandProps = {
  name: 'generate',
  alias: 'g', // invoke with hammer s instead of hammer scaffold,
  description: 'This command does a, b, but not c.',
}
```

## Publishing

This is a monorepo and is published via LearnaJS. See the root README for instructions.
npm package: @hammerframework/hammer-core
Description: This package searches for and parses the `hammer.toml` configuration file. The `hammer.toml` file is used to designate the base directory of a hammer app.
Latest version: 0.0.1-alpha.14

# The Hammer Core

This package searches for and parses the `hammer.toml` configuration
file. The `hammer.toml` file is used to designate the base
directory of a hammer app.
npm package: @hammerframework/hammer-dev-server
Description: The hamer dev server looks for "lambda functions" in the directory (default: `./api/src/functions`) specified in your `hammer.toml` configuration file.
Latest version: 0.0.1-alpha.14

# The Hammer Development Server

The hamer dev server looks for "lambda functions" in the directory
(default: `./api/src/functions`) specified in your `hammer.toml`
configuration file.

Each lambda function is mapped to a URI based on their filename, as
an example: `./api/src/functions/graphql.js` would be accessible
at `http://localhost:8911/graphql`.

The `./api` directory is watched for modifications, when they are
detected the modules are reimported.

A lambda function must export a `handler`. You can execute the
supplied callback function:

```js
export const handler = (event, context, callback) => {
  return callback(null, { status: 200, body: 'Hello, world' })
}
```
npm package: @hammerhead/aichatbothelper
Description: A lightweight wrapper for the Groq Chat API with Markdown → HTML conversion, syntax highlighting, and optional streaming.
Author: Alvie Gilbert
Latest version: 1.0.0

# AI Chatbot Helper

A lightweight wrapper for the Groq Chat API with:

- Markdown → HTML conversion
- Syntax highlighting for code blocks
- Optional streaming responses
- Conversation history with configurable limits

---

## Installation

```bash
npm install @hammerhead/aichatbothelper
pnpm add @hammerhead/aichatbothelper
```
npm package: @hammerhead/deckmanager
Description: A ready-to-use card deck manager with pile support using Deck of Cards API
Author: Alvie Gilbert
Latest version: 1.1.0

# Deck Manager

A ready-to-use card deck manager with **pile support** using the [Deck of Cards API](https://deckofcardsapi.com/). Perfect for building card games like Poker, Blackjack, or custom card-based apps.

---

## Features

- Automatically initializes a new deck on creation  
- Draw cards from the main deck  
- Shuffle the main deck  
- Support for **piles** (add, draw, shuffle, and list cards in piles)  
- Works with Jokers  
- Ready-to-use in Node.js (Node 18+ or with `node-fetch` for older versions)  

---

## Installation

```bash
# If using Node 18+ (fetch is built-in)
npm install deck-manager

# For Node <18
npm install deck-manager node-fetch
```

## Usage

### Initialize Deck

```js
import Deck from "deck-manager";

const deck = new Deck(); // auto-initializes a deck
```

### Draw From Main Deck

```js
const { cards, remaining } = await deck.draw(3);
console.log("Drawn cards:", cards);
console.log("Remaining in deck:", remaining);
```

### Shuffle Deck

```js
await deck.shuffle(); // shuffle the main deck
```

### Working With Piles

```js
// Add cards to a pile
await deck.addToPile("player1", cards);

// Draw from a pile
const pileCards = await deck.drawFromPile("player1", 1);
console.log("Card from pile:", pileCards.cards);

// List all cards in a pile
const remainingPile = await deck.listPile("player1");
console.log("Remaining in pile:", remainingPile);

// Shuffle a pile
await deck.shufflePile("player1");
```

### Example: Deal Hands to Multiple Players

```js
const players = ["Alice", "Bob"];

for (let player of players) {
  const { cards } = await deck.draw(5);  // Draw 5 cards for the player
  await deck.addToPile(player, cards);   // Add to player pile
}

// Show each player's hand
for (let player of players) {
  const hand = await deck.listPile(player);
  console.log(`${player}'s hand:`, hand);
}
```

## API

### Constructor

```js
new Deck(count = 1, jokers = false, shuffle = true)
```
npm package: @hammerhead/duckduckgosearch
Description: A DuckDuckGo search wrapper with text, images, videos, news, instant answers and related queries.
Author: HammerHead
Latest version: 1.0.2

# 🦆🔍 @hammerhead/duckduckgosearch

A simple Node.js wrapper for DuckDuckGo that supports **text, images, videos, news, instant answers, and related searches**.  
Built with `fetch` + `cheerio`. No official API key required.  

---

## ✨ Features

- 📄 Text search with pagination  
- 🖼️ Image search with pagination  
- 🎬 Video search  
- 📰 News search with pagination  
- ⚡ Instant answers via DuckDuckGo's API  
- 🔗 Related searches  

---

## 📦 Installation

```bash
pnpm add @hammerhead/duckduckgosearch
# or
npm install @hammerhead/duckduckgosearch
```

## Usage

```js
import DuckDuckGoSearch from "@hammerhead/duckduckgosearch";

const ddg = await DuckDuckGoSearch();

// 🔍 Text Search
const textResults = await ddg.text("nodejs", 2); // 2 pages
console.log(textResults);

// 🖼️ Image Search
const images = await ddg.images("cats", { page: 1, maxResults: 10 });
console.log(images);

// 🎬 Video Search
const videos = await ddg.videos("javascript tutorial", 5);
console.log(videos);

// 📰 News Search
const news = await ddg.news("AI technology", { page: 1, limit: 5 });
console.log(news);

// ⚡ Instant Answer
const instant = await ddg.instant("What is Node.js?");
console.log(instant);

// 🔗 Related Searches
const related = await ddg.related("open source");
console.log(related);
```
npm package: @hammerhead/recipesearch
Description: Search and fetch recipes from AllRecipes with details like ingredients, instructions, prep time, cook time, servings, and ratings.
Author: Alvie Gilbert
Latest version: 1.0.0

# @hammerhead/recipesearch

A simple Node.js package to search and fetch recipes from **AllRecipes**.  
Get recipe titles, links, images, ingredients, instructions, prep/cook times, servings, and ratings — all in one structured JSON format.

---

## Features

- Search recipes by keyword with pagination.  
- Fetch detailed recipe information:
  - Ingredients  
  - Step-by-step instructions  
  - Prep, cook, and total times  
  - Servings  
  - Ratings  
  - Images  
- Easy to use with just one import.  
- Robust error handling.

---

## Installation

```bash
npm install @hammerhead/recipesearch
# or with pnpm
pnpm add @hammerhead/recipesearch
```

## Usage

```js
import RecipeSearch from "@hammerhead/recipesearch";

// Initialize for AllRecipes
const recipes = RecipeSearch("AllRecipes");

// Search recipes
const results = await recipes.search("chocolate cake", 2); // 2 pages
console.log(results);

// Get detailed info for the first recipe
if (results.length > 0) {
  const firstRecipe = await recipes.details(results[0].link);
  console.log(firstRecipe);
}
```

### Search result

```json
[
  {
    "title": "Ultimate Chocolate Cake",
    "link": "https://www.allrecipes.com/recipe/12345/ultimate-chocolate-cake/",
    "image": "https://images.allrecipes.com/photo.jpg"
  }
]
```

### Detail result

```json
{
  "title": "Ultimate Chocolate Cake",
  "image": "https://images.allrecipes.com/photo.jpg",
  "rating": "4.8 stars",
  "servings": "8",
  "prepTime": "20 mins",
  "cookTime": "30 mins",
  "totalTime": "50 mins",
  "ingredients": [
    "2 cups flour",
    "1 cup sugar",
    "1/2 cup cocoa powder"
  ],
  "instructions": [
    "Preheat oven to 350°F (175°C).",
    "Mix dry ingredients together.",
    "Bake for 30 minutes."
  ]
}
```
npm package: @hammerhead/searchapi
Description: A lightweight Node.js ES module for DuckDuckGo and Wikipedia search without API keys
Author: Alvie Gilbert
Latest version: 1.1.0

# DuckSearch

A lightweight **Node.js ES module** for searching the web using **DuckDuckGo** and **Wikipedia** without any API keys. Supports text search, instant answers, Wikipedia summaries, and images.  

Perfect for building small search tools, bots, or learning projects.

---

## Features

- Text search via DuckDuckGo HTML  
- Instant answers via DuckDuckGo API  
- Wikipedia summaries with thumbnails  
- Image search (Wikipedia first, then DuckDuckGo fallback)  
- Safe search option  
- Built-in caching to avoid repeated requests  
- Pagination & max results support  
- Fully ES module compatible  

---

## Installation

```bash
npm install ducksearch