open-index/open-npm huggingface dataset:
npm package: @moshyfawn/tailwind-serve
Description: Compile and serve Tailwind CSS at server startup - no build pipeline needed
Author: moshyfawn
Latest version: 1.1.0

# tailwind-serve

Compile and serve Tailwind CSS at server startup - no build pipeline needed.

For server apps rendering HTML from JSX or templates at runtime (Elysia, Hono, Express, Fastify, `Bun.serve()`). If you use Vite or Next.js, use `@tailwindcss/vite` or `@tailwindcss/postcss` instead.

## Install

```bash
bun add @moshyfawn/tailwind-serve
```

## Usage

Create `src/styles.css`:

```css
@import "tailwindcss";
@source "./";
```

Then in your server:

```ts
import { initTailwind } from "@moshyfawn/tailwind-serve";

const tw = await initTailwind();

// Elysia
app.get("/styles.css", () => tw.response());

// Hono
app.get("/styles.css", (c) => tw.response());

// Bun.serve
if (url.pathname === "/styles.css") return tw.response();
```

Compiles once at startup, watches for changes in dev, caches with immutable headers in production.

## API

### `initTailwind(options?): Promise<TailwindServeInstance>`

Returns an instance with:

- **`css`** - compiled CSS string
- **`response()`** - `Response` with `text/css` and cache headers
- **`rebuild()`** - force recompilation
- **`close()`** - stop file watchers

### `compileTailwind(options?): Promise<TailwindCompileResult>`

One-shot compile without watching. Returns `{ css, candidateCount, fileCount }`.

### Options

| Option   | Default            | Description                      |
| -------- | ------------------ | -------------------------------- |
| `source` | `"src/styles.css"` | CSS file path relative to `base` |
| `base`   | `process.cwd()`    | Project root                     |

## Behavior

- **Dev** (`NODE_ENV !== "production"`): watches source directories, recompiles on change, serves with `no-cache`
- **Production** (`NODE_ENV=production`): no watcher, serves with `public, max-age=31536000, immutable`
- Source directories and file extensions are derived from `@tailwindcss/oxide` Scanner - no manual config needed

## License

MIT
npm package: @moside/moside
Description: decorator风格web api框架
Author: moside-yskun
Latest version: 0.6.1-a

# MoSide - Web Controller
高效、简洁的Node网络控制器框架  

**UNSTABLE 不稳定**  
**此项目目前仅用于某些内部项目，特性不稳定**

## 开发目标
1. 控制器规范化的编写风格。
2. 稳定可靠的Node网络控制器框架。  
3. MoSide只关注控制器层。
4. MoSide可以结合流行的网络框架使用，如：KoaJs \ ExpressJs。  

提供以下特性/功能  
* 控制器注入
* 控制器插件
* Receiver接收器（提供类型匹配筛选）

## example 实例
见example/index.ts

```
npm i
npm run dev
```

然后 ->_-> http://localhost:8081

## 简洁的控制器风格

在Moside中，推荐使用ES6 class风格进行编写。
```TypeScript
@Controller({
  path: '/'
})
export class HomeController {
  @PluginA('...')
  @PluginB('...')
  @Get('/')
  index(res: MoResponse) {
    res.body({
      message: 'hello world'
    })
  }
}
```
npm package: @mosio-dashboard/core
Description: This package provides shared utilities and state management for the monorepo.
Latest version: 0.1.0

# Core Package

This package provides shared utilities and state management for the monorepo.

## Features

- `cn`: Utility for merging class names using `clsx` and `tailwind-merge`.
- `useUserStore`: Zustand store for managing user data.

## Usage

```ts
import { cn, useUserStore } from "@core";
```
npm package: @mosip/ble-verifier-sdk
Description: React Native module to provide verifier capability using Tuvali. This module follows OpenID4VP BLE spec
Author: MOSIP
Latest version: 0.1.1

# ble-verifier-sdk

This module facilitates seamless interaction with Tuvali's verifier module for BLE (Bluetooth Low Energy) transfers. It offers a user-friendly API tailored for the verifier App's convenience. Additionally, it maintains essential state data within its context, which the UI module can access and utilize effectively.

