open-index/open-npm huggingface dataset:
npm package: @mark_alber/weathernow-cli
Description: A simple CLI tool to get current weather information for any location
Author: Your Name
Latest version: 1.0.0

# WeatherNow CLI 🌤️

A simple command-line tool to get current weather information for any location worldwide.

## Quick Install

```bash
npm install -g @mark_alber/weathernow-cli
```

That's it! Now you can use `weathernow` from anywhere in your terminal.

## Features

- Get temperature and humidity for any city/location
- Filter results to show only temperature or humidity
- Clean, formatted output with emojis
- Error handling for invalid locations and API issues
- Supports both environment variables and .env files

## Setup

### 1. Get an API Key
- Sign up for a free account at [OpenWeatherMap](https://openweathermap.org/api)
- Get your API key from the dashboard

### 2. Configure API Key (Choose one method)

**Option A: Environment Variable**
```powershell
# Windows PowerShell
$env:WEATHER_API_KEY = "your_api_key_here"

# Or set it permanently
[Environment]::SetEnvironmentVariable("WEATHER_API_KEY", "your_api_key_here", "User")
```

```bash
# Linux/macOS
export WEATHER_API_KEY="your_api_key_here"

# Add to ~/.bashrc or ~/.zshrc for persistence
echo 'export WEATHER_API_KEY="your_api_key_here"' >> ~/.bashrc
```

**Option B: .env File** (For local development)
```bash
# Create .env file in your project directory
echo "WEATHER_API_KEY=your_api_key_here" > .env
```

## Usage

```bash
# Show both temperature and humidity
weathernow "New York"
weathernow London

# Show only temperature
weathernow "Paris" temp
weathernow Tokyo temperature

# Show only humidity
weathernow "Los Angeles" humidity

# Multiple word locations (use quotes)
weathernow "San Francisco" temp
```

## Examples

```bash
$ weathernow "New York"
🔍 Fetching weather data for "New York"...

📍 New York, US
──────────────────────────────
🌡️  Temperature: 18.5°C
💧 Humidity: 65%

$ weathernow London temp
🔍 Fetching weather data for "London"...

📍 London, GB
──────────────────────────────
🌡️  Temperature: 12.3°C

$ weathernow Paris humidity
🔍 Fetching weather data for "Paris"...

📍 Paris, FR
──────────────────────────────
💧 Humidity: 73%
```

## Alternative Installation Methods

### Option 1: One-liner Script (Linux/macOS)
```bash
curl -sSL https://raw.githubusercontent.com/MarkCoder1/weathernow-cli/main/install.sh | bash
```

### Option 2: One-liner Script (Windows)
```powershell
# PowerShell
iwr -useb https://raw.githubusercontent.com/mark-alber/weathernow-cli/main/install.ps1 | iex
```

### Option 3: From Source
```bash
git clone https://github.com/mark-alber/weathernow-cli.git
cd weathernow-cli
npm install -g .
```

### Option 4: Local Development
```bash
git clone https://github.com/mark-alber/weathernow-cli.git
cd weathernow-cli
npm install
cp .env.example .env
# Edit .env with your API key
node index.js London
```

## Publishing to npm (For Maintainers)

```bash
# 1. Login to npm
npm login

# 2. Publish the package
npm publish

# 3. Users can then install with:
npm install -g @mark_alber/weathernow-cli
```
npm package: @mark_j_yadav/api-error-normalizer
Description: Standardized API error handling for Node.js backends
Author: Mark J Yadav
Latest version: 1.0.5

{
  "name": "api-error-normalizer",
  "version": "1.0.0",
  "description": "Standardized API error handling for Node.js backends",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "keywords": [
    "api",
    "error",
    "express",
    "backend",
    "node",
    "normalizer"
  ],
  "scripts": {
    "build": "tsup",
    "prepublishOnly": "npm run build"
  },
  "author": "Mark J Yadav",
  "license": "MIT"
}
npm package: @markaadev/better-spc-parser
Description: Thermo Galactic GRAMS SPC files parser
Author: Mark-AA-Dev
Latest version: 1.0.1

# spc-parser

Thermo Galactic GRAMS SPC files parser.

<h3 align="center">

  <a href="https://www.zakodium.com">
    <img src="https://www.zakodium.com/brand/zakodium-logo-white.svg" width="50" alt="Zakodium logo" />
  </a>

  <p>
    Maintained by <a href="https://www.zakodium.com">Zakodium</a>
  </p>

[![NPM version][npm-image]][npm-url]
[![build status][ci-image]][ci-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
[![DOI](https://www.zenodo.org/badge/379600570.svg)](https://www.zenodo.org/badge/latestdoi/379600570)

</h3>

## Installation

`$ npm i spc-parser`

## Usage

```js
import { readFileSync } from 'fs';
import { join } from 'path';
import { parse } from 'spc-parser';

const arrayBuffer = readFileSync(join(__dirname, 'spectrum.spc'));

const result = parse(arrayBuffer);
// result is a JSON object containing everything that was parsed
```

## [API Documentation](https://cheminfo.github.io/spc-parser/)

## Credits and useful information

### SPC file format

[SPC](https://en.wikipedia.org/wiki/SPC_file_format) is a file format used in the GRAMS Software Suite for storing all kinds of spectroscopic data, including infrared spectra, Raman spectra and UV/VIS spectra.
The data is stored in binary with some parts encoded in ASCII. As such, the file must be viewed in either a hex editor or any compatible spectroscopy software.

An SPC file is organized in three blocks:

1. File-Header block
2. Data block
3. Log block

The File Header contains information about the whole file, such as how values are read, the type of format (Old, New LSB, New MSB), the structure of the data block (**XY**, **XYY** or **XYXY**) and the number of spectra.

The Data block contains the spectrum data and is composed of a subheader for each spectrum, the X values _before_ the subheader if **XY** or **XYY**, else _after_ each subheader if **XYXY**. After the subheader and X values come the Y values, which are read according to the method determined in the Main Header.

The Log block contains miscellaneous information that varies for each file, with a part written in ASCII and another one in binary.

Useful files for the specification for the spc-format can be found at [the docs folder in the Github repo](https://github.com/cheminfo/spc-parser/tree/main/docs)

## License

[MIT](./LICENSE)

[npm-image]: https://img.shields.io/npm/v/spc-parser.svg
[npm-url]: https://www.npmjs.com/package/spc-parser
[ci-image]: https://github.com/cheminfo/spc-parser/workflows/Node.js%20CI/badge.svg?branch=main
[ci-url]: https://github.com/cheminfo/spc-parser/actions?query=workflow%3A%22Node.js+CI%22
[codecov-image]: https://img.shields.io/codecov/c/github/cheminfo/spc-parser.svg
[codecov-url]: https://codecov.io/gh/cheminfo/spc-parser
[download-image]: https://img.shields.io/npm/dm/spc-parser.svg
[download-url]: https://www.npmjs.com/package/spc-parser
npm package: @markai/mark-collapse
Description: Toggle the visibility of content
Author: Hiten Bhayani
Latest version: 1.0.5

# `<mark-collapse>` [![Published on npm](https://img.shields.io/npm/v/@markai/mark-collapse.svg)](https://www.npmjs.com/package/@markai/mark-collapse)

- This is simple web component built using the [lit.dev](https://lit.dev/) library.
- It provides a simple way to create collapsible content sections.
- Users can toggle the visibility of the content by interacting with the component.

### Installation

```shell
npm i @markai/mark-collapse
```

```shell
yarn add @markai/mark-collapse
```

### Usage

Example of mark-collapse usage patten.

1. Import the mark-collapse element:

```js
import '@markai/mark-collapse';
```

2. Add the mark-collapse element to your HTML:

```html
<mark-collapse open>
  <p>This content can be collapsed and expanded.</p>
</mark-collapse>
```

### Properties

| name   | Type      | Description                                                                                                                                                 |
| ------ | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `open` | `boolean` | Determines whether the content is currently `open` (visible) or closed (hidden). By default, it is set to `false`, meaning the content is initially closed. |

### Methods

| name     | Return | Description                                                                                                                       |
| -------- | ------ | --------------------------------------------------------------------------------------------------------------------------------- |
| `toggle` | `void` | allows you to programmatically toggle the visibility of the content. Call this method to change the state of the `open` property. |

### Slots

| name      | Description                                                                                                                         |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `default` | to insert content that you want to collapse. Place your content within the `<slot></slot>` tags inside the `mark-collapse` element. |

### CSS Custom Properties

| Name                                  | Default | Description                                            |
| ------------------------------------- | ------- | ------------------------------------------------------ |
| `--mark-collapse-transition-duration` | `0.5s`  | The duration of the collapse/expand animation.         |
| `--mark-collapse-transition-timing`   | `0.5s`  | The timing function for the collapse/expand animation. |
npm package: @markangeloujamandre/schema
Description: AI-powered Schema.org JSON-LD generator using Google Gemini
Author: Mark Angelou Jamandre
Latest version: 0.0.1

# Schema Generator AI

AI-powered Schema.org JSON-LD generator using Google Gemini for automatic SEO markup generation.

## Installation

```bash
npm install @yourusername/schema-generator-ai
```

## Usage

### Basic Usage

```javascript
import {
  generateSchemaFile,
  getSchemaUrl,
} from "@yourusername/schema-generator-ai";

// Generate schema for a page
const schemaUrl = await generateSchemaFile(page, blocks, route);

// Get public URL for existing schema
const url = getSchemaUrl("/rooms/deluxe-room");
```

### Environment Setup

Set your Gemini API key:

```bash
GEMINI_API_KEY=your_api_key_here
```

### API

#### `generateSchemaFile(page, blocks, route)`

Generates Schema.org JSON-LD markup for a page.

**Parameters:**

- `page` (Object): Page data containing content, metadata, and taxonomy
- `blocks` (Array): Optional array of content blocks
- `route` (String): Page route (e.g., '/rooms/deluxe')

**Returns:** Promise<String> - URL to generated schema file

#### `getSchemaUrl(route)`

Gets the public URL for a schema file.

**Parameters:**

- `route` (String): Page route

**Returns:** String - Schema file URL

#### `getSchemaFilePath(route)`

Gets the file system path for a schema file (server-side only).

**Parameters:**

- `route` (String): Page route

**Returns:** String - File system path

## Supported Schema Types

- Hotel/Resort
- HotelRoom/Accommodation
- Restaurant
- BlogPosting/Article
- Offer
- SportsActivityLocation
- HealthAndBeautyBusiness

## Requirements

- Node.js >= 14.0.0
- Google Gemini API key
- Server-side environment (Next.js, Express, etc.)

## License

MIT