open-index/open-npm huggingface dataset:
npm package: @mp-lb/zapper
Description: A lightweight dev environment runner for local multi-service projects
Latest version: 0.13.0

# Zapper

Infrastructure as code for your local development environment.

## Why Zapper?

**One file, entire stack.** Define processes, containers, environment variables, and tasks in a single `zap.yaml`. No more scattered terminal tabs, docker-compose files, Makefiles, and `.env` files across repos.

**Zero mental overhead.** Coming back to a project after months? `zap up` and you're running. No remembering which services to start, what ports they use, or where the logs are.

**Resource-friendly.** Spin up and tear down entire multi-service projects instantly. On a MacBook juggling multiple projects, this matters.

**Detached logs.** Built on PM2, so logs persist even if your terminal or editor crashes. Attach when you need them, detach when you don't. No dedicated terminal windows to babysit. This is much friendlier for AI agents too.

**Editor integration.** The Cursor/VSCode extension lets you start/stop services and view logs without leaving your editor.

**Secure env vars.** Centralize environment variables and whitelist which services see what. Secrets stay out of services that don't need them.

## Documentation

- **[Usage](docs/usage.md)** — Installation, configuration, CLI reference
- **[Development](docs/development.md)** — Contributing, testing, releases
npm package: @mp-logger/logger
Description: mp-logger SDK.
Latest version: 0.0.1

# `@mp-logger/logger`

> 线上小程序实时日志 Debug 平台 SDK

## 安装

通过 NPM

```bash
npm install @mp-logger/logger
```

通过 CDN 地址：https://unpkg.com/browse/@mp-logger/logger/lib/index.min.js

## 使用

```javascript
import logger from '@mp-logger/logger'

// 初始化配置，一次即可
logger.initSetting({
  origin: 'http://localhost:3030',
  sendData: NODE_ENV === 'devlopment' ? false : true,
})

// 在任意位置调用，与 console 参数一致
logger.debug('调试')

logger.log('消息')

logger.info('消息')

logger.warn('警告')

logger.error('错误')
```

### initSetting 配置参数

- `origin`: `string`, 必填，服务器地址，`协议 + IP + 端口`，格式：https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin#Examples
- `sendData`: `string`, 可选，是否向服务端发送日志数据，本地开发可设置为 `false`。
- `debounceTime`: `number`, 可选，发送日志数据请求的防抖时间，默认 `100`，毫秒计。
- `requestClient`: `function`, 可选，网络请求客户端，默认为微信 `request`，或提供与微信 `request` [API](https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html) 一致的客户端。
- `requestOptions`: `object`, 可选，客户端请求参数。
npm package: @mp-toolkit/mp-type
Description: Type definitions for APIs of Wechat Mini Program in TypeScript
Author: Wechat Miniprogram
Latest version: 1.0.0

# 微信小程序定义文件

> [English version](./README-en.md)

[![已在 DefinitelyTyped 发布](https://img.shields.io/npm/v/@types/wechat-miniprogram?label=%40types)](https://www.npmjs.com/package/@types/wechat-miniprogram)
[![已在 NPM 发布](https://img.shields.io/npm/v/miniprogram-api-typings.svg?style=flat)](https://www.npmjs.com/package/miniprogram-api-typings)
[![MIT 协议](https://img.shields.io/github/license/wechat-miniprogram/api-typings.svg)](https://github.com/wechat-miniprogram/api-typings)
[![GitHub Actions 测试状况](https://github.com/wechat-miniprogram/api-typings/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/wechat-miniprogram/api-typings/actions/workflows/test.yml)

微信小程序 API 的 TypeScript 类型定义文件

## 安装

### 通过 DefinitelyTyped

```bash
npm install @types/wechat-miniprogram
```

或：

### 通过独立 npm 包

```bash
npm install miniprogram-api-typings
```

安装后手动导入：

- `import 'miniprogram-api-typings';`

或者在 ts 配置中指定：

- 在 `tsconfig.json` 中指定 `types: ["miniprogram-api-typings"]`

或者通过 [三斜杠指令](https://www.tslang.cn/docs/handbook/triple-slash-directives.html) 引用：

- `/// <reference path="node_modules/miniprogram-api-typings/index.d.ts" />`

## 更新日志

参考 [CHANGELOG.md](https://github.com/wechat-miniprogram/api-typings/blob/master/CHANGELOG.md)

## 贡献

API 的定义文件（`lib.wx.api.d.ts`）是随 [文档](https://developers.weixin.qq.com/miniprogram/dev/api/) 一起自动生成的，如果发现了 API 接口的定义错误，请提一个 issue 给我们，关于 API 的 PR 将 __不会__ 被接受。

如果有针对页面（`Page`）、自定义组件（`Component`）等接口的 bug 和建议，欢迎 PR 或提一个 issue 给我们。非常感谢！

### 贡献者

- [Baran](https://github.com/baranwang)
- [MinLiang Zeng](https://github.com/zenml/)
- [Garfield Lee](https://github.com/Garfield550)
- [Mr.Hope](https://github.com/Mister-Hope)
- [chs97](https://github.com/chs97)

### 测试

本定义文件使用 [`tsd`](https://github.com/SamVerschueren/tsd) 进行测试，所有的测试样例放在 `test` 目录下。

想执行测试的话，克隆本项目并完成 `npm install --save-dev` 后执行 `npm test` 即可。

如果您发现了不能通过自动化测试的测试样例，可以提交 PR 或者提一个 issue。当然，能通过自动化测试的强有力的测试样例也是欢迎的。