open-index/open-npm huggingface dataset:
npm package: @miracleorg/universal-name-service
Description: Universal Name Service SDK for Push Chain
Author: Your Name
Latest version: 1.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

// ============================================
// README.md - Documentation
// ============================================

/*
# Universal Name Service SDK

A TypeScript SDK for interacting with the Universal Name Service on Push Chain.

## Installation

```bash
npm install @miracleorg/universal-name-service ethers
# or
yarn add @miracleorg/universal-name-service ethers
```

## Quick Start

```typescript
import { UniversalNameService } from '@miracleorg/universal-name-service';

// Initialize the SDK
const uns = new UniversalNameService({
  contractAddress: '0x...',
  rpcUrl: 'https://evm.rpc-testnet-donut-node1.push.org/',
  pushChainClient: yourPushChainClient, // optional, required for write operations
});

// Check name availability
const isAvailable = await uns.isNameAvailable('alice');

// Get name record
const nameData = await uns.getNameRecord('alice');

// Resolve name to address
const address = await uns.resolveName('alice');

// Get all names for an address
const names = await uns.getNamesForAddress('0x...');

// Register a name (requires connected wallet)
const tx = await uns.registerName('bob', {
  duration: 31536000, // 1 year
  referralCode: 'PROMO123',
});

// Update metadata
await uns.updateMetadata('bob', {
  avatar: 'https://...',
  twitter: '@bob',
  email: 'bob@example.com',
});

// Transfer name
await uns.transferName('bob', '0x...');
```

## API Reference

### Constructor

```typescript
new UniversalNameService(config: UNSConfig)
```

### Methods

- `isNameAvailable(name: string): Promise<boolean>`
- `getNameRecord(name: string): Promise<NameData | null>`
- `resolveName(name: string): Promise<string | null>`
- `getNamesForAddress(address: string, options?): Promise<NameData[]>`
- `registerName(name: string, options?): Promise<TransactionResponse>`
- `updateMetadata(name: string, metadata): Promise<TransactionResponse>`
- `transferName(name: string, toAddress: string): Promise<TransactionResponse>`
- `getRegistrationCost(name: string, duration: number): Promise<string>`

## License

MIT
npm package: @miracleplus/mplus
Description: 奇绩创坛命令行工具（mplus CLI）
Latest version: 0.1.3

# mplus CLI

奇绩创坛命令行工具，在终端中与 [apply.miracleplus.com](https://apply.miracleplus.com) 和 [build.miracleplus.com](https://build.miracleplus.com) 交互。

---

## 安装

```bash
npm install -g @miracleplus/mplus
```

## 快速开始

```bash
# 1. 配置 API Key
mplus configure

# 2. 验证身份
mplus whoami
```

API Key 获取方式：登录奇绩创坛 → 账户设置 → 访问密钥 → 新建密钥。

---

## 常用命令

| 命令 | 说明 |
|---|---|
| `mplus configure [--profile <name>]` | 配置 API 连接（endpoint + key）|
| `mplus whoami [--json]` | 查看当前登录身份 |
| `mplus profiles` | 列出所有已配置的 profile |
| `mplus use <profile>` | 切换默认 profile |
| `mplus logout [--profile <name>]` | 清除登录状态 |

所有命令支持 `--help` 查看详细用法，例如 `mplus configure --help`。

---

## 多环境（Profile）

同时管理多个环境时：

```bash
mplus configure                       # 配置默认（生产）
mplus configure --profile staging     # 配置测试环境

mplus use staging                     # 切换到测试环境
mplus whoami --profile staging        # 临时使用，不切换默认
```

---

## 环境变量（CI/CD）

适用于无法交互式运行 `mplus configure` 的场景：

| 变量 | 说明 |
|---|---|
| `MPLUS_KEY_ID` | API Key ID |
| `MPLUS_KEY_SECRET` | API Key Secret |
| `MPLUS_ENDPOINT` | API 端点地址 |

三个变量需同时设置，完全跳过本地配置文件：

```bash
MPLUS_KEY_ID=ki_xxx \
MPLUS_KEY_SECRET=ks_xxx \
MPLUS_ENDPOINT=https://app.miracleplus.com \
  mplus whoami
```

---

## 配置文件

存储于 `~/.config/mplus/config.json`（权限 `0600`）。  
⚠️ 含有 Key Secret，请勿提交到版本库或分享给他人。
npm package: @miraclesoft/eslint-formatter-html
Description: Miracle's HTML Formatter for ESLint results
Author: Chanakya Lokam
Latest version: 0.1.5

# @miraclesoft/eslint-formatter-html

![version](https://img.shields.io/badge/dynamic/json?color=orange&label=version&prefix=%20&query=version&suffix=%20&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmiracleapps%2Feslint-formatter-html%2Fmaster%2Fpackage.json) ![license](https://img.shields.io/badge/dynamic/json?color=blue&label=license&query=license&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmiracleapps%2Feslint-formatter-html%2Fmaster%2Fpackage.json)

Custom Formatter for ESLint that creates a minimal and responsive HTML report based on your eslint results.

**_Note_**_: This is a beta version of this formatter created for internal use by Miracle Apps, Miracle Software Systems, Inc.'s internal app development wing. Please submit any issues (or) feedback [here](https://github.com/miracleapps/eslint-formatter-html/issues)._

## Usage

Install as a dev-dependency with npm (or) yarn,

```sh
npm install @miraclesoft/eslint-formatter-html --save-dev

(or)

yarn install @miraclesoft/eslint-formatter-html --save-dev
```

Then use with eslint from the command line,(example shown running eslint locally)

```sh
./node_modules/.bin/eslint -f @miraclesoft/eslint-formatter-html [files-to-lint]

Alternatively you can use with the following command as well,

./node_modules/.bin/eslint -f @miraclesoft/html [files-to-lint]
```

When run, the formatter will output a HTML report in **/reports/lint-report.html**

