open-index/open-npm huggingface dataset:
npm package: @ganeshdole/scrolltotop
Description: In a React Single Page Application (SPA), users often expect the view to scroll to the top when they navigate to a new page. Without this functionality, users might find themselves starting at an arbitrary scroll position, which can be confusing and lead 
Author: Ganesh Dole
Latest version: 1.0.4

# @ganeshdole/scrolltotop

## Description

In a React Single Page Application (SPA), users often expect the view to scroll to the top when they navigate to a new page. Without this functionality, users might find themselves starting at an arbitrary scroll position, which can be confusing and lead to a poor user experience. The `@ganeshdole/scrolltotop` package provides a simple solution to this problem by automatically scrolling the window to the top whenever a new page is loaded using React Router.

## Features

- Automatically scrolls the window to the top when a new page is loaded.
- Compatible with React Router.

## Installation

To install the package, use npm:

```bash
npm install @ganeshdole/scrolltotop
```

## Usage

1. Import the `ScrollToTop` component from `@ganeshdole/scrolltotop`.
2. Wrap the `ScrollToTop` component around the content of your application.
3. Ensure React Router is set up in your project if you're using it.

Example:

```javascript

import ReactDOM from "react-dom/client";
import App from "./App.tsx";
import "./index.css";
import { BrowserRouter } from "react-router-dom";
import ScrollToTop from "@ganeshdole/scrolltotop";

ReactDOM.createRoot(document.getElementById("root")!).render(
  <BrowserRouter>
    <ScrollToTop>
      <App />
    </ScrollToTop>
  </BrowserRouter>
);
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Author

- [Ganesh Dole](https://github.com/ganeshdole)
npm package: @ganeshgaxy/bb-cli
Description: A lightweight Bitbucket CLI that mirrors glab's UX
Latest version: 0.1.0

# bb - Bitbucket CLI

A lightweight Bitbucket CLI that mirrors [glab](https://gitlab.com/gitlab-org/cli)'s UX. Manage pull requests, pipelines, and more from your terminal.

## Install

```bash
npm install -g @ganeshgaxy/bb-cli
```

Requires Node.js >= 18.

## Quick Start

```bash
# Authenticate (supports App Passwords, Atlassian API Tokens, OAuth tokens)
bb auth login

# List open pull requests
bb pr list -R workspace/repo

# Create a pull request
bb pr create --title "Fix bug" --description "Fixes #123"

# Review, approve, merge
bb pr view 42
bb pr approve 42
bb pr merge 42 --strategy squash

# Monitor pipelines
bb ci list
bb ci logs 15
```

## Authentication

bb supports three auth methods:

| Method | How to create | Auth type |
|--------|--------------|-----------|
| **App Password** | Personal settings > App passwords | Basic Auth |
| **Atlassian API Token** | manage.atlassian.com > API tokens | Basic Auth (auto-detected via `ATATT` prefix) |
| **OAuth / Access Token** | Workspace/Repo/Project settings > Access tokens | Bearer |

```bash
# Interactive
bb auth login

# Non-interactive
bb auth login -u your.email@example.com -t YOUR_TOKEN

# Environment variable (takes precedence)
export BB_TOKEN=your-token

# Verify
bb auth status
```

Credentials stored in `~/.config/bb-cli/config.json` (mode `0600`).

## Commands

### Pull Requests

```bash
bb pr list                         # List open PRs
bb pr create                       # Create PR (interactive)
bb pr view <id>                    # View PR details
bb pr diff <id>                    # View diff
bb pr comments <id>                # Read comments
bb pr comment <id> -m "LGTM"      # Add comment
bb pr approve <id>                 # Approve
bb pr unapprove <id>               # Remove approval
bb pr merge <id>                   # Merge
bb pr decline <id>                 # Close without merging
bb pr checkout <id>                # Checkout branch locally
bb pr update <id> --title "New"    # Update PR fields
```

### Pipelines

Aliased as both `bb pipeline` and `bb ci`:

```bash
bb ci list                         # List recent pipelines
bb ci view <build#>                # View steps and status
bb ci run                          # Trigger pipeline
bb ci run -b main --pattern deploy # Trigger custom pipeline
bb ci stop <build#>                # Stop running pipeline
bb ci logs <build#>                # View all step logs
bb ci logs <build#> -s "Build"     # View specific step
```

### Raw API

Escape hatch for any Bitbucket REST API v2 endpoint:

```bash
bb api /repositories/workspace/repo
bb api --method POST /path --field title="Bug"
bb api --paginate /path
```

## Common Flags

| Flag | Description |
|------|-------------|
| `-R, --repo workspace/repo` | Specify repository (auto-detected from git remote) |
| `-F, --output json` | JSON output for scripting |
| `-p, --page N` | Page number |
| `-P, --per-page N` | Items per page |
| `-w, --web` | Open in browser |

## License

MIT
npm package: @ganeshminuscule/cryotos-cmms-mcp-client
Description: Enterprise-grade JavaScript client for Cryotos CMMS MCP Server
Author: Your Name
Latest version: 1.0.0

# Cryotos CMMS MCP Client

Enterprise-grade JavaScript/TypeScript client for interacting with the Cryotos CMMS MCP Server.

## Installation

```bash
npm install cryotos-cmms-mcp-client
```

Or use directly with npx:

```bash
npx cryotos-cmms-mcp-client <command> [options]
```

## Usage

### As a Library

```javascript
// ESM
import { CryotosMcpClient } from 'cryotos-cmms-mcp-client';

// CommonJS
const { CryotosMcpClient } = require('cryotos-cmms-mcp-client');

// Create client instance
const client = new CryotosMcpClient({
  baseUrl: 'http://localhost:8080/api',
  timeout: 30000
});

// Get account details
async function getAccountDetails() {
  try {
    const accountDetails = await client.getAccountDetails();
    console.log('Account Details:', accountDetails);
  } catch (error) {
    console.error('Error:', error.message);
  }
}

getAccountDetails();
```

### As CLI Tool

```bash
# Get account details
npx cryotos-cmms-mcp-client account --url http://localhost:8080/api

# Check server health
npx cryotos-cmms-mcp-client health --url http://localhost:8080/api

# Get help
npx cryotos-cmms-mcp-client --help
```

## Integration with Claude

To integrate this client with Claude AI, you have two options:

### Option 1: Use as an API directly (Recommended for Enterprise)

1. Expose your MCP server through a secure API gateway
2. Configure Claude to call your API endpoints directly
3. Ensure proper authentication and rate limiting

### Option 2: Use the MCP Client via Claude's execution capabilities

```javascript
// Sample Claude execution of MCP client
const { CryotosMcpClient } = require('cryotos-cmms-mcp-client');

// Create client with Claude-provided configuration
const client = new CryotosMcpClient({
  baseUrl: process.env.CRYOTOS_MCP_URL || 'http://localhost:8080/api'
});

// Execute API calls
async function getDataForClaude() {
  const accountDetails = await client.getAccountDetails();
  return JSON.stringify(accountDetails);
}

// Return data to Claude
getDataForClaude().then(console.log);
```

## Development

```bash
# Install dependencies
npm install

# Generate API client from OpenAPI spec
npm run generate-api

# Build the package
npm run build

# Run tests
npm test
```

## License

MIT