@huolala-tech/page-spy-wechat
Version:
A developer tool for debugging wechat miniprogram
33 lines (21 loc) • 1.12 kB
Markdown
[npm-image]: https://img.shields.io/npm/v/@huolala-tech/page-spy-wechat?logo=npm&label=version
[npm-url]: https://www.npmjs.com/package/@huolala-tech/page-spy-wechat
[minified-image]: https://img.shields.io/bundlephobia/min/@huolala-tech/page-spy-wechat
[minified-url]: https://unpkg.com/browse/@huolala-tech/page-spy-wechat/dist/iife/index.min.js
English | [中文](./README_ZH.md)
# `@huolala-tech/page-spy-wechat`
[![SDK version][npm-image]][npm-url]
[![SDK size][minified-image]][minified-url]
The client SDK of [PageSpy](https://www.pagespy.org) used in wechat miniprogram environment.
## Usage
```ts
import PageSpy from '@huolala-tech/page-spy-wechat';
const pageSpy = new PageSpy({
api: 'example.com',
});
```
Please refer to the official documentation for more details [PageSpy API](https://www.pagespy.org/#/docs/api)。
## Other SDKs
If you are using UniAPP or Taro, we recommend using below SDKs respectively:
- [@huolala-tech/page-spy-uniapp](https://www.npmjs.com/package/@huolala-tech/page-spy-uniapp)
- [@huolala-tech/page-spy-taro](https://www.npmjs.com/package/@huolala-tech/page-spy-taro)