Here is a preview for the [HTML Report](http://htmlpreview.github.io/?https://github.com/miracleapps/eslint-formatter-html/blob/master/assets/lint-report.html)

## Contributors

- **Chanakya Lokam** - Director Innovation | Miracle Software Systems, Inc.
- **Geetha Krishan Adhikari** - Sr. Full Stack Engineer | Miracle Software Systems, Inc.

## License

© 2020 Miracle Software Systems, Inc.

Licensed under the [MIT License](LICENSE).
npm package: @miraclesoft/http-logger
Description: Morgan and Winston based http logger for Express with predefined settings for prod and non-prod environments
Author: Chanakya Lokam
Latest version: 0.0.6

# @miraclesoft/http-logger

![version](https://img.shields.io/badge/dynamic/json?color=orange&label=version&prefix=%20&query=version&suffix=%20&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmiracleapps%2Fhttp-logger%2Fmaster%2Fpackage.json) ![license](https://img.shields.io/badge/dynamic/json?color=blue&label=license&query=license&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmiracleapps%2Fhttp-logger%2Fmaster%2Fpackage.json)

Morgan and Winston based http logger with predefined settings for prod and non-prod environments.

**_Note_**_: This is a beta version of this module created for internal use by Miracle Apps, Miracle Software Systems, Inc.'s internal app development wing. Please submit any issues (or) feedback [here](https://github.com/miracleapps/http-logger/issues)._

## Usage

Install the logger as a dependency.

```sh
npm install --save @miraclesoft/http-logger
```

You can then use the logger in your project as follows,

```js
const logger = require('@miraclesoft/logger');
const httpLogger = require('@miraclesoft/http-logger');
const express = require('express');

const app = express();

app.use(httpLogger);

app.get('/example', (req, res) => {
  res.status(200).send('Here you go!');
});

app.listen(3000, () => {
  logger.info('Server Started');
});
```

## Configuration

The logger uses environment variables for configuration.

If **NODE_ENV=production**, then logs are logged to a daily rotate log file with the log level set to **warn** and above. For all other environments, the log level is set **info** and are logged out to console.

Log files in production are named as **app-logs-date.log**. You can change this to **APP_NAME-date.log** by setting the **APP_NAME** environment variable.

By default the logger(in production) stores 14 days of logs. This can be overridden by setting the **MAX_LOG_FILES** environment variable.

## Contributors

- **Chanakya Lokam** - Director Innovation | Miracle Software Systems, Inc.

## License

© 2020 Miracle Software Systems, Inc.

Licensed under the [MIT License](LICENSE).
npm package: @miraclesoft/linter
Description: Linter for Java Script Projects 
Author: Chanakya Lokam
Latest version: 0.0.5

# @miraclesoft/linter

![version](https://img.shields.io/badge/dynamic/json?color=orange&label=version&prefix=%20&query=version&suffix=%20&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmiracleapps%2Flinter-cli%2Fmaster%2Fpackage.json) ![license](https://img.shields.io/badge/dynamic/json?color=blue&label=license&query=license&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmiracleapps%2Flinter-cli%2Fmaster%2Fpackage.json)

ESLint based Command Line Utility for usage within JavaScript based projects

**_Note_**_: This is a beta version of this formatter created for internal use by Miracle Apps, Miracle Software Systems, Inc.'s internal app development wing. Please submit any issues (or) feedback [here](https://github.com/miracleapps/linter-cli/issues)._

## Usage

Install as a dev-dependency with npm (or) yarn,

```sh
npm install @miraclesoft/linter --save-dev

(or)

yarn install @miraclesoft/linter --save-dev
```

You can then use the tool from the command line. Alternatively you can install the linter globally, but it is not advised at this point of time.

**_Note_** _: The linter cli will look for a eslint config file and if running with --staged option will look for a git repository to be initialized_

### Run with --staged

Running with --staged will only run the linter on .js files that are staged for a git commit.

```sh
./node_modules/.bin/linter --staged

When run with --staged all auto-fixed files will be re-staged by git as well

./node_modules/.bin/linter --staged fix

Adding the fix option in the command will use eslint with auto-fix mode
```

### Run with --all

Running with --all will run the linter on all .js files in the project.

```sh
./node_modules/.bin/linter --all

./node_modules/.bin/linter --all fix

Adding the fix option in the command will use eslint with auto-fix mode
```

### Usage with Husky

If you are using Husky in your projects for pre-commit git hooks, then you can use this linter as a single command in your configuration.

```json
"husky": {
    "hooks": {
      "pre-commit": "./node_modules/.bin/linter --staged fix"
    }
  }
```

## Lint Report

When run, the formatter will output a HTML report in **/reports/lint-report.html**

Here is a preview for the [HTML Report](http://htmlpreview.github.io/?https://github.com/miracleapps/eslint-formatter-html/blob/master/assets/lint-report.html)

The report is generated using the **@miraclesoft/eslint-formatter-html** custom formatter - [read more](https://www.npmjs.com/package/@miraclesoft/eslint-formatter-html).

## Contributors

- **Chanakya Lokam** - Director Innovation | Miracle Software Systems, Inc.
- **Geetha Krishan Adhikari** - Sr. Full Stack Engineer | Miracle Software Systems, Inc.

## License

© 2020 Miracle Software Systems, Inc.

Licensed under the [MIT License](LICENSE).
npm package: @miraclesoft/logger
Description: Wintson based logger with predefined settings for prod and non-prod environments
Author: Chanakya Lokam
Latest version: 0.0.5

# @miraclesoft/logger

![version](https://img.shields.io/badge/dynamic/json?color=orange&label=version&prefix=%20&query=version&suffix=%20&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmiracleapps%2Flogger%2Fmaster%2Fpackage.json) ![license](https://img.shields.io/badge/dynamic/json?color=blue&label=license&query=license&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmiracleapps%2Flogger%2Fmaster%2Fpackage.json)

Wintson based logger with predefined settings for prod and non-prod environments.

**_Note_**_: This is a beta version of this module created for internal use by Miracle Apps, Miracle Software Systems, Inc.'s internal app development wing. Please submit any issues (or) feedback [here](https://github.com/miracleapps/logger/issues)._

## Usage

Install the logger as a dependency.

```sh
npm install --save @miraclesoft/logger
```

You can then use the logger in your project as follows,

```js
const logger = require('@miraclesoft/logger');

logger.info('');
```

## Configuration

The logger uses environment variables for configuration.

If **NODE_ENV=production**, then logs are logged to a daily rotate log file with the log level set to **warn** and above. For all other environments, the log level is set **info** and are logged out to console.

Log files in production are named as **app-logs-date.log**. You can change this to **APP_NAME-date.log** by setting the **APP_NAME** environment variable.

By default the logger(in production) stores 14 days of logs. This can be overridden by setting the **MAX_LOG_FILES** environment variable.

## Contributors

- **Chanakya Lokam** - Director Innovation | Miracle Software Systems, Inc.

## License

© 2020 Miracle Software Systems, Inc.

Licensed under the [MIT License](LICENSE).
npm package: @miraecly/ckeditor-nuxt-petraverse
Description: CKEditor 5 editor for nuxt apps. The component includes all free available plugins (except CKFinder, instead simple upload adapter used)
Author: BlowStack
Latest version: 0.0.2

# ckeditor-nuxt
CKEditor 5 editor for nuxt apps. The component includes all free available plugins (except CKFinder, instead simple upload adapter used)

## Requirements
```
yarn add nuxt
npm i nuxt
```

## Component integration
```
yarn add @blowstack/ckeditor-nuxt
npm install --save @blowstack/ckeditor-nuxt
```

## List of included plugins
* Alignment,
* AutoImage,
* Autoformat,
* Autolink,
* BlockQuote,
* Bold,
* CloudServices,
* Code,
* CodeBlock,
* Essentials,
* FontBackgroundColor,
* FontColor,
* FontFamily,
* FontSize,
* Heading,
* Highlight,
* HorizontalLine,
* Image,
* ImageCaption,
* ImageInsert,
* ImageResize,
* ImageStyle,
* ImageToolbar,
* ImageUpload,
* Indent,
* IndentBlock,
* Italic,
* Link,
* LinkImage,
* List,
* ListStyle,
* MathType,
* MediaEmbed,
* MediaEmbedToolbar,
* PageBreak,
* Paragraph,
* PasteFromOffice,
* RemoveFormat,
* SimpleUploadAdapter,
* SpecialCharacters,
* SpecialCharactersArrows,
* SpecialCharactersCurrency,
* SpecialCharactersEssentials,
* SpecialCharactersLatin,
* SpecialCharactersMathematical,
* SpecialCharactersText,
* Strikethrough,
* Subscript,
* Superscript,
* Table,
* TableCellProperties,
* TableProperties,
* TableToolbar,
* TextTransformation,
* Title,
* TodoList,
* Underline,
* WordCount

## Usage
```
<template>
  <client-only placeholder="loading...">
    <ckeditor-nuxt v-model="contentHolder" :config="editorConfig"  />
  </client-only>
</template>

<script>
export default {
  components: {
    'ckeditor-nuxt': () => { if (process.client) { return import('@blowstack/ckeditor-nuxt') } },
  },
  data() {
    return {
      editorConfig: {
        simpleUpload: {
          uploadUrl: 'path_to_image_controller',
          headers: {
            'Authorization': 'optional_token'
          }
        }
      },
      contentHolder: ""
    }
  }
}
</script>
```
## Customization

To make customization use editorConfig object.
It works the same way as the default ckeditor 5.
More info at https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html

For example if you want to disable Title plugin:

```

editorConfig: {
    removePlugins: ['Title'],
}
```

You can also change the behaviour of any plugin. For the Title plugin you can change for example the placeholder:

```

editorConfig: {
    title: {
        placeholder: 'h1'
    }
}
```