open-index/open-npm huggingface dataset:
npm package: @reflect/titleize
Description: Capitalize every word in a string: unicorn cake → Unicorn Cake
Latest version: 2.0.3

# titleize [![Build Status](https://travis-ci.org/sindresorhus/titleize.svg?branch=master)](https://travis-ci.org/sindresorhus/titleize)

> Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`


## Install

```
$ npm install --save titleize
```


## Usage

```js
const titleize = require('@reflect/titleize');

titleize('foo bar');
//=> 'Foo Bar'

titleize('foo-bar');
//=> 'Foo Bar'
```


## License

MIT © [Sindre Sorhus](http://sindresorhus.com), [Brad Heller](https://reflect.io)
npm package: @reflecterlab/bridge-sdk
Description: The official bridge to build mini-apps on Open The Doorz ecosystem.
Author: Reflecter Labs
Latest version: 1.1.1

# @reflecter/bridge-sdk 🚪

El SDK oficial para conectar tus aplicaciones con el ecosistema de **Open The Doorz**. Construye mini-apps Web3 que se ejecutan directamente en la billetera corporativa más potente de Starknet.

## 📦 Instalación

```bash
npm install @reflecter/bridge-sdk
```

## 🚀 Uso Rápido

### 1. Inicializa el Bridge
Conéctate con el Host para recibir el contexto del usuario y la organización.

```javascript
import { OTDBridge } from '@reflecter/bridge-sdk';

const bridge = new OTDBridge('mi-app-id');

// Obtener contexto
const { handle, orgName, walletAddress } = await bridge.init();
console.log(`Hola ${handle} de ${orgName}`);
```

### 2. Solicita una Transacción
No te preocupes por la gestión de llaves. Pide al Host que firme y ejecute la transacción por ti.

```javascript
try {
  const result = await bridge.sendTransaction({
    to: "0x0123...456",
    amount: "10",
    token: "STRK",
    data: "0x..." // Opcional: calldata para contratos inteligentes
  });
  
  console.log("Transacción enviada:", result.txHash);
} catch (error) {
  console.error("Usuario rechazó la transacción o error de red");
}
```

## 🔐 Seguridad
El Bridge utiliza un sistema de mensajería asíncrona segura. Tu aplicación nunca tiene acceso a las claves privadas del usuario. Todas las acciones críticas requieren la aprobación explícita del usuario en la interfaz nativa de Open The Doorz.

---
Construido por **Reflecter Labs** 🚀
npm package: @reflective-technology/zap-nodejs
Description: A lightweight Node.js logger with structured logging and Express middleware, designed to match the format and philosophy of go.uber.org/zap.
Author: Reflective Technology RD Team
Latest version: 3.0.1

# @reflective-technology/zap-nodejs

A lightweight Node.js logger with structured logging and Express middleware, designed to match the format and philosophy of [go.uber.org/zap](https://go.uber.org/zap).

## Features

- **Structured Logging**: Log messages with structured fields for better readability and analysis.
- **HTTP Middleware**: Built-in middleware for logging HTTP requests and responses.
- **Customizable Levels**: Supports multiple log levels (e.g., `debug`, `info`, `warn`, `error`).

## Installation

```bash
npm install @reflective-technology/zap-nodejs
# or
yarn add @reflective-technology/zap-nodejs
# or
pnpm add @reflective-technology/zap-nodejs
```

## Usage

### Basic Logger

```javascript
import Logger from '@reflective-technology/zap-nodejs'

const logger = new Logger()

logger.info('This is an info message', { key: 'value' })
logger.error('This is an error message', { error: 'Something went wrong' })
```

### HTTP Middleware

```javascript
import Logger from '@reflective-technology/zap-nodejs'
import express from 'express'

const app = express()
const logger = new Logger()

app.use(logger.express())

app.get('/', (req, res) => {
  res.send('Hello, world!')
})

