open-index/open-npm huggingface dataset:
npm package: @guivic/eslint-config-guivic
Description: Offical Guivic javascript norm that extends the Airbnb style.
Author: lludol
Latest version: 0.3.1

# eslint-config-guivic

[![dependencies status](https://david-dm.org/guivic/eslint-config/status.svg)](https://david-dm.org/guivic/eslint-config#info=dependencies)
[![dev-dependencies status](https://david-dm.org/guivic/eslint-config/dev-status.svg)](https://david-dm.org/guivic/eslint-config#info=devDependencies)
[![Build Status](https://travis-ci.org/guivic/eslint-config.svg?branch=master)](https://travis-ci.org/guivic/eslint-config)
[![npm version](https://badge.fury.io/js/%40guivic%2Feslint-config-guivic.svg)](https://badge.fury.io/js/%40guivic%2Feslint-config-guivic)

Offical Guivic javascript norm that extends the Airbnb style.

## Install

### With npm
```bash
npm install --save-dev eslint eslint-config-guivic
```

### With yarn
```bash
yarn add --dev eslint eslint-config-guivic
```

## Usage

Add this to your .eslintrc:

```json
{
  "extends": "eslint-config-guivic"
}
```

The [official documentation](http://eslint.org/docs/developer-guide/shareable-configs).
The [Airbnb's ESLint configuration](https://github.com/airbnb/javascript).
npm package: @guivic/fastify-bull
Description: Fastify plugin to use easily Bull.
Author: lludol
Latest version: 0.0.6

# @guivic/fastify-bull
[![dependencies status](https://david-dm.org/guivic/fastify-bull/status.svg)](https://david-dm.org/guivic/fastify-bull#info=dependencies)
[![dev-dependencies status](https://david-dm.org/guivic/fastify-bull/dev-status.svg)](https://david-dm.org/guivic/fastify-bull#info=devDependencies)
![Node.js CI](https://github.com/guivic/fastify-bull/workflows/Node.js%20CI/badge.svg)


Use bull queues from your fastify application. Utilize fastify decorators to access shared connections, logger etc.

## Installation

```bash
npm install @guivic/fastify-bull --save

yarn add @guivic/fastify-bull
```

## Usage

### Queue Handler

An example queue handler.

```js
// queues/example.queue.js

const name = 'example';
function handler(server, job, done) { // Can also be an async handler
  /* queue processing logic here */
  done()
}

module.exports = {
  name,
  handler,
};
```

### Adding to fastify


```js
const fastify = require('fastify');

const server = fastify();

server.register(require('fastify-bull'), {
  paths: 'queues/**/*.queue.js', // Where to look for queues files
})

const start = async () => {
  try {
    await server.listen(3000, "0.0.0.0");

    // add an item to the queue (more information on Bull documentation)
    server.queues['example'].add({ hello: 'world' }, { priority: 1 });

  } catch (err) {
    console.log(err);
    server.log.error(err);
    process.exit(1);
  }
};

start();
```

### Adding a task to the queue

```ts
fastify.queues['my-queue'].add({ data: 'some data' });
```

## Options

* `paths: <String | Array>`  specify folder where queue handlers are present.
* `redisUrl: <String>` The Redis url connection.
* `onFailed: <Function>` Queue handler on "failed" event (by default will log with the fastify logger)
* `onError: <Function>` Queue handler on "error" event (by default will log with the fastify logger)

## Informations

### Bull and Heroku

I use [ioredis](https://github.com/luin/ioredis) for the Redis conneciton. It's preconfigured to share the Redis connection across queues. It's really usefull on environment like Heroku where you have connection limits.

## Author

Ludovic Lérus from [Guivic](https://guivic.io)

Thanks to [Jerry Thomas](https://github.com/jerrythomas) for his fork

## TODO

- Add the support of fastify-redis
- Add the support of Redis connection Object as options
- Find a way to let people configure the way bull will handle the redis connection
- Add the support for nested directory
- Add default parameters for paths
- Remove the fast-glob dep?

## License

Licensed under [MIT](./LICENSE).
npm package: @guivic/metadata-module
Description: Easy way to use metadata to share across components (using Vuex)
Author: Guivic
Latest version: 0.0.3

# 📦 Metadata Module
[![dependencies status](https://david-dm.org/guivic/fastify-socket.io/status.svg)](https://david-dm.org/guivic/fastify-socket.io#info=dependencies)
[![dev-dependencies status](https://david-dm.org/guivic/fastify-socket.io/dev-status.svg)](https://david-dm.org/guivic/fastify-socket.io#info=devDependencies)
[![Build Status](https://travis-ci.org/guivic/fastify-socket.io.svg?branch=master)](https://travis-ci.org/guivic/fastify-socket.io)
[![npm version](https://badge.fury.io/js/%40guivic%2Ffastify-socket.io-guivic.svg)](https://badge.fury.io/js/%40guivic%2Ffastify-socket.io-guivic)

> Easy metadata service system integration with Nuxt.js and Vuex

## ✅ Features

✓ Exposes `set` function to easily share metadatas across all components (sharing a color for a theme for expose)

✓ Exposes `get` function so you can bind reactivity based on a metadata update

## Installation

```bash
npm install @guivic/metadata-module --save

yarn add @guivic/metadata-module
```

## Usage

```javascript
// nuxt.config.js

	/*
	** Nuxt.js modules
	*/
	modules: [
		'@guivic/metadata-module',
	]
  

  // component.vue
  $metadata.set({
      key: 'value'
  });
  
  $metadata.get()
  
  // { key: 'value' }
```

## Development

1. Clone this repository
2. Install dependencies using `yarn` or `npm install`
3. Start development server using `yarn dev` or `npm run dev`

## Author

Guillaume Galas from [Guivic](https://guivic.io)

## 📑 License

[MIT License](./LICENSE)

Copyright (c) Guivic
npm package: @guivic/vue-segment
Description: A Vue.js project
Author: Guillaume Galas
Latest version: 0.0.2

## Vue Segment [![Build Status](https://travis-ci.org/guivic/vue-segment.svg?branch=master)](https://travis-ci.org/guivic/vue-segment) [![Maintainability](https://api.codeclimate.com/v1/badges/3cb3b8e2edaee9439857/maintainability)](https://codeclimate.com/github/guivic/vue-segment/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/3cb3b8e2edaee9439857/test_coverage)](https://codeclimate.com/github/guivic/vue-segment/test_coverage)

A [vue](https://fr.vuejs.org/index.html) 2.0 plugin for the Segment Analytics.

```js
// In your main.js
import VueSegment from 'vue-segment';

Vue.use(VueSegment);

// In your components
this.$segment.track({
	event: 'visit my page',
	awesome: true,
});
```

## Installation

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/).

Installation is done using the

```bash
$ yarn add @guivic/vue-segment
```

```bash
$ npm install @guivic/vue-segment
```

## Features

  * Auto generate an anonymousId if userId is not provided and add it to the localStorage
  * Add the userId to localStorage once provided with the identify method
  * Focus on high performance
  * Super-high test coverage
  * Super easy to use

### Security Issues

If you discover a bug in Vue Segment, please open an issue.

## Quick Start

  Install the plugin:

```bash
$ yarn add @guivic/vue-segment
```

  Install the plugin into Vue:

```js
import VueSegment from 'vue-segment';

Vue.use(VueSegment); // Use process.env.SEGMENT_WRITE_KEY by default for the Segment write key
```

  But you can provide it if you want:

```js
import VueSegment from 'vue-segment';

Vue.use(VueSegment, { writeKey: '12346789AZERTYUIOPQSDFGHJKLM' });
```


  You can also provide the path where the anonymousId and userId can be stored/retrieved:

```js
import VueSegment from 'vue-segment';

Vue.use(VueSegment, { anonymousIdStoragePath: 'analytics-segment-id', userIdStoragePath: 'analytics-user-id' });
```

  Add this into any methods, like when someone click on a button, of your components:

```js
this.$segment.track({
	event: 'visit my page',
	awesome: true,
});
```

  If your user logging in, you can identify him:

```js
this.$segment.identify({
	event: 'Authentification',
	method: 'Facebook',
	userId: 'XYUIHH789OIUHKOIUHBF4567' // Likely the ID in your database
});
```

## Tests

  To run the test suite, first install the dependencies, then run `npm test`:

```bash
$ npm install
$ npm test
```

## People

The author of Vue Segment is [Guillaume Galas](https://github.com/guillaume-g)

## License

  [MIT](LICENSE)
  
## TO DO

  * Vuex integration for retrieving userId on logging
  * userId location can retrieve a object, so it must be possible to access one attributes from it
npm package: @guivieiras/capacitor-app-analytic
Description: UXCam and FullStory app analytics
Author: Bharani
Latest version: 0.0.6

[![npm version](https://badge.fury.io/js/%40clipboardhealth%2Fcapacitor-app-analytics@2x.png)](https://badge.fury.io/js/%40clipboardhealth%2Fcapacitor-app-analytics)

# capacitor-app-analytics

Capacitor plugin for [UXCam](https://uxcam.com/) and [FullStory](https://www.fullstory.com/) analytics. It uses UXCam for Android and iOS platforms and FullStory for Web/PWA.

## Installation

```
npm i @clipboardhealth/capacitor-app-analytics
```

### Android Configuration

In file `android/app/src/main/java/**/**/MainActivity.java`, add the plugin to the initialization list:

```
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
  [...]
  add(health.clipboard.analytics.app.capacitor.CapacitorAppAnalytics.class);
  [...]
}});
```

In file `android/app/src/main/AndroidManifest.xml`, add the following XML elements under `<manifest><application>` :

```
<service android:name="com.uxcam.service.HttpPostService"/>
```

### iOS Configuration

None

### Web

Paste your FullStory snippet in the `<head>`.

More information can be found here: [https://help.fullstory.com/hc/en-us/articles/360020623514-How-do-I-get-FullStory-up-and-running-on-my-site-](https://help.fullstory.com/hc/en-us/articles/360020623514-How-do-I-get-FullStory-up-and-running-on-my-site-)

## Methods

### startWithKey(options: { UXCamKey: string })

Starts tracking the session

```
Plugins.CapacitorAppAnalytics.startWithKey({ UXCamKey: 'your_uxcam_api_key' })
```

### setUserProperty(options: UserProperty)

Sets the user property of the session user

```
Plugins.CapacitorAppAnalytics.setUserProperty({
    userId: '$userId',
    name: 'name,
    userInfo: {
      ...extra properties of the user
    },
  })

```

### tagScreenName(options: { screenName: string })

Track the name of the screen

```
Plugins.CapacitorAppAnalytics.tagScreenName({ screenName: 'LoginScreen' })
```

### stopSession()

Stops the current session

```
Plugins.CapacitorAppAnalytics.stopSession()
```
npm package: @guivieiras/capacitor-app-analytics
Description: UXCam and FullStory app analytics
Author: Bharani
Latest version: 0.0.6

[![npm version](https://badge.fury.io/js/%40clipboardhealth%2Fcapacitor-app-analytics@2x.png)](https://badge.fury.io/js/%40clipboardhealth%2Fcapacitor-app-analytics)

# capacitor-app-analytics

Capacitor plugin for [UXCam](https://uxcam.com/) and [FullStory](https://www.fullstory.com/) analytics. It uses UXCam for Android and iOS platforms and FullStory for Web/PWA.

## Installation

```
npm i @clipboardhealth/capacitor-app-analytics
```

### Android Configuration

In file `android/app/src/main/java/**/**/MainActivity.java`, add the plugin to the initialization list:

```
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
  [...]
  add(health.clipboard.analytics.app.capacitor.CapacitorAppAnalytics.class);
  [...]
}});
```

In file `android/app/src/main/AndroidManifest.xml`, add the following XML elements under `<manifest><application>` :

```
<service android:name="com.uxcam.service.HttpPostService"/>
```

### iOS Configuration

None

### Web

Paste your FullStory snippet in the `<head>`.

More information can be found here: [https://help.fullstory.com/hc/en-us/articles/360020623514-How-do-I-get-FullStory-up-and-running-on-my-site-](https://help.fullstory.com/hc/en-us/articles/360020623514-How-do-I-get-FullStory-up-and-running-on-my-site-)

## Methods

### startWithKey(options: { UXCamKey: string })

Starts tracking the session

```
Plugins.CapacitorAppAnalytics.startWithKey({ UXCamKey: 'your_uxcam_api_key' })
```

### setUserProperty(options: UserProperty)

Sets the user property of the session user

```
Plugins.CapacitorAppAnalytics.setUserProperty({
    userId: '$userId',
    name: 'name,
    userInfo: {
      ...extra properties of the user
    },
  })

```

### tagScreenName(options: { screenName: string })

Track the name of the screen

```
Plugins.CapacitorAppAnalytics.tagScreenName({ screenName: 'LoginScreen' })
```

### stopSession()

Stops the current session

```
Plugins.CapacitorAppAnalytics.stopSession()
```
npm package: @guizhan/eslint-config
Description: `@guizhan/eslint-config`
Author: ybw0014
Latest version: 0.2.2

# ESlint Config

`@guizhan/eslint-config`

## Install

```bash
npm install @guizhan/eslint-config --save-dev
```

## Usage

```js
// .eslintrc.js
{
  'extends': [
    '@guizhan/eslint-config'
  ]
}
```
npm package: @guizioliveira/eslint-config
Description: Lint configuration for Javascript ecosystem projects
Author: Guilherme de Oliveira
Latest version: 1.0.3

# ESLint config
The linter configuration that I use in my projects. 

## Setup
### Install dependencies:
```
npm i -D eslint @guizioliveira/eslint-config
```
### On React applications:
Add to your `eslintrc.json` file:
```
{
  "extends": [
    "@guizioliveira/eslint-config/react", 
  ]
}
```
npm package: @gujiahe233/vending-mcp-server
Description: MCP server for parsing vending machine transaction queries
Author: gujiahe233
Latest version: 1.1.0

# Vending MCP Server

A simple MCP server for parsing vending machine transaction queries using npx.

## Features

- Parse natural language queries about vending transactions
- Extract trade numbers, product names, dates, amounts
- Generate API calls for transaction photos
- Support for both English and Chinese queries

## Quick Start with npx

```bash
# Install dependencies
npm install

# Test locally
node index.js

# Or run with npx after publishing
npx @gujiahe233/vending-mcp-server
```

## MCP Configuration

### Option 1: Using npx (Recommended)
```json
{
  "mcpServers": {
    "vending-transaction": {
      "type": "stdio",
      "command": "npx",
      "args": ["@gujiahe233/vending-mcp-server"]
    }
  }
}
```

### Option 2: Using npm exec (Alternative)
```json
{
  "mcpServers": {
    "vending-transaction": {
      "type": "stdio",
      "command": "npm",
      "args": ["exec", "@gujiahe233/vending-mcp-server"]
    }
  }
}
```

**Note**: Both methods work identically. Use `npx` if available, or `npm exec` as a fallback.

## Example Queries

- "Show me trade number 1721202505085467000010100569"
- "Find my Coca-Cola purchases from last week"
- "查询我的可乐购买记录" (Chinese)
- "Show me transactions over 5 yuan"

## Tools Available

1. **parse_transaction_query** - Parse natural language queries
2. **get_transaction_photo** - Get transaction photos by trade number

## Publishing to npm

```bash
# Login to npm
npm login

# Publish the package
npm publish
```

Then users can run it with:
```bash
npx vending-mcp-server
```

Simple and clean!