open-index/open-npm huggingface dataset:
npm package: @kunlun-qilian/create-app-cli
Description: ## Scaffolding Your First webapp Project
Author: Lane
Latest version: 0.0.2

# @kunlun-qilian/create-app-cli

## Scaffolding Your First webapp Project

> **Compatibility Note:**
> Vite requires [Node.js](https://nodejs.org/en/) version 14.18+, 16+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.

With PNPM:

```bash
$ pnpx @kunlun-qilian/create-app-cli@latest
```

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + React project, run:

```bash
# pnpm
pnpx @kunlun-qilian/create-app-cli@latest my-react-app --template react-ts
```

Currently supported template presets include:

- `react-ts` [点此去](https://github.com/kunlun-qilian/create-app-cli/tree/master/template-react-ts)
- `vue-ts` [点此去](https://github.com/kunlun-qilian/create-app-cli/tree/master/template-vue-ts)
npm package: @kunlunjs/cli
Description: <p align="center">   <a href="http://kunlunjs.cn/" target="blank"><img src="logo.png" width="600" alt="Kunlun Logo" /></a> </p>
Latest version: 0.0.34

<p align="center">
  <a href="http://kunlunjs.cn/" target="blank"><img src="logo.png" width="600" alt="Kunlun Logo" /></a>
</p>

<p align="center">A <a href="http://nodejs.org" target="blank">fullstack(NestJS、React)</a> framework for building efficient and scalable applications.</p>
    <p align="center">
<a href="https://www.npmjs.com/org/kunlunjs"><img src="https://img.shields.io/npm/v/@kunlunjs/cli.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/org/kunlunjs"><img src="https://img.shields.io/npm/l/@kunlunjs/cli.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/org/kunlunjs"><img src="https://img.shields.io/npm/dm/@kunlunjs/cli.svg" alt="NPM Downloads" /></a>
<a href="https://coveralls.io/github/turing-fe/kunlun-cli?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/turing-fe/kunlun-cli/badge.svg?branch=master#9" alt="Coverage" /></a>
<a href="https://circleci.com/gh/turing-fe/kunlun-cli" target="_blank"><img src="https://circleci.com/gh/turing-fe/kunlun-cli.svg?style=svg" alt="CircleCI" /></a>

## Description

The Kunlun CLI is a command-line interface tool that helps you to initialize, develop, and your Kunlun application.
It assists in multiple ways, including scaffolding the project, serving it in development mode, and building and bundling the application for production distribution.
It embodies best-practice architectural patterns to encourage well-structured app. Read more [here]().

## Installation

```bash
npm install -g @kunlunjs/cli
# or
yarn global add @kunlunjs/cli
```

## Usage

## Developing

Install `@kunlunjs/cli` to be able to use `kunlun` command

```bash
npm i -g @kunlunjs/cli
# or
yarn global add @kunlunjs/cli

kunlun new
kunlun start
kunlun build
```

## Stay in touch

- Website - [https://kunlunjs.cn]()

## License

Kunlun is [MIT licensed](LICENSE).
npm package: @kunlunjs/schematics
Description: Kunlun - modern, fast, powerful fullstack framework (@schematics)
Latest version: 0.0.10

<p align="center">
  <a href="http://kunlunjs.cn/" target="blank"><img src="logo.png" width="600" alt="Kunlun Logo" /></a>
</p>

<p align="center">A <a href="http://nodejs.org" target="blank">fullstack(NestJS、React)</a> framework for building efficient and scalable applications.</p><p align="center">
<a href="https://www.npmjs.com/org/kunlunjs"><img src="https://img.shields.io/npm/v/@kunlunjs/schematics.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/org/kunlunjs"><img src="https://img.shields.io/npm/l/@kunlunjs/schematics.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/org/kunlunjs"><img src="https://img.shields.io/npm/dm/@kunlunjs/schematics.svg" alt="NPM Downloads" /></a>
<a href="https://coveralls.io/github/turing-fe/kunlun-schematics?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/turing-fe/kunlun-schematics/badge.svg?branch=master#9" alt="Coverage" /></a>
<a href="https://circleci.com/gh/turing-fe/kunlun-schematics" target="_blank"><img src="https://circleci.com/gh/turing-fe/kunlun-schematics.svg?style=svg" alt="CircleCI" /></a>

## Description

The Kunlun CLI is a command-line interface tool that helps you to initialize, develop, and your Kunlun application.
It assists in multiple ways, including scaffolding the project, serving it in development mode, and building and bundling the application for production distribution.
It embodies best-practice architectural patterns to encourage well-structured app. Read more [here]().

## Installation

```bash
npm install -g @kunlunjs/schematics
# or
yarn global add @kunlunjs/schematics
```

## Usage

## Developing

Install `@angular-devkit/schematics-cli` to be able to use `schematics` command

```bash
npm i -g @angular-devkit/schematics-cli
# or
yarn global add @angular-devkit/schematics-cli
```

Now build the schematics and run the schematics.

```bash
npm run build

# --dry-run
schematics .:application

# execute schematics
schematics .:application --debug false
# or
schematics .:application --dry-run false
# or
schematics .:application --type nest-prisma-restful --dry-run false
```

## Helpful

Helpful article about [Custom Angular Schematics](https://medium.com/@tomastrajan/total-guide-to-custom-angular-schematics-5c50cf90cdb4) which also applies to Kunlun.

## Stay in touch

- Website - [https://kunlunjs.cn]()

## License

Kunlun is [MIT licensed](LICENSE).
npm package: @kunoichi/gulp-assets-task-set
Description: A series of gulp task set for Web Development.
Author: Kunoichi Market
Latest version: 1.0.2

# Gulp Assets Task Set

A series of gulp task set for Web Development.

## Installation

Install via npm library.

```
npm install --save-dev @kunoichi/gulp-assets-task-set
```

Run command and copy configs if wanted.

```
# Copy all config files.
npx copy-config
```

Or else, you can specify 1 by 1.

```
# copy gulp file and webpack.
npx copy-config --gulpfile --webpack
```

Here's a list of command options:

| Option         | Shorhand | File              |
|----------------|----------|-------------------|
| --gulpfild     | -g       | gulpfile.js       |
| --browserlist  | -b       | .browserlistrc    |
| --eslint       | -e       | .eslintrc         |
| --editorconfig | -c       | .editorconfig     |
| --stylelint    | -s       | .stylelintrc.json |
| --webpack      | -w       | webpack.config.js |

After installation, try `npx gulp --tasks` to find all tasks.

## How to Use

This library registers many tasks. Basic directory structure is:

```
src
├img/(*.jpg, *.png, *.gif, *.svg)
├js/*.js
├scss/*.scss
└html/*.pug
```

These source files are transpiled like:

```
dist
├img/(*.jpg, *.png, *.gif, *.svg, *.webp)
├js/*.js
├scss/*.css
└*.html
```

To customize directory name, change task registration in `gulpfile.js` like `gulpTask.all( 'src', 'public' );`.

## Jobs

### HTML & BrowserSync

All `src/html/*.pug` files are compiled to HTML by [pug](https://pugjs.org/api/getting-started.html). And you can watch them with [BrowserSync](https://browsersync.io/) by `gulp bs`.

### JS 

All `src/js/*.js` will be transpiled by [webpack](https://webpack.js.org/) + [babel](https://babeljs.io/).

- Support [ES6](http://www.ecma-international.org/ecma-262/6.0/index.html) syntax.
- Support [React JSX](https://reactjs.org/docs/introducing-jsx.html).
- Scripts are minimized with [Terser Webpack Plugin](https://webpack.js.org/plugins/terser-webpack-plugin/).

You can import libraries with module loader `import { foo } from 'var';`. But on WordPress development we recommend `@deps` comment.

### CSS

All `src/scss/**/*.scss` will be transpiled by [gulp-sass](https://www.npmjs.com/package/gulp-sass).

### Images

- All images in `src/img/**/*` will be optimized and minified.
- Minified `dist/img/**/*.{jpg,jpeg,png}` will be ottimized into [webp](https://developers.google.com/speed/webp) `dist/img/**/*.jpg.webp`.

### Dependencies

All css and JS in `dist/{js,css}/**/*.{js,css}` will be parsed and dumped in `wp-dependencies.json` with [@kunoichi/grab-deps](https://www.npmjs.com/package/@kunoichi/grab-deps).

## Acknowlegement

- Photo `assets/img/cat.jpg` is by [Snapwire in Pexels](https://www.pexels.com/photo/730896/) with CC-0.

## License

MIT &copy; [Kunoichi INC](https://kunoichiwp.com)
npm package: @kunosyn/shatterbox
Description: Voxel destruction, simple and optimized.
Author: kunosyn
Latest version: 0.0.6

<div align="center">
  <p>
    <img src=https://i.imgur.com/j2pg7CB.png />
  </p>
</div>

<div align="center">
  <a href=https://www.npmjs.com/package/@kunosyn/shatterbox>
    <img src=https://img.shields.io/npm/v/@kunosyn/shatterbox />
  </a>
  <a href=https://www.npmjs.com/package/@kunosyn/shatterbox>
    <img src=https://img.shields.io/npm/dt/@kunosyn/shatterbox />
  </a>
  <a href=https://discord.gg/WRfz79uRTy>
    <img src=https://img.shields.io/discord/1383861480377815080 />
  </a>
  <a href=https://devforum.roblox.com/t/shatterbox-client-server-voxel-destruction-simple-and-optimized-release-8/3674163>
    <img src=https://img.shields.io/badge/Devforum-Post-informational/>
  </a>
</div>

## About


> [!IMPORTANT]
> Documentation was partially AI assisted. Though looked over, there may be small inaccuracies. Please open an issue if you spot any.


### Installation
> Install package via [NPM](https://www.npmjs.com/package/@kunosyn/shatterbox):
```sh
npm i @kunosyn/shatterbox
```

> Add path to tsconfig.json in compilerOptions.typeRoots
```sh
"typeRoots": ["node_modules/@kunosyn", ...]
```

> Add path to @kunosyn to default.project.json in rbxts_include/node_modules.
```sh
"ReplicatedStorage": {
  "$className": "ReplicatedStorage",
  "rbxts_include": {
    "$path": "include",
    "node_modules": {
      "$className": "Folder",
      "@kunosyn": {
        "$path": "node_modules/@kunosyn"
      }
    }
  },
}
```

*Done!*

### Usage Example
Here's some basic examples of using the shatterbox module:


> Server Initialization
```ts
import Shatterbox from '@kunosyn/shatterbox'

const shatterbox = new Shatterbox()

shatterbox.Start()

// Registers one of the default effects.
shatterbox.RegisterOnVoxelDestruct('BumpyFloorBreakWalls', shatterbox.DefaultEffects.BumpyFloorBreakWalls)
```


> Client Initialization
```ts
import Shatterbox from '@kunosyn/shatterbox'

const shatterbox = new Shatterbox()

shatterbox.Start()
```

> Jujustu Shenanigans Styled Destruction (Server)
```ts
import Shatterbox from '@kunosyn/shatterbox'

const shatterbox = new Shatterbox()

shatterbox.Start()

// Registers one of the default effects.
shatterbox.RegisterOnVoxelDestruct('BumpyFloorBreakWalls', shatterbox.DefaultEffects.BumpyFloorBreakWalls)

// Create a Hitbox Instance
const hb = this.shatterbox.CreateHitbox()
hb.Size = Vector3.one.mul(10) // Sets the hitbox size
hb.OnVoxelDestruct = 'BumpyFloorBreakWalls' // Sets the Destruction Effect
hb.CleanupDelay = 10 // How long to wait until cleanup

// Replace with your networking solution of choice.
Events.M1.Connect((player, hitPosition, normal) => {
  const char = player.Character || player.CharacterAdded.Wait()[0]
  const hrp = char.WaitForChild('HumanoidRootPart') as BasePart

  hb.CFrame = new CFrame(hit) // Sets the position of the hitbox
  hb.UserData['CastOrigin'] = hrp.Position // Sets the cast origin.
  hb.Destroy() // Destructs the voxels in the hitbox.
})
```
npm package: @kunosyn/vex
Description: An efficient, performance-minded voxel destruction model. Created by EternalEthel/qrisquinn (same person).
Author: kunosyn
Latest version: 0.0.1

<div align="center">
  <p>
    <img src=https://i.imgur.com/EEJZQKb.png />
  </p>
</div>

<div align="center">
  <a href=https://www.npmjs.com/package/@kunosyn/vex>
    <img src=https://img.shields.io/npm/v/@kunosyn/vex />
  </a>
  <a href=https://www.npmjs.com/package/@kunosyn/vex>
    <img src=https://img.shields.io/npm/dt/@kunosyn/vex />
  </a>
</div>

## About
An efficient, performance-minded voxel destruction model.
Created by EternalEthel/qrisquinn. Ported to Typescript for rbxts by savruun.

> [!IMPORTANT]
> This package is a port of [Vex 2.0](https://devforum.roblox.com/t/vex-20-remastered-for-your-voxel-destruction-needs/1619456) last updated in January of 2022 meaning this package is not updated anymore, it is reccommended you use @kunosyn/shatterbox for larger/newer projects.


### Installation

>Install package via [NPM](https://www.npmjs.com/package/@kunosyn/vex):
```sh
npm i @kunosyn/vex
```

> Add path to tsconfig.json in compilerOptions.typeRoots
```sh
"typeRoots": ["node_modules/@kunosyn", ...]
```

> Add path to @kunosyn to default.project.json in rbxts_include/node_modules.
```sh
"ReplicatedStorage": {
  "$className": "ReplicatedStorage",
  "rbxts_include": {
    "$path": "include",
    "node_modules": {
      "$className": "Folder",
      "@kunosyn": {
        "$path": "node_modules/@kunosyn"
      }
    }
  },
}
```

*Done!*

### Usage Example
Here's some basic examples of using the vex module:


> Destructible walls.

```ts
import { Workspace } from '@rbxts/services';
import Vex from '@kunosyn/vex';

const wall = Workspace.WaitForChild('Wall') as Part
const projectile = Workspace.WaitForChild('Projectile') as Part

const structure = new Vex(wall, {
  voxelSize: 2,
  lifetime: 15
})

projectile.Touched.Connect((hit) => {
  if (hit === wall) {
    structure.Destroy()
    structure.ApplyForce(projectile.AssemblyLinearVelocity.mul(10), projectile.Position)
  }
})
```

> Timed demolition.

```ts
import { Workspace } from '@rbxts/services';
import Vex from '@kunosyn/vex';

const building = Workspace.WaitForChild('Building') as Model;

task.wait(3)

const structure = new Vex(building, {
    voxelSize: 2,
    lifetime: 30,
    weldAdjacent: false // Let the pieces fall independently.
})

structure.Destroy()
structure.ApplyForce(new Vector3(0, 1200, 0), building.PrimaryPart.Position);
```
npm package: @kunping/clipboard
Description: copy to clipboard
Author: kunping
Latest version: 1.0.5

# 介绍
简单的将数据复制到剪贴板
# 安装

``` shell
npm i @kunping/clipboard --save
```

# 引入

``` js
import clipboard from "@kunping/clipboard"
```

# 例子

## 字符串

``` js
clipboard({data: "copy data"}).then(()=> {
    alert('ok')
  }).catch(() => {
    alert('fail')
  })

// copy data
```

## 数组

``` js
const data = ['hello',"world"]
clipboard({data}).then(()=> {
    alert('ok')
  }).catch(() => {
    alert('fail')
  })
/*
hello
world

*/
```

## 对象

``` js
const data = {
    age: 12,
    name: 'userName'
}
clipboard({data}).then(()=> {
    alert('ok')
  }).catch(() => {
    alert('fail')
  })
/*
age：12
name：userName

*/
```

## 分隔符

默认为`：`

``` js
const data = {
    age: 12,
    name: 'userName'
  }
  clipboard({data, separator: '-'}).then(()=> {
    alert('ok')
  }).catch(() => {
    alert('fail')
  })

/*
age-12
name-userName

*/
```

## 行分隔符

默认为`\n`

``` js
const data = {
    age: 12,
    name: 'userName'
  }
  clipboard({data, rowSeparator: ','}).then(()=> {
    alert('ok')
  }).catch(() => {
    alert('fail')
  })

/*
age：12,name：userName,

*/
```

## 有弹框

当有弹框时，不支持`navigator.clipboard`的浏览器无法复制到剪切板。这时需将当前弹框的`Element`传入

``` js
clipboard({data: "copy data", container: html}).then(()=> {
    alert('ok')
  }).catch(() => {
    alert('fail')
  })

// copy data
```
npm package: @kunroku/dicrypt
Description: distributed backup system for ed25519 key pair
Author: kunroku
Latest version: 1.0.2

# Distributed Key Encryption

Encrypt private key with password and random salt. Random salt is divided according to the secret sharing method. The split data can be deposited with family, custodian, or any other trusted third parties.

## Installation

Using npm in your project

```
npm install @kunroku/dicrypt
```

## CDN

```
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@kunroku/iost@1.0.2/dist/dicrypt.min.js"></script>
```

exports to window.dicrypt global.


## API

##### dicrypt.encrypt.secretKey(secretKey, password, N, r, p)

Encrypt secret key.

- secretKey: Secret key you want to encrypt.
- password: Used for encryption. Required to remember.
- N: A factor to control the overall CPU/Memory cost. Required to save.
- r: A factor to control the blocksize for each mixing loop (memory usage). Required to save.
- p: A factor to control the number of independent mixing loops (parallelism). Required to save.

This api returns: { salt: Buffer, nonce: Buffer, encryptedSeed: Buffer }

##### dicrypt.encrypt.salt(salt, nonce, secretKey, publicKeyList, threshold)

Divid salt and encrypt share

- salt: Parameters that was used at the time of secret key encryption
- nonce: Parameters that was used at the time of secret key encryption
- secretKey: Your secret key 
- publicKeyList: Collaborators public key list
- threshold: Recoverable threshold


This api returns: Array<{ signature: Buffer, encryptedShare: Buffer }>

##### dicrypt.decrypt.secretKey(password, salt, nonce, encryptedSeed, N, r, p)

Decrypt secret key

- password: Parameters that was used at the time of secret key encryption
- salt: Parameters that was used at the time of secret key encryption
- nonce: Parameters that was used at the time of secret key encryption
- encryptedSeed: Encrypted seed value of secret key
- N: Parameters that was used at the time of secret key encryption
- r: Parameters that was used at the time of secret key encryption
- p: Parameters that was used at the time of secret key encryption

this api returns: Buffer or null

##### dicrypt.decrypt.share(nonce, encryptedShare, publicKey, secretKey)

Decrypt encrypted salt share

- nonce: Parameters that was used at the time of secret key encryption
- encryptedShare: Encrypted salt share
- publicKey: Collaborators public key
- secretKey: Secret key owner public key

This api returns: Buffer or null

##### dicrypt.decrypt.salt(sharList)

Combine salt share data

- shareList: salt share list

##### dicrypt.verify(share, signature, publicKey)

Verify decrypted share

- share: decrypted share
- signature: share hash signature data
- publicKey: used for signature

This api returns: boolean