app.listen(3000, () => {
  logger.info('Server is running on port 3000')
})
```

## API

### Logger

#### `new Logger(logFunction, level)`

- `logFunction` (optional): A custom function to handle log messages.
- `level` (optional): The minimum log level (e.g., `debug`, `info`, `warn`, `error`).

#### Methods

- `logger.debug(message, fields)`: Logs a debug message.
- `logger.info(message, fields)`: Logs an info message.
- `logger.warn(message, fields)`: Logs a warning message.
- `logger.error(message, fields)`: Logs an error message.
- `logger.setLevel(level)`: Sets the minimum log level.

### Express Middleware

#### `logger.express()`

Returns an Express middleware function that logs HTTP requests and responses.

## Configuration

You can configure the logger using environment variables:

- `LOG_LEVEL`: Sets the minimum log level (default: `info`).

## License

This project is licensed under the [MIT License](LICENSE).

## Contributing

Contributions are welcome! Please open an issue or submit a pull request on [GitHub](https://github.com/Reflective-Technology/zap-nodejs).

## Links

- [Homepage](https://github.com/Reflective-Technology/zap-nodejs)
- [Issues](https://github.com/Reflective-Technology/zap-nodejs/issues)
- [go.uber.org/zap](https://go.uber.org/zap)
npm package: @reflectmoney/oracle.ts
Description: TypeScript SDK for Doppler, the efficient oracle program implemented by [Blueshift](https://blueshift.gg), used by Reflect.
Author: L0STE, stablecoinjesus @ Palindrome Engineering
Latest version: 4.0.0

# @reflectmoney/oracle.ts

TypeScript SDK for Doppler, the efficient oracle program implemented by [Blueshift](https://blueshift.gg), used by Reflect.

## About

Reflect uses [Doppler](https://github.com/blueshift-gg/doppler) as its oracle solution, enabling oracle updates with just **21 compute units** per call - one of the most efficient implementations on Solana.

**Program ID:** `PRicevBH6BaeaE8qmrxrwGBZ5hSZ9vjBNue5Ygot1ML`

## Installation

With NPM:
```bash
npm install @reflectmoney/oracle.ts
```

With Yarn:
```bash
yarn add @reflectmoney/oracle.ts
```

## Usage

### Initialize Doppler

```typescript
import { Doppler, U8Array8Serializer, createPricePayload } from "@reflectmoney/oracle.ts";
import { Connection, Keypair } from "@solana/web3.js";

const connection = new Connection("https://api.mainnet-beta.solana.com");
const admin = Keypair.fromSecretKey(/* admin keypair */);

const doppler = new Doppler(connection, admin);
```

### Update an Oracle

```typescript
import { PublicKey } from "@solana/web3.js";

const oraclePublicKey = new PublicKey("ORACLE_ADDRESS");

// Create a price payload (8 bytes representing a u64 value)
const pricePayload = createPricePayload(BigInt(1_000_000)); // 1 USDC

await doppler.updateOracle(
    oraclePublicKey,
    { 
        slot: BigInt(Date.now()),
        payload: pricePayload,
    },
    new U8Array8Serializer(),
);
```

### Fetch Oracle Data

```typescript
import { readPriceFromPayload } from "@reflectmoney/oracle.ts";

const oracleData = await doppler.fetchOracle(
    oraclePublicKey,
    new U8Array8Serializer(),
);

