open-index/open-npm huggingface dataset:
npm package: @hayanmind/monetai-react-native
Description: Unlock hidden app revenue with AI from non-converting users
Author: Daehoon Kim
Latest version: 1.0.0

# @hayanmind/monetai-react-native

### Monetai

Unlock hidden app revenue with AI from non-converting users

### Documentation

For detailed usage and documentation, please refer to the link below:

📚 **Documentation**: https://docs.monetai.io
npm package: @hayao/next-view-transitions
Description: View Transitions API for Next.js App Router
Author: Shu Ding
Latest version: 0.3.4

# next-view-transitions

Use [View Transitions API](https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API) in Next.js App Router.

[**Demo**](https://next-view-transitions.vercel.app).

## Disclaimer

This library is aimed at basic use cases of View Transitions and Next.js App Router. With more complex applications and use cases like concurrent rendering, Suspense and streaming, new primitives and APIs still need to be developed into the core of React and Next.js in the future ([more](https://twitter.com/shuding_/status/1779583281920344448)).

## Installation

Use your favorite package manager to install the `next-view-transitions` package. For example:

```bash
pnpm install next-view-transitions
```

## Usage

Wrap your content with the `<ViewTransitions>` component inside the layout file:

```jsx
import { ViewTransitions } from 'next-view-transitions'

export default function Layout({ children }) {
  return (
    <ViewTransitions>
      <html lang='en'>
        <body>
          {children}
        </body>
      </html>
    </ViewTransitions>
  )
}
```

Then, use the `<Link>` component for links that need to trigger a view transition:

```jsx
import { Link } from 'next-view-transitions'

export default function Component() {
  return (
    <div>
      <Link href='/about'>Go to /about</Link>
    </div>
  )
}
```

Or use the `useTransitionRouter` hook for programmatic navigation:

```jsx
import { useTransitionRouter } from 'next-view-transitions'

export default function Component() {
  const router = useTransitionRouter()

  return (
    <div>
      <button onClick={() => {
        // All Next.js router methods are supported
        router.push('/about')
      }}>Go to /about</button>
    </div>
  )
}
```

That's it!

## License

MIT.
npm package: @hayata-yamamoto/promise-observers
Description: This package is made for capture promise operation results asychronously for somewhere.
Author: hayata-yamamoto
Latest version: 0.2.0

# promise-observers

This package is made for capture promise operation results asychronously for somewhere.

documentation: https://hayata-yamamoto.github.io/promise-observers/

# Get Started

```bash
npm i @hayata-yamamoto/promise-observers
```

# Contribution

When you want to report bugs or suggest new feature, please follow below steps

1. Search related issues
1. (if nothing) Vote an issue
npm package: @hayato/plugin-healthz
Description: HTTP health check
Author: Sean Genabe
Latest version: 2.0.2

# healthz

Health check

## Usage

```ts
import healthz from '@hayato/healthz'

healthz(app, { port: 8080 })
```

### API

#### healthz
```ts
export function healthz(app: App, { port = 8080 }: { port?: number }): void
export default healthz
```

Adds a health-checking HTTP server to the app.

The health check will succeed if `Client#readyAt` is available. (A failing check should indicate an initial faulty connection with Discord, e.g. bad token.)
npm package: @hayato/store
Description: Abstract store
Author: Sean Genabe
Latest version: 2.0.2

# config

Abstract store

## Usage

This module exposes these config scopes that can be configured separately:

* module - per-module storage
* user - per-module per-user storage

This module allows for the following read and write modes:

* module - read
* user - read/write

To get the config store for your app, do:

```ts
import { App } from '@hayato/core'
import { getStoreForApp } from '@hayato/store

const app = new App()
const store = getStoreForApp(app)
```

### API

#### getStoreForApp 

```ts
export function getStoreForApp(app: App): Store
```

Get the store for an App. Creates a new store with some default values if it doesn't exist. Note that the default values for module and user config will throw an error.

#### Store

```ts
interface Store {
  getModuleConfig(moduleKey: string): MaybePromise<unknown>
  getUserConfigValue(
    userId: string,
    moduleKey: string,
    key: string
  ): MaybePromise<unknown>
  setUserConfigValue(
    userId: string,
    moduleKey: string,
    key: string,
    value: unknown
  ): MaybePromise<void>
}
```
npm package: @hayato/store-mongo
Description: MongoDB as store
Author: Sean Genabe
Latest version: 2.0.2

# config-mongo

Use MongoDB as a store

## Usage

```ts
import { MongoStore } from '@hayato/store-mongo'

const store = new MongoStore()
```

Patch an existing store object:

```ts
import { MongoStore } from '@hayato/store-mongo'

const mongoStore = new MongoStore()

store.moduleStore = mongoStore.moduleStore
store.userStore = mongoStore.userStore
store.messageMetadataStore = mongoStore.messageMetadataStore
```

## Schema

The prefix `hayato_` can be changed on the store.

* hayato_modules - module config
  * _id = moduleKey
  * value
* hayato_users - user store
  * _id: { userId, moduleKey, key }
  * value
* hayato_messages - message metadata store. A unique index is created for `{ messageId, moduleKey, key }`.
  * _id: default
  * messageId
  * moduleKey
  * key
  * value
npm package: @hayato/store-yaml
Description: YAML module config
Author: Sean Genabe
Latest version: 2.0.2

# store-yaml

YAML module config

## Usage

```ts
import { YamlStore } from '@hayato/store-yaml'

const yamlStore = new YamlStore(`${__dirname}/hayato.yml`)
store.moduleStore = yamlStore.moduleStore
```
npm package: @hayato/theme
Description: Theme support
Author: Sean Genabe
Latest version: 2.0.2

# theme

Theme support.

## Usage

To get the theme for an app, do:

```ts
import { App } from '@hayato/core'
import { getThemeForApp } from '@hayato/theme'

const app = new App()
const theme = getThemeForApp(app)

// Set values for the theme
theme.neutralCommand = '#5555ff'
```

### API

#### getThemeForApp

```ts
export function getThemeForApp(app: {}): ITheme
```

Get the theme for an App (or any object).

#### ITheme

```ts
export interface ITheme {
  neutralCommand: string
  successCommand: string
  failureCommand: string
}
```