Also have React Hooks, Request Util and any other utilities that makes it easier for verifier to integrate.

## Installation

```sh
npm install @mosip/ble-verifier-sdk
```

## Usage

```javascript
import OVP_BLE from "@mosip/ble-verifier-sdk";
import OVP_BLE_Verifier_UI from "mosip-react-native-ble-verifier-ui";
const instance = new OVP_BLE({deviceName: "simVerifier"});

const VPShare = ({onSuccess}) => {
	useEffect(() => {
            instance.startTransfer().then((data) => onSuccess(data));
	})

	return <OVPBLE_Verifier_UI instance={instance} theme={theme} />
}
```

Note: The `mosip-react-native-ble-verifier-ui` module is yet to be build. If you want to implement your own UI screens, please look at the [documentation](docs/UI-IMPLEMENTATION.md) for internal APIs.

## API Reference
#### 1. `new new OVP_BLE(config)`

Initialize the `ovp-ble` module with the config provided

`const instance = new OVP_BLE({deviceName: "simVerifier"});`

1. `deviceName` : This name is provided in the advertisment payload during the BLE advertisement. This field have a limit of **`11`** characters.

#### 2. `startTransfer()`

This API starts the BLE transfer with the config provided. This method returns a `Promise<String>`.

##### Success Case

Promise resolves with the VC.
```
{ vc: string }
```
Note: Once  the specification is completed, this will be returning VP instead.

##### Error Case

Promise rejects with error code and error method.
```
{
  errorCode: string;
  errorMessage: string;
}
```

Most of the error code are coming from Tuvali. Some of them are from ovp-ble itself. Such as