if (oracleData) {
    console.log("Slot:", oracleData.slot);
    
    // Extract price from the 8-byte payload
    const price = readPriceFromPayload(oracleData.payload);
    console.log("Price:", price);
}
// Output:
// Slot: 1728662400000n
// Price: 1000000n
```

### Create an Oracle Account

```typescript
const oracleAccount = await doppler.createOracleAccount(
    "my-oracle-seed",
    new U8Array8Serializer(), 
    { 
        slot: 0n,
        payload: createPricePayload(BigInt(1_000_000)),
    }
);
```

## Links

- [GitHub Repository](https://github.com/palindrome-eng/doppler)
- [Reflect](https://reflect.money)

## License

MIT
npm package: @refleet/refleet-sdk-ts
Description: Refleet TypeScript SDK
Author: Qiulin Li
Latest version: 0.1.1

# ts-package-template

A template to publish a TypeScript package to npm.

Key features:

- Ready to use ESM build system
- Properly configured [exports in package.json](https://publint.dev/@rtivital/ts-package-template) to support all modern bundlers and Node.js
- CI with GitHub Actions
- Testing and linting setup ready: Jest, ESLint, Prettier, Knip
- Publish to npm with an npm script, including support for pre-releases (alpha, beta, rc)
- `npm pack` validation as part of the testing pipeline: makes sure only necessary files are included in the package
- Size limit check with [size-limit](https://github.com/ai/size-limit)

Included tools:

- Yarn v4
- Rollup
- esbuild
- jest
- prettier
- ESLint
- Knip
- size-limit
- GitHub workflow for tests

## Usage

- Click "Use this template" button to create a new repository from this template
- Clone the new repository
- Change `package.json` to your own package name, description, etc. **!important**: change `repository.url` and other repository links to your own repository url
- Install dependencies: `yarn` (other package managers are not supported)
- Write your code in `src/` directory
- Run `npm run release` to build and publish your package to npm

## Testing

- Run `npm test` to run all tests (prettier check, typecheck, lint, jest tests, build, package validation with `npm pack`, knip)
- Run `npm run jest:coverage` to run jest with coverage report
- Run `npm run jest:watch` to run jest in watch mode
- Run `npm run size` to validate package size or `npm run analyze` to see size analysis report

## Publishing to npm

Use `release` script to publish the package:

- `npm run release` – release a new patch version to npm
- `npm run release minor` – release a new minor version to npm
- `npm run release major` – release a new major version to npm
- `npm run release minor -- --stage alpha` – release a new minor alpha version to npm (for example, `1.1.0-alpha.0`)

Note that release script will always publish public packages to npm. If you want to publish a private package, change release script in `scripts/release.ts`.

## License

MIT
npm package: @reflektor/eslint-config-react
Description: ESLint configuration for React projects at Reflektor Digital.
Author: Reflektor Digital Inc.
Latest version: 1.0.5

# eslint-config-react

ESLint configuration for React projects at Reflektor Digital.

## What's inside this config?

- [`eslint`](https://www.npmjs.com/package/eslint)
- [`eslint-import-resolver-alias`](https://www.npmjs.com/package/eslint-import-resolver-alias)
- [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import)
- [`eslint-plugin-react`](https://www.npmjs.com/package/eslint-plugin-react)
- [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks)
- [`eslint-plugin-jsx-a11y`](https://www.npmjs.com/package/eslint-plugin-jsx-a11y)

## Installation

```
yarn add @reflektor/eslint-config-react -D
```

ESLint only exports the configuration from this package and not the dependencies. Hence, in order to use this config, **we'll also need to install the dependencies separately**.

```
yarn add eslint eslint-import-resolver-alias eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y -D
```

## Usage

Once the package and dependencies are installed, we can apply this ESLint config into our project.

```js
// .eslintrc.js

module.exports = {
  // ...
  extends : [
    // ...
    '@reflektor/react'
  ]
};
```

## Guidelines

- [Code of Conduct](./docs/CODE_OF_CONDUCT.md)
- [Contributing](./docs/CONTRIBUTING.md)
- [Code Review](./docs/CODE_REVIEW.md)
- [Git Standards](./docs/GIT_STANDARDS.md)
- [Pull Request Template](./docs/PULL_REQUEST_TEMPLATE.md)

## License

[MIT License](./LICENSE.md)
npm package: @reflektor/eslint-config-vue
Description: ESLint configuration for Vue projects at Reflektor Digital.
Author: Reflektor Digital Inc.
Latest version: 1.0.1

# eslint-config-vue

ESLint configuration for Vue projects at Reflektor Digital.

## What's inside this config?

- [`eslint`](https://www.npmjs.com/package/eslint)
- [`eslint-import-resolver-alias`](https://www.npmjs.com/package/eslint-import-resolver-alias)
- [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import)
- [`eslint-plugin-vue`](https://www.npmjs.com/package/eslint-plugin-vue)

## Installation

```
yarn add @reflektor/eslint-config-vue -D
```

ESLint only exports the configuration from this package and not the dependencies. Hence, in order to use this config, **we'll also need to install the dependencies separately**.

```
yarn add eslint eslint-import-resolver-alias eslint-plugin-import eslint-plugin-vue -D
```

## Usage

Once the package and dependencies are installed, we can apply this ESLint config into our project.

```js
// .eslintrc.js

