open-index/open-npm huggingface dataset:
npm package: @navitech/hosted-cli
Description: CLI for Hosted
Author: Navitech Systems
Latest version: 0.0.30

# Hosted CLI

A command-line interface for deploying and managing applications on Hosted platform.

## Installation

### Global Installation

Install globally using npm:

```bash
npm install -g @navitech/hosted-cli
```

Or using pnpm:

```bash
pnpm add -g @navitech/hosted-cli
```

## Usage

After global installation, use the `hosted-cli` command:

```bash
hosted-cli --help
```

### Available Commands

- `hosted-cli deploy <config-file>` - Deploy to k3s cluster based on config
- `hosted-cli delete <config-file>` - Delete all resources defined in the config
- `hosted-cli unploy <config-file>` - Un-deploy: Delete all resources and registry images defined in the config
- `hosted-cli login` - Open browser to login to the registry
- `hosted-cli whoami` - Show current logged in user

## Development

To install dependencies:

```bash
pnpm install
```

To build:

```bash
pnpm run build
```

To run locally:

```bash
node dist/index.js
```
npm package: @navith/tailwindcss-plugin-author-types
Description: Type definitions to make creating plugins for Tailwind CSS in TypeScript easier
Author: Navith
Latest version: 1.8.1-0.1

This package provides type definitions to make creating plugins for Tailwind CSS in TypeScript easier.

## Installation

```sh
npm install --save-dev @Navith/tailwindcss-plugin-author-types
```

## Basic usage
TODO

## Example projects
See my other projects TODO.


---

*Repository preview image generated with [GitHub Social Preview](https://social-preview.pqt.dev/)*
npm package: @navnathgunjal/envcheck
Description: Zero-dependency, strongly typed environment variable validator for TypeScript
Latest version: 1.0.0

# envcheck 🛡️

A zero-dependency, tree-shakeable, strongly typed environment variable validator for TypeScript.

`envcheck` allows you to define a schema for your environment variables and guarantees that your app only starts if all variables are correct. It infers types automatically, returning a 100% type-safe config object context.

## Features

- **Zero dependencies** (lightweight)
- **Aggregated Error Reporting** (shows _all_ missing/invalid variables at once)
- **TypeScript First** (perfect type inference)
- **ESM + CJS Support**
- **Tree-shakeable**

## Installation

```bash
npm install @navnathgunjal/envcheck
```

## Basic Usage

```ts
import { createEnv, string, number, boolean, enumType } from "envcheck";

// Define your schema and load variables from process.env
const env = createEnv({
  PORT: number(),
  DATABASE_URL: string(),
  NODE_ENV: enumType(["development", "production", "test"] as const),
  DEBUG: boolean(),
});

// `env` is now fully typed!
//
// const env: {
//   PORT: number;
//   DATABASE_URL: string;
//   NODE_ENV: "development" | "production" | "test";
//   DEBUG: boolean;
// }

console.log(`Server running on port ${env.PORT}`);
```

## How It Works

`createEnv` checks `process.env` against your schema on startup. If any keys are missing or invalid, it throws an `EnvValidationError` containing a list of **all** validation failures, preventing your application from starting in a broken and unpredictable state.

Example error output if variables are missing:

```
EnvValidationError: Environment validation failed:
  - PORT: Missing value (Received: undefined)
  - DATABASE_URL: Missing or empty string (Received: undefined)
  - NODE_ENV: Invalid enum value. Expected one of: development, production, test (Received: staging)
```

## Validators

- `string()`: Ensures the variable exists and is a non-empty string.
- `number()`: Parses the variable into a JavaScript Number. Throws if invalid.
- `boolean()`: Parses `"true"`, `"1"`, `"false"`, or `"0"` into a boolean.
- `enumType(values)`: Acts as an exact string literal matcher. Must pass a `readonly` array (`as const`) for correct type inference.

**Note on standard JS module exports**: If you prefer, `enumType` is also exported as `enum` using named exports, allowing you to use it conditionally or via alias, although `enum` is a reserved word in strict TS block scope.
npm package: @navneet-baid/timeago-formatter
Description: A flexible time ago formatter with multiple format support
Author: Navneet Baid
Latest version: 1.0.1

# TimeAgo Formatter

A flexible library for converting dates to "time ago" strings with multiple format support.

## Installation

```bash
npm install @navneet-baid/timeago-formatter
```

## Usage

```javascript
const timeAgo = require('@navneet-baid/timeago-formatter');

// Basic usage
console.log(timeAgo(new Date(Date.now() - 3600000))); // "1 hour ago"

// With format option
console.log(timeAgo(new Date(Date.now() - 3600000), { format: 'short' })); // "1h"

// Custom format
const customFormat = {
  units: {
    day: 86400,
    hour: 3600,
    minute: 60
  },
  formatter: (value, unit) => `${value} ${unit.charAt(0)}`,
  lessThanAMinute: '<1m'
};

console.log(timeAgo(new Date(Date.now() - 3600000), { customFormat })); // "1 h"
```

## Built-in Formats

- `default`: "1 minute ago", "2 hours ago", etc.
- `short`: "1m", "2h", etc.
- `twitter`: Similar to short but without seconds
- `friendly`: "a minute ago", "2 hours ago", etc.

## API

### `timeAgo(date, options)`

- `date`: Date object, ISO string, or timestamp
- `options` (object):
  - `format` (string): Name of built-in format to use
  - `customFormat` (object): Custom format definition
  - `referenceDate` (Date): Date to compare against (defaults to now)
  - `allowFuture` (boolean): Whether to allow future dates (default false)

### Adding a custom format

```javascript
const { addFormat } = require('@navneet-baid/timeago-formatter');

addFormat('myFormat', {
  units: {
    // your units in seconds
  },
  formatter: (value, unit, isFuture) => {
    // return formatted string
  },
  lessThanAMinute: 'just now',
  future: 'in the future'
});
```

## License

MIT