open-index/open-npm huggingface dataset:
npm package: @kidow/hooks
Description: Made with create-react-library
Author: kidow
Latest version: 0.1.0

# @kidow/hooks

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@kidow/hooks.svg)](https://www.npmjs.com/package/@kidow/hooks) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @kidow/hooks
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@kidow/hooks'
import '@kidow/hooks/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [kidow](https://github.com/kidow)
npm package: @kids-reporter/logger
Description: Shared structured logger for Kids Reporter services
Latest version: 0.0.2

# @kids-reporter/logger

Shared structured logger and trace utilities for Kids Reporter services. Uses Google Cloud `X-Cloud-Trace-Context` to propagate a single `traceId` so that logs can be correlated in GCP Cloud Logging via `logging.googleapis.com/trace`.

## Types

- **`LogSeverity`** — `'DEBUG' | 'INFO' | 'NOTICE' | 'WARNING' | 'ERROR' | 'ALERT' | 'CRITICAL'`
- **`StructuredLogPayload`** — `{ severity: LogSeverity; message?: string } & Record<string, unknown>`
- **`TraceHeaderInput`** — `Headers | Record<string, string | undefined | unknown> | undefined`
- **`NormalizedTraceContext`** — `{ traceId: string; traceHeaders: { 'X-Cloud-Trace-Context': string } }`

## API

### `normalizeTraceContext(headersInput?, options?)`

Parses trace context from the `X-Cloud-Trace-Context` header (GCP format). Optionally generates a new trace ID when the header is missing.

- **`headersInput`** — Request headers (e.g. `Headers` or plain object).
- **`options.generateIfMissing`** — If `true` (default), creates a new trace ID when the header is missing; if `false`, returns `undefined` in that case.

**Returns:** `NormalizedTraceContext` or `undefined`.

```ts
import { normalizeTraceContext } from '@kids-reporter/logger'

const ctx = normalizeTraceContext(request.headers)
// ctx.traceId, ctx.traceHeaders['X-Cloud-Trace-Context']
```

### `getTraceLogFields(headersInput?, options?)`

Builds an object of trace-related fields for structured logging. Includes `logging.googleapis.com/trace` when `projectId` is set for GCP log correlation.

- **`headersInput`** — Same as `normalizeTraceContext`.
- **`options.projectId`** — GCP project ID for the trace field; falls back to `GOOGLE_CLOUD_PROJECT` or `GCP_PROJECT` env vars.
- **`options.generateIfMissing`** — Same as `normalizeTraceContext` (default `false` here).

**Returns:** Object with `traceId` and optionally `logging.googleapis.com/trace`.

```ts
import { getTraceLogFields } from '@kids-reporter/logger'

const fields = getTraceLogFields(req.headers, { projectId: 'my-gcp-project' })
console.log(JSON.stringify({ ...fields, message: 'Request processed' }))
```

### `getGcpTraceField({ projectId, traceId })`

Returns the GCP trace resource name: `projects/{projectId}/traces/{traceId}`. Returns `undefined` if `projectId` or `traceId` is missing.

### `emitStructured(payload)`

Writes a structured log entry to the console as JSON. Uses `console.error` for ERROR/ALERT/CRITICAL, `console.warn` for WARNING, and `console.log` for others.

```ts
import { emitStructured } from '@kids-reporter/logger'

emitStructured({
  severity: 'INFO',
  message: 'User signed in',
  userId: 'usr_123',
  ...getTraceLogFields(request.headers),
})
```
npm package: @kidscannon/aws-bulk-send
Description: aws bulk send
Latest version: 0.0.3

# `@kidscannon/aws-bulk-send`

## Install

```
$ npm i @kidscannon/aws-bulk-send
```

## Usage

```
const client = new S3Client({})
awsBulkSend({
  client,
  commands: [new GetObjectCommand({ Bucket: 'bucketA', Key: 'keyA' })],
})
```
npm package: @kidscannon/aws-s3-cp
Description: aws cp
Latest version: 0.0.4

# `@kidscannon/aws-s3-cp`

## Install

```
$ npm i @kidscannon/aws-s3-cp
```

## Usage

```
const client = new S3Client({})
await awsS3Cp({ source: '/directory', destination: { client, bucket: 'testx', prefix: 'p' } })
```
npm package: @kidscannon/mysql-migrate
Description: MySQL schema migration
Latest version: 0.0.4

# `@kidscannon/mysql-migrate`

## Install

```
$ npm i @kidscannon/mysql-migrate
```

## Usage

```
import { migrate } from '@kidscannon/mysql-migrate'
await migrate(globalOpts, migrateOpts)
```

## Functions

### create(globalOpts, createOpts)

create database.

### migrate(globalOpts, migrateOpts)

migrate database.

### drop(globalOpts, dropOpts)

drop database.
npm package: @kidscannon/mysql-migrate-cli
Description: MySQL schema migration CLI
Latest version: 0.0.4

# `@kidscannon/mysql-migrate-cli`

## Install

```
$ npm i @kidscannon/mysql-migrate-cli
```

## Usage

```
$ MYSQL_HOST=example.com \
  MYSQL_PASSWORD=**** \
  MYSQL_DATABASE=db \
  MYSQL_SSL='{ "rejectUnauthorized": true }' \
  mysql-migrate migrate
```

## Options

### Global Options

### Create command Options

### Migrate command Options

### Drop command Options
npm package: @kidscannon/not-empty
Description: ensure not null | undefined
Latest version: 0.0.2

# `@kidscannon/not-empty`

## Install

```
$ npm i @kidscannon/not-empty
```

## Usage

```
[0, 1, '', 'a', undefined, void 0, null, [], {}].filter(notEmpty)
# => [0, 1, '', 'a', [], {}]
```
npm package: @kidscannon/paginate
Description: Generic paginate
Latest version: 0.0.2

# `@kidscannon/paginate`

## Install

```
$ npm i @kidscannon/paginate
```

## Example

```
for await (const res of paginate<ListObjectsV2CommandInput, ListObjectsV2CommandOutput>({
  input: input,
  getOutput: (input) => client.send(new ListObjectsV2Command(input)),
  getNextInput: (output) => output.NextContinuationToken ? { ...input, ContinuationToken: output.NextContinuationToken } : null,
})) {
  console.log(res
}
```
npm package: @kidsontheyard/zzz_training-ui-react-core
Description: Traning USED only:: Design UI components for React
Author: Kids on the Yard
Latest version: 0.0.2

# Kidsontheyard UI React Core

A basic typesafe UI Library built by using React, Typescript, TailwindCSS and Storybook.

** This version is for training & testing this is not a productions package**

## Getting Started

To launch Storybook run:

```bash
yarn storybook
```

or

```bash
npm run storybook
```

## Built With

- [Vite](https://vitejs.dev/) - The web framework used

## Contributing

## License

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

## Colour Accessibility for Tailwind CSS

https://colour-a11y.vercel.app/
npm package: @kidsstar/iphonex_tester
Description: Display test frame for iPhone X
Author: KidsStar Inc.
Latest version: 1.1.0

# What

* iPhone X での見え方をテストするためのフレームを描画します

# Requirement

* Unity 2017.1
* npm

# Install

```shell
$ npm install github:kidsstar/iphonex_tester
```

# Usage

* メニューの `Assets` &gt; `Install iPhone X Tester` からテスターシーンを追加してください。
* 再生中の追加は出来ません。

# License

Copyright (c) 2017 KidsStar Inc.

Released under the MIT license, see [LICENSE.txt](LICENSE.txt)