module.exports = {
  // ...
  extends : [
    // ...
    '@reflektor/vue'
  ]
};
```

## Guidelines

- [Code of Conduct](./docs/CODE_OF_CONDUCT.md)
- [Contributing](./docs/CONTRIBUTING.md)
- [Code Review](./docs/CODE_REVIEW.md)
- [Git Standards](./docs/GIT_STANDARDS.md)
- [Pull Request Template](./docs/PULL_REQUEST_TEMPLATE.md)

## License

[MIT License](./LICENSE.md)
npm package: @reflektor/eslint-plugin-react
Description: Reflektor's ESLint plugin for React
Author: Reflektor Digital Inc.
Latest version: 1.1.2

# reflektor-eslint-config-react

This package contains Reflektor's ESLint configurations for React projects.

## License

[MIT License (c) 2021 Reflektor Digital Inc.](./LICENSE.md)
npm package: @reflektor/eslint-plugin-vue
Description: ESLint plugin for Vue projects at Reflektor Digital.
Author: Reflektor Digital Inc.
Latest version: 1.0.2

# eslint-plugin-vue

ESLint plugin for Vue projects at Reflektor Digital.

## What's inside this config?

- [`eslint`](https://www.npmjs.com/package/eslint)
- [`@reflektor/eslint-config-vue`](https://www.npmjs.com/package/@reflektor/eslint-config-vue)
  - [`eslint-import-resolver-alias`](https://www.npmjs.com/package/eslint-import-resolver-alias)
  - [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import)
  - [`eslint-plugin-vue`](https://www.npmjs.com/package/eslint-plugin-vue)
  - [`eslint-plugin-nuxt`](https://www.npmjs.com/package/eslint-plugin-nuxt)

> The dependencies are listed as `dependencies` in `package.json` instead of just `devDependencies` so that those packages will be installed automatically when we install this plugin. Hence, the only other package we would need to install is `eslint`.

## Installation

```
yarn add eslint @reflektor/eslint-plugin-vue -D
```

## Usage

Once the package and dependencies are installed, we can apply this ESLint plugin into our project.

```js
// .eslintrc.js

module.exports = {
  // ...
  plugins : [
    // ...
    '@reflektor/vue'
  ],
  extends : [
    // ...
    'plugin:@reflektor/vue/nuxt', // For Nuxt projects

    // OR
    'plugin:@reflektor/vue/base', // For regular Vue projects
  ]
};
```

## Guidelines

- [Code of Conduct](./docs/CODE_OF_CONDUCT.md)
- [Contributing](./docs/CONTRIBUTING.md)
- [Code Review](./docs/CODE_REVIEW.md)
- [Git Standards](./docs/GIT_STANDARDS.md)
- [Pull Request Template](./docs/PULL_REQUEST_TEMPLATE.md)

## License

[MIT License](./LICENSE.md)
npm package: @reflex-stack/tsp-bun-example
Description: ## This is a test package for @reflex-stack/tsp, do not use it
Author: Neo
Latest version: 0.1.6

# TSP Example Bun

## This is a test package for @reflex-stack/tsp, do not use it

Main bundle is <bundle-size id="main">45b</bundle-size>
and optional submodule is only <bundle-size id="submodule">75b</bundle-size>
For a total of <bundle-size id="total">120b</bundle-size>

## Install

`bun i @reflex-stack/tsp-bun-example`

## Usage

##### Main module
- `import { ... } from "@reflex-stack/tsp-bun-example"`

##### Sub module
- `import { ... } from "@reflex-stack/tsp-bun-example/submodule"`

## Build commands

##### Build
- `bun run build`
##### Test
- `bun run test`
##### Bump version
- `bun run bump`

---
## TSP
This package has been created with [tsp](https://github.com/reflex-stack/tsp)