* `OVP_001 --> 'Transfer stopped'`
* `OVP_002 --> 'Device name length exceeded limit of 11 characters'`
* [Tuvali error codes](https://github.com/mosip/tuvali/blob/develop/docs/error-handling.md#error-codes)

#### 3. `stopTransfer()`

This API stops the BLE trasfer.

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
npm package: @mosip/inji-vc-renderer
Description: JS library to render VC with SVG template support
Author: MOSIP
Latest version: 0.1.0

# JS Wrapper for INJI VC Renderer : 


### Running the Example App
- Go To js folder 
  - > cd js
- Run below command to run the example application
  - > npm run example
- To Modify the Template
  -  update "id" field with url pointing to svg template over here [sample-vc.js](example/sample-vc.js)
- To Modify the VC Data
  - update VC in [sample-vc.js](example/sample-vc.js)
- Run below command to run the tests
- > npm run test

### VC rendering Methods

- **Vcrenderer.renderSVG(vcData)** 
  - This method takes entire VC data as input.
  - Extracts the svg template url from the render method
  - Downloads the SVG XML string.
  - Parses the template with Credential Values
  - Generates the QR code and replaces the `qrCodeImage` placeholder
  - Returns the Parsed svg template
npm package: @mosip/inji-vci-client
Description: JS library which can request for a credential from issuer. This module follows OpenID4VCI specification.
Latest version: 0.2.0

# INJI VCI Client

Contains OpenId4VCI specification related source code and documentation

## Features

- Request credential to Credential issuer

## API
### requestCredential
- The requestCredential function is used to request a credential from a credential issuer.

### Parameters

- **issuerMeta (Object):** Metadata related to the issuer. This object should contain the credential format and other necessary issuer information.
- **proof (string):**  A proof string required for the credential request.
- **accessToken (string):** An access token for authorization.

## Usage
- To install the dependencies run,
```npm i``` in the root folder.

## Example

```javascript
const {requestCredential} = require("inji-vci-client");

  const credentialEndpoint = "https://example.net/credential";
  const credentialAudience = "https://example.net";
  const downloadTimeoutInMillSeconds = 3000;
  const credentialType = ["<>"];
  const credentialFormat = "<>";
  
  const proof = "<>";
  const accessToken = "<>";
  
  const issuerMetaData = {
    credentialAudience,
    credentialEndpoint,
    downloadTimeoutInMillSeconds,
    credentialType,
    credentialFormat,
  };

const response = await requestCredential(issuerMetaData, proof, accessToken);
// returns the credential response based on the format provided.
```
## Exceptions 
### NetworkRequestTimeoutException

- Throws NetworkRequestTimeoutException when the request operation took more time than the download timeout mentioned in the issuerMetaData.

### DownloadFailedException

- Throws DownloadFailedException when the request operation failed due to unexpected problem occurred.
npm package: @moslimbook/redux-utils
Description: Handful of redux utilities to reduce common boilerplate code.
Author: Oussama Elgoumri
Latest version: 0.1.5

# WORK IN PROGRESS

This is a dev test, do not use on production. Use this on local environments.

# What is redux utils?

**Redux utils** provide a handful set of utilities, to reduce the amount of
code required to perform common tasks, like dispatching actions for http requests.

# Example

[Todo list](https://codesandbox.io/s/nk8lnnvqpl)

# Installation

`npm i @moslimbook/redux-utils`

# Table of contents

1. [Handling http request](docs/Http-HttpReducer.md)
2. [Altering array of objects](docs/ArrayOfObjects.md)
npm package: @mosmmy/eslint-config
Description: Custom ESLint configuration for Node.js and React Native projects with TypeScript and Prettier
Author: Moser José
Latest version: 1.0.1

# ESLint Configurations

This package provides shared ESLint configurations for Node.js and React Native projects.

## Installation

```bash
# Using npm
npm install -D @mosmmy/eslint-config

# Using yarn
yarn add -D @mosmmy/eslint-config

# Using pnpm
pnpm add -D @mosmmy/eslint-config
```

## Configurations

### Node.js Configuration

Add the following to your `.eslintrc.json` or `.eslintrc.js`:

```json
{
  "extends": ["@mosmmy/eslint-config/node"]
}
```

### React Native Configuration

Add the following to your `.eslintrc.json` or `.eslintrc.js`:

```json
{
  "extends": ["@mosmmy/eslint-config/react-native"]
}
```


## VS Code Integration

For the best experience, install these VS Code extensions:

1. ESLint
2. Prettier

Add these settings to your VS Code settings:

```json
{
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}
```


## Licence

This project is governed by the [MIT](LICENSE.md). Just remember to be a nice person and send back any modifications, corrections or improvements. ✌️

## Author

| [<img src="https://avatars0.githubusercontent.com/u/8234620?" width="115"><br><sub>@moser-jose</sub>](https://github.com/moser-jose) |
| :---: |
npm package: @mosmmy/shortname-js
Description: shortname-js is a JavaScript function designed to shorten names in a simple and user-friendly way. The function allows users to quickly enter full names and receive abbreviated versions of those names in return
Author: Moser José
Latest version: 1.0.7

# [shortname-js](https://github.com/moser-jose/shortname-js)

`shortname-js` is a JavaScript function designed to shorten names (Portuguese - PT 🇵🇹 | BR 🇧🇷 | AO 🇦🇴) in a simple and user-friendly way. The function allows users to quickly enter full names and receive abbreviated versions of those names in return.

[![The MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT) 
[![Version](https://img.shields.io/github/package-json/v/moser-jose/shortname-js)](https://github.com/moser-jose/shortname-js)
[![npm](https://img.shields.io/npm/v/@mosmmy/shortname-js)](https://www.npmjs.com/package/@mosmmy/shortname-js)
[![npm downloads](https://img.shields.io/npm/dm/@mosmmy/shortname-js)](https://www.npmjs.com/package/@mosmmy/shortname-js)
[![npm bundle size](https://img.shields.io/bundlephobia/min/@mosmmy/shortname-js)](https://bundlephobia.com/package/@mosmmy/shortname-js)
[![TypeScript](https://img.shields.io/badge/TypeScript-supported-blue)](https://www.typescriptlang.org/)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/)
[![Jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io/)
[![Coverage Status](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)](https://github.com/moser-jose/shortname-js)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
[![GitHub stars](https://img.shields.io/github/stars/moser-jose/shortname-js?style=social)](https://github.com/moser-jose/shortname-js/stargazers)

## Install

### yarn

`yarn add @mosmmy/shortname-js`

### NPM

`npm install @mosmmy/shortname-js`

### Use

```javascript

import { shortName } from '@mosmmy/shortname-js'

console.log(shortName('Jorge Pedro André dos Santos'))          //Jorge P. A. dos Santos

console.log(shortName('Pedro de Sousa André'))                  //Pedro de S. André

console.log(shortName('Marilda dos Santos Pedro de Souza'))     //Marilda dos S. P. de Souza

console.log(shortName('Marcos Ângelo Mateus dos Santos'))       //Marcos A. M. dos Santos
```

To run the test:

`npm run test`

`npm run test:**coverage**`

## Licence

This project is governed by the [MIT](/LICENSE.md). Just remember to be a nice person and send back any modifications, corrections or improvements. ✌️

## Author

| [<img src="https://avatars0.githubusercontent.com/u/8234620?" width="115"><br><sub>@moser-jose</sub>](https://github.com/moser-jose) |
| :---: |
npm package: @mosmos_21/vault-key-cli
Description: VaultKey の CLI ツール。コマンドラインから機密情報を管理できます。
Author: Takahito Hashimoto
Latest version: 0.2.0

# @mosmos_21/vault-key-cli

VaultKey の CLI ツール。コマンドラインから機密情報を安全に管理できます。

## インストール

```bash
npm install -g @mosmos_21/vault-key-cli
```

## 使い方

### 1. データベースの初期化

```bash
vaultkey init
```

データベースファイルのデフォルトパスは `~/.vaultkey/vaultkey.db` です。

カスタムパスを指定する場合:

```bash
vaultkey init --db-path /path/to/db.db
```

### 2. ユーザー登録

```bash
vaultkey user register
```

ユーザー ID を入力してユーザーを登録します。

### 3. ログイン

```bash
vaultkey user login
```

ユーザー ID を入力してログインし、アクセストークンを取得します。トークンは `~/.vaultkey/token` に保存されます。

### 4. 機密情報の管理

#### 機密情報の保存

```bash
vaultkey secret set <key>
```

プロンプトに従って機密情報の値を入力します。値はマスク表示されます。

#### 機密情報の取得

```bash
vaultkey secret get <key>
```

指定したキーの機密情報を取得します。

#### 機密情報の更新

```bash
vaultkey secret update <key>
```

既存の機密情報を更新します。

#### 機密情報の削除

```bash
vaultkey secret delete <key>
```

指定したキーの機密情報を削除します。

#### 機密情報一覧の取得

```bash
vaultkey secret list
```

すべての機密情報のキーを一覧表示します。

パターンでフィルタする:

```bash
vaultkey secret list --pattern "api_*"
```

### 5. トークン管理

#### トークン一覧の取得

```bash
vaultkey token list
```

現在のユーザーのすべてのトークンを一覧表示します。

#### トークンの無効化

```bash
vaultkey token revoke <token>
```

指定したトークンを無効化します。

### 6. ログアウト

```bash
vaultkey user logout
```

トークンファイル (`~/.vaultkey/token`) を削除します。

## トークンの指定方法

トークンは以下の優先順位で取得されます:

1. `--token` オプション
2. トークンファイル (`~/.vaultkey/token`)
3. 環境変数 (`VAULTKEY_TOKEN`)

コマンドで直接指定する場合:

```bash
vaultkey secret get my-key --token <your-token>
```

環境変数で指定する場合:

```bash
export VAULTKEY_TOKEN=<your-token>
vaultkey secret get my-key
```

## 環境変数

| 変数名 | 説明 | デフォルト値 |
|--------|------|--------------|
| `VAULTKEY_TOKEN` | アクセストークン | - |
| `VAULTKEY_DB_PATH` | データベースファイルのパス | `~/.vaultkey/vaultkey.db` |
| `VAULTKEY_MASTER_KEY` | マスター暗号化キー | ランダム生成 |

## ライセンス

MIT