open-index/open-npm huggingface dataset:
npm package: @suparth_ghimire/ts-template
Description: This is a simple script to initialize a typescript project for development and production environment with a single command. You dont have to initialize scripts for compilers and other stuffs. This script will do it for you.
Author: suparthghimire
Latest version: 2.2.6

# Typescript Project Initializer

This is a simple script to initialize a typescript project for development and production environment with a single command. You dont have to initialize scripts for compilers and other stuffs. This script will do it for you. 

> pnpm is used as default package manager. You can change it to others if you want

[npm](https://www.npmjs.com/package/@suparth_ghimire/ts-template)
[Github](https://github.com/suparthghimire/ts-template)

## Files Generated

- 📄 package.json
- 📄 tsconfig.json
- 📄 tsup.config.ts
- 📄 .gitignore
- 📄 src/index.ts
- 📄 pnpm-lock.yaml

## Installation


```bash
pnpm install -g @suparth_ghimire/ts-template
```


## Initialize your Project

```bash
ts-template init
```

Answer 3 Questions that the prompt asks you

## Install Packages

- pnpm

```
pnpm install
```

## Run your Project

**Development**

```bash
pnpm run dev
```

**Build**
```bash
pnpm build
```
**Start**
```bash
pnpm start
```
npm package: @suparun/cli
Description: Watchdog daemon for bun scripts — guards your port, auto-revives crashes, adopts external processes
Latest version: 0.0.4

<p align="center">
  <h1 align="center">⚡ suparun</h1>
  <p align="center"><strong>Never restart <code>bun run dev</code> again.</strong></p>
  <p align="center">
    <a href="https://www.npmjs.com/package/@suparun/cli"><img src="https://img.shields.io/npm/v/@suparun/cli.svg" alt="npm" /></a>
    <a href="https://github.com/LivioGama/suparun/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License" /></a>
    <img src="https://img.shields.io/badge/platform-macOS%20%7C%20Linux-lightgrey.svg" alt="Platform" />
    <img src="https://img.shields.io/badge/zero-dependencies-brightgreen.svg" alt="Zero deps" />
  </p>
</p>

---

You're deep in flow. Something kills your dev server — a build tool, a port conflict, an IDE restart, a random crash. Or your non-obedient AI coding assistant casually runs `bun run dev` — despite the rules explicitly telling it not to. You don't notice for 5 minutes. Then you're debugging why your changes aren't showing up, only to realize the server died. *Again.*

Suparun is a **watchdog daemon** that guards your port, auto-revives crashed processes, adopts servers started by other tools, and HTTP-pings to detect hung processes. Set it and forget it.

- **Watch the port** every 2s — not just the PID
- **Adopt external processes** — if your IDE started the server, suparun watches it too
- **Auto-revive** the moment the port goes down or stops responding
- **Exponential backoff** on crash loops (gives up after 50)
- **Clean shutdown** — kills the entire process tree, no orphans
- **Virtual hosts** — access `myapp.localhost:2999` instead of `localhost:3000`

## Install

```bash
bun add -g @suparun/cli
suparun init          # enables the --hard flag in your shell
```

## Usage

```bash
bun run dev --hard              # watchdog mode (works with npm/yarn/pnpm too)
bun run build --hard            # auto-retry on failure (3 attempts)
suparun dev --port 4000         # direct usage with port override
suparun dev --no-vhost          # disable virtual host proxy
suparun uninstall               # remove shell hooks
```

Port is auto-detected from package.json scripts, `PORT` env, `.env` files, or framework defaults (Next.js → 3000, Vite → 5173, Astro → 4321).

## Virtual Hosts

When running in a monorepo, suparun automatically registers virtual hosts so you can access your apps by name:

```
http://myapp.localhost:2999      → localhost:3000
http://monorepo.api.localhost:2999 → localhost:4000
```

A lightweight Bun reverse proxy runs on port 2999 and routes based on `~/.config/suparun/vhosts.json`. Supports HTTP and WebSocket (HMR).

Disable with `--no-vhost` or set `SUPARUN_SKIP_PROXY=1`.

## Desktop App

There's also an optional [Electron desktop app](https://www.npmjs.com/package/@suparun/app) with a visual dashboard. Installing it also installs the CLI:

```bash
bun add -g @suparun/app
```

## License

[MIT](https://github.com/LivioGama/suparun/blob/main/LICENSE)
npm package: @supashiphq/react-core
Description: Shared React primitives for Supaship web and React Native SDKs
Author: Supaship
Latest version: 1.1.0

# @supashiphq/react-core

Shared React layer for [Supaship](https://supashp.com): provider wiring, feature hooks infrastructure, and query cache. It is a **dependency** of the published framework packages below—not the primary package you install in an app.

## Use these instead

| Platform             | Package                        | npm                                                               |
| -------------------- | ------------------------------ | ----------------------------------------------------------------- |
| Web / React / NextJS | `@supashiphq/react-sdk`        | [npm](https://www.npmjs.com/package/@supashiphq/react-sdk)        |
| React Native         | `@supashiphq/react-native-sdk` | [npm](https://www.npmjs.com/package/@supashiphq/react-native-sdk) |

Install the SDK that matches your stack. Those packages re-export the API you need (`SupashipProvider`, `useFeature`, etc.) and pin the correct focus/refetch behavior (browser vs app lifecycle).

The `focus-native` export is for React Native apps only; it imports `AppState` from `react-native`, which must be supplied by your app (not listed as a peer here to keep this package’s dev graph free of the full native SDK).

## When to depend on this package directly

Only for advanced or custom integrations (e.g. building another renderer on top of `createSupashipReact` or `createQueryHooks`). Most applications should **not** add `@supashiphq/react-core` explicitly.

## License

MIT — see [LICENSE](./LICENSE).
npm package: @supastuff/json-resume-types
Description: Typescript type generated from resume-schema
Author: SupaStuff
Latest version: 1.0.0

# Json-Resume-Types

Generates Typescript types from the current version of [`resume-schema`](https://github.com/jsonresume/resume-schema).
This will be updated whenever `resume-schema` is updated by using Dependabot to trigger the push workflow.
New versions will always match `resume-schema`'s version.

## Installation

```bash
npm install @supastuff/json-resume-types --save
```

## Usage

It's really only 1 type, but you can use
["Lookup types"](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-1.html#example-1)
to get the types of sub properties:

```ts
import {ResumeSchema} from '@supastuff/json-resume-types'

function doStuff(work: ResumeSchema["work"]): void { ... }
```

## Limitations

The types are generated by [`json2ts`](https://github.com/bcherny/json-schema-to-typescript)
so some of it's issues came along for the ride:

- `Iso8601` doesn't keep it's regex pattern. You'll just have to trust that where ever you use `Iso8601`, it has the correct format
- additionalProperties are defined as `[k: string]: unknown`. The unknown type may or may not cause problems for you. I think it's fine, but it sounds like there are complaints about it... [issue#356](https://github.com/bcherny/json-schema-to-typescript/issues/356), [issue#335](https://github.com/bcherny/json-schema-to-typescript/issues/335)
npm package: @supatent/client
Description: Type-safe SDK for querying content from Supatent CMS
Author: Supatent
Latest version: 0.3.2

[![npm version](https://img.shields.io/npm/v/@supatent/client)](https://www.npmjs.com/package/@supatent/client)
[![license](https://img.shields.io/npm/l/@supatent/client)](https://github.com/supatent/supatent/blob/main/LICENSE)
[![CI](https://img.shields.io/github/actions/workflow/status/supatent/supatent/release.yml?branch=main)](https://github.com/supatent/supatent/actions/workflows/release.yml)

# @supatent/client

Type-safe TypeScript SDK for querying content from Supatent CMS. Works with any framework.

## Installation

```bash
npm install @supatent/client
```

## Quick Start

```typescript
import { createClient } from "@supatent/client";

const client = createClient({
  baseUrl: "https://app.supatent.ai",
  projectSlug: "my-project",
});

// Fetch a content item by slug
const post = await client.content("blog-posts").bySlug("hello-world");

// List content with pagination
const posts = await client.content("blog-posts").paginate({ limit: 10 });

// Fetch an asset
const logo = await client.asset("logo");
```

## Configuration

```typescript
const client = createClient({
  baseUrl: "https://app.supatent.ai", // Your Supatent app URL
  projectSlug: "my-project", // Project slug
  locale: "en", // Default locale (auto-detected if omitted)
  apiKey: "sk_...", // API key enables preview/draft mode
});
```

### Environment Variables

- `SUPATENT_URL` -- Base URL
- `SUPATENT_PROJECT` -- Project slug
- `SUPATENT_API_KEY` -- API key (enables draft mode)

## Subpath Exports

| Import | Description |
|--------|-------------|
| `@supatent/client` | Core client (Node.js / server) |
| `@supatent/client/browser` | Browser-optimized client |
| `@supatent/client/react` | React provider and hooks |
| `@supatent/client/astro` | Astro integration |
| `@supatent/client/webhooks` | Webhook verification |

## React Integration

```tsx
import { SupatentProvider, useContent } from "@supatent/client/react";

function App() {
  return (
    <SupatentProvider
      baseUrl="https://app.supatent.ai"
      projectSlug="my-project"
    >
      <BlogPost />
    </SupatentProvider>
  );
}

function BlogPost() {
  const { data, loading } = useContent("blog-posts", "hello-world");
  if (loading) return <p>Loading...</p>;
  return <h1>{data?.data.title}</h1>;
}
```

## Live Reload (Preview Mode)

When an API key is configured, the client can subscribe to draft changes via Convex WebSocket:

```typescript
import { createClient } from "@supatent/client";

const client = createClient({
  baseUrl: "https://app.supatent.ai",
  projectSlug: "my-project",
  apiKey: "sk_...",
});

// Start live reload -- reloads page when draft content changes
await client.startLiveReload();
```

Requires `convex` as a peer dependency:

```bash
npm install convex
```

## Documentation

Full documentation available at [supatent.ai/docs](https://supatent.ai/docs).

## License

MIT
npm package: @supatent/jsonld-schemas
Description: JSON-LD structured data schemas and pre-compiled validators for Google Search Central types
Author: Supatent
Latest version: 0.0.3

# @supatent/jsonld-schemas

Pre-compiled JSON-LD validators for Supatent.

This package provides:

- Typed JSON-LD schema registry
- Fast runtime validation helpers
- Deprecation and type metadata utilities

It is used by Supatent CLI and web apps to validate structured data fields (JSON-LD) against supported Google/Search schema types.
npm package: @supatent/skills
Description: Claude Code and Codex CLI content authoring skills for Supatent CMS
Author: Supatent
Latest version: 0.5.2

# @supatent/skills

Claude Code and Codex CLI content authoring skills for [Supatent CMS](https://supatent.ai).

## What this does

Installs AI-powered content authoring skills for Claude Code and Codex CLI. Once installed, agents can create and manage CMS content through natural conversation — blog posts, landing pages, and more.

## Quick start

```bash
npx @supatent/skills
```

In interactive terminals, the installer prompts for a target:

- `claude`
- `codex`
- `both`

In non-interactive environments (CI), the default is `claude`.

### Explicit target selection

```bash
# Claude Code
npx @supatent/skills --target claude

# Codex CLI
npx @supatent/skills --target codex

# Both
npx @supatent/skills --target both
```

Use `--codex-home` to override Codex install location (default: `$CODEX_HOME` or `~/.codex`):

```bash
npx @supatent/skills --target codex --codex-home /path/to/codex-home
```

## Included skills

| Skill | Claude Code | Codex CLI | Description |
|-------|-------------|-----------|-------------|
| Core | `/supatent:core` | `supatent-core` | Schema management, content operations, validation |
| Blog | `/supatent:content-blog` | `supatent-content-blog` | Create and edit blog posts with structured fields |
| Landing | `/supatent:content-landing` | `supatent-content-landing` | Build landing pages with configurable sections |

## Updating

Run `npx @supatent/skills` again to update. The installer tracks checksums — files you've manually edited won't be overwritten without confirmation.

Use `--force` to skip confirmation prompts:

```bash
npx @supatent/skills --force
```

## Requirements

- Node.js >= 20
- A Supatent CMS project with `@supatent/cli` configured
- Claude Code and/or Codex CLI

## License

MIT