open-index/open-npm huggingface dataset:
npm package: @lldc/output-script
Description: Output db commands to a script to be run by a db client app.
Author: LegallyLooking.com
Latest version: 0.0.2

# @lldc/output-script

[![npm version](https://img.shields.io/npm/v/@lldc/output-script.svg?style=flat)](https://npmjs.org/package/@lldc/output-script "@lldc/output-script")

Output db commands to a script to be run by a db client app.

## Install

```
$ npm i -S @lldc/output-script
```

## Usage
npm package: @llds/bg-dots
Description: A lightweight background dot animation using PixiJS and Simplex Noise.
Author: LsAng
Latest version: 0.1.0


## Setup

```bash
npm i @llds/bg-dots
```
```bash
pnpm add @llds/bg-dots
```

## Usage

```ts
<script setup lang="ts">
import { useBackgroundDots } from '@llds/bg-dots'
import { onMounted, ref } from 'vue'

const bg = ref<HTMLDivElement | null>(null)
onMounted(() => {
  if (bg.value) {
    useBackgroundDots(bg.value, false)
  }
})
</script>

<template>
  <div id="bg-dots__project">
    <div ref="bg" class="h-full w-full pointer-events-none fixed" />
    <RouterView />
  </div>
</template>
```
## Reference
[Anthony Fu](https://antfu.me/)
npm package: @llehtahw/mpsqlite-vite-build
Description: Vite 插件，用于在 uni-app 项目构建时自动安装 mpsqlite 所需的静态文件。
Author: llehtahw
Latest version: 0.1.2

# @llehtahw/mpsqlite-vite-build

Vite 插件，用于在 uni-app 项目构建时自动安装 mpsqlite 所需的静态文件。

**注意**：目前仅支持微信小程序平台。

## 安装

```bash
npm install --save-dev @llehtahw/mpsqlite-vite-build
```

## 使用方法

### 1. 在 vite.config.ts 中配置插件

**主包路径**：

```typescript
import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import { mpsqliteFilesPlugin } from "@llehtahw/mpsqlite-vite-build";

export default defineConfig({
  plugins: [
    mpsqliteFilesPlugin({
      staticDir: "static/",
    }),
    uni(),
  ],
  optimizeDeps: {
    exclude: ["@llehtahw/mpsqlite-vite-build"],
  },
});
```

**分包路径**：

```typescript
import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import { mpsqliteFilesPlugin } from "@llehtahw/mpsqlite-vite-build";

export default defineConfig({
  plugins: [
    mpsqliteFilesPlugin({
      staticDir: "subpackages/A/static/",
    }),
    uni(),
  ],
  optimizeDeps: {
    exclude: ["@llehtahw/mpsqlite-vite-build"],
  },
});
```

### 2. 在代码中配置 mpsqlite

在调用 `initSQLite` 之前，使用相同的 `staticDir` 路径配置：

**主包路径**：

```typescript
import { configureMPSQLite } from "@llehtahw/mpsqlite";

configureMPSQLite({
  staticDir: "static/",
});
```

**分包路径**：

```typescript
import { configureMPSQLite } from "@llehtahw/mpsqlite";

configureMPSQLite({
  staticDir: "subpackages/A/static/",
});
```

## 配置说明

- `staticDir` (必需): 小程序代码包内的静态文件路径
  - 主包示例: `'static/'` - 文件放在主包根目录
  - 分包示例: `'subpackages/A/static/'` - 文件放在分包 A 目录
  - **重要**: vite 插件和 `configureMPSQLite` 中的路径必须完全一致

## 功能

构建完成后自动：

- 压缩并复制 `sql-wasm.wasm` 为 Brotli 格式
- 复制 `mpsqlite/static` 目录下的所有必要文件

## 依赖

- `@llehtahw/mpsqlite`
- `sql.js`

## 故障排除

如果遇到 `ESM file cannot be loaded by require` 错误：

1. **确保在 `vite.config.ts` 中添加了 `optimizeDeps.exclude` 配置**（见上方示例）
2. 删除 `node_modules` 和 `package-lock.json`，然后重新运行 `npm install`
3. 确保使用 `import` 而不是 `require` 导入插件

## License

MIT
npm package: @llej/vuejs-mobile-datepicker
Description: A Vue component to vuejs-mobile-datepicker
Author: 崮生
Latest version: 1.1.5

# Vue Component Plugin

> A Vue component plugin to vuejs-mobile-datepicker 

## View

在线演示地址 [demo](https://1g703.csb.app/)(请用浏览器上切换到手机调试模式或在手机上体验)

<img src="https://user-gold-cdn.xitu.io/2019/11/13/16e63dd5f8d92b97?w=396&h=686&f=gif&s=667865">

## Build Setup

``` bash
# install
npm install vuejs-mobile-datepicker --save

```
``` javascript
// use
import DatePicker from 'vuejs-mobile-datepicker';

export default {
  // ...
  components: {
    DatePicker
  }
  // ...
}
```

## Property

|  名称   | 描述  |  类型   | 默认值  | 选项 |
|  ----  | ----  |  ----  | ----  | ---- |
| show-picker-model  | 控制日期选择器显示隐藏 | Boolean  | false | true &#124; false
| mark-weekend  |  是否标记周末日期  |  Boolean  | false | true &#124; false
| language  |  语言  |  String  | "Chinese" | "English" &#124; "Chinese"
| default-date  | 默认选择日期 | Date  | new Date() | ---
| start-date  | 日期选择器可选最小日期 | Date  | new Date('1900-1-1') | ---
| end-date  | 日期选择器可选最大日期 | Date  | new Date() | ---
| disable-date  | 设置禁用日期,函数参数为当前日期如（'2018-8-8'），要求返回Boolean类型的值，为true禁用 | Function  | --- | ---

## Method

|  名称   | 描述  |  回调   | 
|  ----  | ----  |  ----  | 
| cancel  | 取消按钮触发事件 | --- |
| confirm  | 确认按钮触发事件，回调参数为选中日期如（"2018-8-8"） | ---  | 

## More

想了解更多关于该组件插件的源码，请移步到[我的博客](https://blog.csdn.net/weixin_41382187/article/details/98037808)
npm package: @llelievr.dev/solid-fluent
Description: A solijs wrapper around @fluent/bundle
Author: loucass003
Latest version: 0.0.6

# @llelievr.dev/solid-fluent

[![npm version](https://badge.fury.io/js/@llelievr.dev%2Fsolid-fluent.svg)](https://badge.fury.io/js/@llelievr.dev%2Fsolid-fluent)

`@llelievr.dev/solid-fluent` provides the Solidjs bindings for [Project Fluent](https://projectfluent.org).

This code is hightly inspired by [@fluent/react](https://github.com/projectfluent/fluent.js/tree/main/fluent-react) as a matter of fact this usage is almost the same.

## Quick start

Install it:

```bash
npm i @llelievr.dev/solid-fluent @fluent/bundle
# or
yarn add @llelievr.dev/solid-fluent @fluent/bundle
# or
pnpm add @llelievr.dev/solid-fluent @fluent/bundle
```

Use it:

```tsx
import { createSignal, ParentComponent, type Component } from 'solid-js'
import { FluentProvider, Localized, useFluent } from '@llelievr.dev/solid-fluent'
import { FluentBundle, FluentResource } from '@fluent/bundle'

const DirectString: Component = () => {
  // you can access fluent translations from the useFluent hook
  const fluent = useFluent()

  return <>{fluent.getString('welcome', { name: 'Test' })()}</>
}

const Bold: ParentComponent = props => (
  <div style={{ background: 'red', display: 'inline-block' }}>{props.children}</div>
)

const App: Component = () => {
  // Load your resources, using @fluent/bundle
  let resource = new FluentResource(`
-brand-name = Foo 3000
welcome = Welcome, {$name}, to {-brand-name}!
elements =
    .placeholder = I am a placehoder
    .alt = I am a alt
markups = <b>I am bold</b> WOW
  `)

  let resourceFR = new FluentResource(`
-brand-name = Foo 3000
welcome = bienvenue {$name}, sur {-brand-name}!
elements =
    .placeholder = Je suis un example
    .alt = I suis une indication
markups = <b>je suis en gras</b> WOW
`)

  let bundle = new FluentBundle('en-US')
  // Attach the resource to a bundle
  bundle.addResource(resource)

  let bundleFR = new FluentBundle('fr-FR')
  bundleFR.addResource(resourceFR)

  let [currentBundle, setBundle] = createSignal<FluentBundle>(bundle)

  let lang = 0
  const randomLang = () => {
    const bundles = [bundle, bundleFR]
    setBundle(bundles.at(lang++ % bundles.length) ?? bundle)
  }

  return (
    /* provide the a bundle to the fluent provider */
    <FluentProvider bundle={currentBundle()}>
      <button onClick={() => randomLang()}>Random lang</button>
      <DirectString></DirectString>
      {/* use the Localized to directly replace attributes or div content with your translation keys */}
      <Localized id="elements" vars={{ name: 'test' }} attrs={{ placeholder: true }}>
        <input type="text" placeholder="temp" alt="super alt" />
      </Localized>
      <Localized id="markups" elems={{ b: <Bold></Bold> }}></Localized>

      <Localized id="markups" elems={{ b: <Bold></Bold> }}>
        <div>placeholder that will be replace by the markups content</div>
      </Localized>
    </FluentProvider>
  )
}

export default App
```
npm package: @llenrique/platzom
Description: traductor de idioma platzom
Author: EnriqueLopez
Latest version: 0.1.0

# Platzom

Platzom es un idioma inventado muy raro por un argentino muy majo

## Descipcion del idioma
-si la palabra termina en ar se le quitan esos dos caracteres

-si la palabra inicia con z se le añande "pe" al final

-si la palabra traducida tiene 10 o más letras se debe partir a la mitad y unir con un "-"

-si la palabra original es un palindromo ninguna regla anterior cuenta y se devuelve la misma palabra intercalando mayus y minus

## Instalación

``` shell
  npm install platzom
```
## Uso

```
  import platzom form 'platzom'

  console.log(platzom('Programar')) //Program
  console.log(platzom('Zorro')) //Zorrope
  console.log(platzom('Zorrear')) //Zorrepe
  console.log(platzom('murcielago')) //murci-elago
  console.log(platzom('reconocer')) //ReCoNoCeR
```
#Creditos
-[Yo merengues]

## LIC
-[MIT]
npm package: @lleohao/raneto
Description: Markdown powered Knowledgebase
Author: Gilbert Pellegrom
Latest version: 0.16.2

> 添加中文支持
>
> 使用 https://github.com/codepiano/lunr.js 替代依赖中的 lunr
>
> 注释了 lunr-language, 对中文搜索没什么帮助
> 
> 不出意外的话会跟随官方更新

Raneto [![](https://travis-ci.org/gilbitron/Raneto.svg?branch=master)](https://travis-ci.org/gilbitron/Raneto)
======

[![Raneto Logo](https://raw.githubusercontent.com/gilbitron/Raneto/master/logo/logo_readme.png)](http://raneto.com/)


[Raneto](http://raneto.com) is a free, open, simple Markdown powered Knowledgebase for Node.js.  
[Find out more &rarr;](http://docs.raneto.com/what-is-raneto)  

Visit [http://docs.raneto.com](http://docs.raneto.com) to see a demo and get started!

Quickstart
----------

Run this in a terminal and then visit [http://localhost:3000](http://localhost:3000).  
For full Installation instructions, see the [Installation Guide](http://docs.raneto.com/install/installing-raneto).  
`git clone https://github.com/gilbitron/Raneto.git && cd Raneto && npm install && npm run gulp && npm start`

Supported Node Versions:
- v10.x.x
- v8.x.x

Links
---------------

- [Configuration](http://docs.raneto.com/usage/configuration)
- [Production Notes](http://docs.raneto.com/install/production-notes)
- [Deploying to Heroku](http://docs.raneto.com/tutorials/deploying-raneto-to-heroku)
- [Contributing](https://github.com/gilbitron/Raneto/blob/master/CONTRIBUTE.md)

Related Projects
----------------

- [Deploy Raneto to your servers with Ansible](https://github.com/ryanlelek/raneto-devops) (@ryanlelek)
- [Run Raneto in a Vagrant container](https://github.com/draptik/vagrant-raneto) (@draptik)
- [Deploy Raneto using Docker container](https://github.com/appsecco/raneto-docker)(@madhuakula)

Credits
-------

Raneto was created by [Gilbert Pellegrom](https://gilbitron.me) from [Dev7studios](http://dev7studios.co).  
Maintained by [Ryan Lelek](http://www.ryanlelek.com) from [AnsibleTutorials.com](http://www.ansibletutorials.com).  
Logo by [@mmamrila](https://github.com/mmamrila)  
Released under the [MIT license](https://raw.githubusercontent.com/gilbitron/Raneto/master/LICENSE).
npm package: @lleon/http-status
Description: Enums for easy usage of http statuses
Author: Lorens León
Latest version: 1.0.2

HTTP Status Codes
=================

Package to easily manage HTTP status codes


Example
-------


```javascript
import { HttpStatus, HttpStatusMessage } from '@lleon/http-status';

console.log(HttpStatus.NotFound); // 404
console.log(HttpStatusMessage[HttpStatus.NotFound]) // "Not Found"
console.log(HttpStatusMessage[404]) // "Not Found"
```
npm package: @lleon/namespaces
Description: Local storage across async operations
Author: Lorens León
Latest version: 1.0.4

Namespaces
==========

Local storage across async operations using the `async_hooks` experimental module

Example
-------


```javascript
import { Namespace } from '@lleon/namespaces'

const ns = new Namespace('my-namespace').enable().createStore();

async function findUser() {
  return { name: 'John' };
}

findUser()
  .then(user => {
    ns.set('user', user);
  })
  .then(() => {
    setTimeout(() => {
      console.log(ns.get('user')); // { "name": "John" }
    }, 1000);
  });
```


### Using Express

```javascript
import express from 'express';
import { Namespace } from '@lleon/namespaces',

const ns = new Namespace('express-ns').enable();

const app = express();
app.use(ns.express());
app.get('/', (req, res, next) => {
  console.log(ns.get('req') === req); // true
  console.log(ns.get('res') === res); // true
});
app.listen(3000);

```

### Using Restify


```javascript
import restify from 'restify';
import { Namespace } from '@lleon/namespaces',

const ns = new Namespace('restify-ns').enable();

const server = restify.createServer();
server.use(ns.restify());
server.get('/', (req, res, next) => {
  console.log(ns.get('req') === req); // true
  console.log(ns.get('res') === res); // true
})
server.listen(3000);
```

### Using Hapi

```javascript
import hapi from 'hapi';
import { Namespace } from '@lleon/namespaces',

const ns = new Namespace('hapi-ns').enable();

const server = new hapi.Server();
server.connection({ host: '0.0.0.0', port: 3000 });
server.ext('onRequest', ns.hapi());
server.route({
  method: 'get',
  url: '/',
  handler(request, reply) {
    console.log(ns.get('request') === request); // true
    console.log(ns.get('reply') === reply); // true
  }
});

server.start();
```
npm package: @llexto/server-status-all
Description: Permet de voir les status de serveur minecraft
Author: llexto
Latest version: 0.0.1

<h1>server-status-all</h1>

[![npm version](https://img.shields.io/npm/v/server-status-all?label=version)](https://www.npmjs.com/package/server-status-all)
[![License](https://img.shields.io/npm/l/server-status-all)](https://llexto/server-status-all/blob/master/LICENSE)
![npm weekly downloads](https://img.shields.io/npm/dw/server-status-all)
[![GitHub open issues](https://img.shields.io/github/issues-raw/llexto/server-status-all)](https://github.com/llexto/server-status-all/issues)

Un module Node.Js pour envoyer un ping à un serveur avec l'ip et le port.

*Des nouvelles fonctionnalités vont arriver*

## Documentation 

### Avoir le statut d'un serveur Minecraft

```js
const status = require('server-status-all');

status('play.hypixel.net', 19132)
```

### Résultat 
```console
-----Informations concernant le serveur-----
        Ip : play.hypixel.net
        Port : 19132
        Statut : Opérationnel (77ms)
```

### Comment activer le message dans la console ? 

Il faut mettre true après le port avec une virgule.

```js
status('play.hypixel.net', 19132, true)
```

### Comment avoir le nombre d'ms du serveur en dehors du message de console et savoir son statut ? 

```js
const status = require('server-status-all');

status.ms() //77

status.type() //connect, error, timeout
```