open-index/open-npm huggingface dataset:
npm package: @stuartrayson/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 3.0.3

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @stuartrm/reverse-sentence
Description: Reverses a sentence.
Author: John Smith
Latest version: 0.1.0

# reverse-sentence

Reverses the words of a sentence.

## Install

```sh
npm install @stuartrm/reverse-sentence
```

## API

```js
require("reverse-sentence") => Function
reverse(sentence) => String
```

## Example

```js
const reverseSentence = require("reverse-sentence");
const sentence = "Hello John";
const reversed = reverseSentence(sentence);
console.log(reversed); // John! Hello
```

## License

MIT
npm package: @stuartshay/otel-data-types
Description: TypeScript types for otel-data-api — Auto-generated from OpenAPI 3.1 specification
Author: Stuart Shay
Latest version: 1.0.211

# @stuartshay/otel-data-types

TypeScript types auto-generated from the
[otel-data-api](https://github.com/stuartshay/otel-data-api) OpenAPI 3.1
specification.

## Installation

```bash
npm install @stuartshay/otel-data-types
```

## Usage

```typescript
import type { paths, components } from '@stuartshay/otel-data-types';

// Typed API response
type LocationsResponse = paths['/api/v1/locations']['get']['responses']['200']['content']['application/json'];

// Typed schema
type Location = components['schemas']['Location'];
type GarminActivity = components['schemas']['GarminActivity'];
```

## Generation

Types are generated from the FastAPI source code using `openapi-typescript`:

```bash
./scripts/generate-types.sh
```

## API Coverage

- **Locations** — OwnTracks GPS data (CRUD, count, devices)
- **Garmin** — Activities and track points
- **Unified GPS** — Combined OwnTracks + Garmin view
- **Reference Locations** — Named locations with radius
- **Spatial** — PostGIS queries (nearby, distance, within-reference)
- **Health** — Liveness and readiness probes
npm package: @stuartshay/otel-graphql-types
Description: TypeScript types for otel-data-gateway — Auto-generated from GraphQL schema
Author: Stuart Shay
Latest version: 1.0.94

# @stuartshay/otel-graphql-types

TypeScript types auto-generated from the otel-data-gateway GraphQL schema.

## Installation

```bash
npm install @stuartshay/otel-graphql-types
```

## Usage

### Import Types

```typescript
import type { Location, GarminActivity, LocationConnection } from '@stuartshay/otel-graphql-types';
```

### Use Schema for Client Codegen

The package includes `schema.graphql` for use with `@graphql-codegen/cli` in
client applications:

```typescript
// codegen.ts
import type { CodegenConfig } from '@graphql-codegen/cli';

const config: CodegenConfig = {
  schema: 'node_modules/@stuartshay/otel-graphql-types/schema.graphql',
  documents: 'src/graphql/**/*.ts',
  generates: {
    'src/__generated__/graphql.ts': {
      plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
    },
  },
};

export default config;
```

## Generation

Types are auto-generated from the GraphQL SDL schema using
`@graphql-codegen/typescript`. Do not edit `index.d.ts` manually.

## Related Packages

- [`@stuartshay/otel-data-types`](https://www.npmjs.com/package/@stuartshay/otel-data-types) —
  REST API types (OpenAPI-generated)
npm package: @stuartshay/otel-types
Description: TypeScript types for otel-demo API - Auto-generated from OpenAPI specification
Author: Stuart Shay
Latest version: 1.0.110

# @stuartshay/otel-types

TypeScript type definitions for the [otel-demo](https://github.com/stuartshay/otel-demo) API.

Auto-generated from the OpenAPI specification using [openapi-typescript](https://github.com/drwpow/openapi-typescript).

## Installation

```bash
npm install @stuartshay/otel-types
```

## Usage

```typescript
import type { paths, components } from '@stuartshay/otel-types';

// Use path types
type LocationsResponse = paths['/db/locations']['get']['responses']['200']['content']['application/json'];

// Use component schemas
type Location = components['schemas']['Location'];

// Example with fetch
async function getLocations(): Promise<LocationsResponse> {
  const response = await fetch('https://otel.lab.informationcart.com/db/locations?limit=20');
  return response.json();
}
```

## API Documentation

Full API documentation is available at:

- Swagger UI: <https://otel.lab.informationcart.com/apidocs/>
- OpenAPI Spec: <https://otel.lab.informationcart.com/apispec.json>

## Versioning

This package follows the otel-demo API versioning:

- Package version matches the Docker image version
- Breaking API changes result in a major version bump
- New endpoints or optional fields result in a minor version bump
- Bug fixes result in a patch version bump

## Type Generation

Types are automatically generated when the otel-demo API schema changes.

To generate types locally:

```bash
# From otel-demo root
./scripts/generate-types.sh
```

## Related Packages

- [otel-demo](https://github.com/stuartshay/otel-demo) - The Flask API
- [otel-ui](https://github.com/stuartshay/otel-ui) - React frontend (coming soon)

## License

MIT