open-index/open-npm huggingface dataset:
npm package: @picnic-software/vue-analytics
Description: Google Analytics plugin for Vue
Author: Matteo Gabriele
Latest version: 4.1.3

<p align="center">
<img src="http://i.imgur.com/whvHAT6.png" width="180" />
<br>
<br>
<a href="https://badge.fury.io/js/vue-analytics">
 <img src="https://badge.fury.io/js/vue-analytics.svg" />
<a/>

 <a href="https://www.npmjs.com/package/vue-analytics">
  <img src="https://img.shields.io/npm/dm/vue-analytics.svg" />
 <a/>
</p>

# vue-analytics

Vue plugin for Google Analytics

## Requirements

Vue ^2.0.0

## User guide

* [Get started](/docs/installation.md)
* [Page tracking](/docs/page-tracking.md)
  * [Enable page auto tracking](/docs/page-tracking.md#enable-page-auto-tracking)
  * [Disable pageview hit on page load](/docs/page-tracking.md#disable-pageview-hit-on-page-load)
  * [Ignore routes](/docs/page-tracking.md#ignore-routes-on-page-auto-tracking)
  * [Auto track with custom data](/docs/page-tracking.md#auto-track-with-custom-data)
* [Event tracking](/docs/event-tracking.md)
* [User timings](/docs/user-timings.md#user-timings)
* [Exception tracking](/docs/exception-tracking.md)
  * [Enable exception auto tracking](/docs/exception-tracking.md#enable-exception-auto-tracking) 
* [Require](/docs/require.md)
* [Set](/docs/set.md)
* [Social interactions](/docs/social-interactions.md)
* [User explorer report](/docs/user-explorer.md)
* [Track multiple accounts](/docs/track-multiple-accounts.md)
* [Analaytics script callback](/docs/when-google-analytics-is-loaded.md)
* [Custom methods](/docs/custom-methods.md)
* [Debug](/docs/debug.md)

# Issues and features requests

Please drop an issue, if you find something that doesn't work, or a feature request at [https://github.com/MatteoGabriele/vue-analytics/issues](https://github.com/MatteoGabriele/vue-analytics/issues)

Follow me on twitter [@matteo\_gabriele](https://twitter.com/matteo_gabriele)
npm package: @picnic-software/vuex
Description: state management for Vue.js
Author: Evan You
Latest version: 2.3.2

# Vuex [![Build Status](https://circleci.com/gh/vuejs/vuex/tree/dev.png?style=shield)](https://circleci.com/gh/vuejs/vuex)

> Centralized State Management for Vue.js.

<p align="center">
  <img width="700px" src="https://raw.githubusercontent.com/vuejs/vuex/dev/docs/en/images/vuex.png">
</p>

- [What is Vuex?](http://vuex.vuejs.org/en/intro.html)
- [Full Documentation](http://vuex.vuejs.org/)

## Examples

- [Counter](https://github.com/vuejs/vuex/tree/dev/examples/counter)
- [Counter with Hot Reload](https://github.com/vuejs/vuex/tree/dev/examples/counter-hot)
- [TodoMVC](https://github.com/vuejs/vuex/tree/dev/examples/todomvc)
- [Flux Chat](https://github.com/vuejs/vuex/tree/dev/examples/chat)
- [Shopping Cart](https://github.com/vuejs/vuex/tree/dev/examples/shopping-cart)

Running the examples:

``` bash
$ npm install
$ npm run dev # serve examples at localhost:8080
```

## License

[MIT](http://opensource.org/licenses/MIT)
npm package: @pico-brief/audio-duration
Description: Get the duration of an audio file in seconds from an ArrayBuffer. Supports MP3, WAV, OGG/Vorbis, FLAC, and AAC/M4A.
Latest version: 1.0.0

# @pico-brief/audio-duration

A lightweight library that tells you how long an audio file is — no dependencies, no native binaries, works in Node.js and the browser.

You give it the raw bytes of an audio file (as an [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer)), and it gives you back the duration in seconds.

**Supported formats:** MP3, WAV, OGG/Vorbis, FLAC, AAC/M4A

---

## Installation

```bash
npm install @pico-brief/audio-duration
```

---

## Usage

### Automatic format detection (recommended)

If you don't know which format the file is, use `getAudioDuration`. It inspects the file's header bytes to figure out the format automatically.

```js
import { getAudioDuration } from '@pico-brief/audio-duration';

const duration = getAudioDuration(arrayBuffer);
console.log(`Duration: ${duration} seconds`);
```

---

### In Node.js — reading a file from disk

```js
import { readFileSync } from 'node:fs';
import { getAudioDuration } from '@pico-brief/audio-duration';

// Read the file into a Node.js Buffer, then convert to ArrayBuffer
const fileBuffer = readFileSync('./song.mp3');
const arrayBuffer = fileBuffer.buffer.slice(
    fileBuffer.byteOffset,
    fileBuffer.byteOffset + fileBuffer.byteLength
);

const duration = getAudioDuration(arrayBuffer);
console.log(`Duration: ${duration} seconds`);
```

---

### In the browser — reading a file chosen by the user

```html
<input type="file" id="picker" accept="audio/*" />
```

```js
import { getAudioDuration } from '@pico-brief/audio-duration';

document.getElementById('picker').addEventListener('change', async (event) => {
    const file = event.target.files[0];
    const arrayBuffer = await file.arrayBuffer();

    const duration = getAudioDuration(arrayBuffer);
    console.log(`Duration: ${duration} seconds`);
});
```

---

### In the browser — reading a remote audio file

```js
import { getAudioDuration } from '@pico-brief/audio-duration';

const response = await fetch('https://example.com/audio/song.flac');
const arrayBuffer = await response.arrayBuffer();

const duration = getAudioDuration(arrayBuffer);
console.log(`Duration: ${duration} seconds`);
```

---

## API

### `getAudioDuration(arrayBuffer)`

Detects the audio format automatically and returns the duration in seconds. Throws an error if the format is not recognized.

```ts
getAudioDuration(arrayBuffer: ArrayBuffer): number
```

### Format-specific functions

If you already know the format, you can call the parser for that format directly:

| Function | Format |
|---|---|
| `getMP3Duration(arrayBuffer)` | MP3 |
| `getWAVDuration(arrayBuffer)` | WAV |
| `getOGGDuration(arrayBuffer)` | OGG / Vorbis / Opus |
| `getFLACDuration(arrayBuffer)` | FLAC |
| `getM4ADuration(arrayBuffer)` | AAC / M4A |

All functions take an `ArrayBuffer` and return a `number` (duration in seconds).

---

## License

MIT
npm package: @pico-mp/web
Description: PicoMP Official Javascript/Typescript Web SDK (Browser)
Latest version: 0.1.4

# @pico-mp/web

Multiplayer SDK for browsers. A few functions — that's all.

```bash
npm install @pico-mp/web
```

## Usage

```ts
import { useCloud, Room } from '@pico-mp/web'

useCloud('your-api-key')

// Create a room
const roomCode = await Room.create({ maxPlayers: 4, public: true })

// Join a room (omit roomCode to auto-match into a public room)
const roomCode = await Room.join('ABCD12')

// Share state with everyone in the room
Room.setData({ phase: 'playing', scores: { alice: 0, bob: 0 } })

// Send a message to a specific player (omit target to broadcast)
Room.send({ action: 'move', x: 1, y: 2 }, targetPlayerId)

// Listen for incoming data
Room.onDataReceived = (senderId, data) => { /* ... */ }
Room.onPeerJoined   = (peerId) => { /* ... */ }
Room.onPeerLeft     = (peerId) => { /* ... */ }

// Leave
Room.leave()
```

## Transports

```ts
useCloud('your-api-key')          // PicoMP Cloud
useLocal('http://localhost:9160') // local server
useMock()                         // offline / no server
```

## Docs

[cloud.pico-mp.com/docs](https://cloud.pico-mp.com/docs)
npm package: @pico-npm/pico-comm
Description: "pico comm component"
Author: welch.luo
Latest version: 0.1.27

### 安装
npm i

### 打包
npm run build

### 发布
npm login ，使用公司注册的npm账号进行登录
登录成功后使用命令npm publish --access public（private）发布，目前使用public

### 生产发布
main分支

### 本地与其它项目联调测试
安装npm i yalc -g

1 更新完成后在pico-comm npm run build 打包
打包成功后运行
yalc pushy

2 在对应项目上运行yalc link @pico-npm/pico-comm 就可以联调了
每次pico-comm更改后都需要运行一下（1）里的两步
（另：使用umi的项目，每次还要删除.umi文件才能实现pico-comm使用更新的文件）

3 另一种与实际项目本地联调的方案
  修改本公共组件完成后，运行npm run build打包，打包好后执行命令yalc push
  然后在实际项目中运行yalc add @pico-npm/pico-comm 安装关联文件(只需要一次就行)

  每次修改公共组件后，只要运行 npm run build打包，打包好后执行命令yalc push即可，不用再yalc add

  当公共组件没问题后，实际项目运行yalc remove @pico-npm/pico-comm 删除联系文件