open-index/open-npm huggingface dataset:
npm package: @openreplay/tracker-vuex
Description: Tracker plugin for Vuex state recording
Author: Alex Tsokurov
Latest version: 4.0.3

# OpenReplay Tracker Vuex plugin
A Vuex plugin for OpenReplay Tracker. This plugin allows you to see the application state during session replay.

## Installation
```bash
npm i @openreplay/tracker-vuex
```

## Usage
Initialize the `@openreplay/tracker` package as usual and load the plugin into it.
Then put the generated plugin into your `plugins` field of your store.

```js
import Vuex from 'vuex'
import Tracker from '@openreplay/tracker';
import trackerVuex from '@openreplay/tracker-vuex';

const tracker = new Tracker({
  projectKey: YOUR_PROJECT_KEY,
});

const store = new Vuex.Store({
  // ...
  plugins: [tracker.plugin(trackerVuex())],
});
```

You can customize the plugin behavior with options to sanitize your data. They are similar to the ones from the standard `createLogger` plugin.

```js
trackerVuex({
  filter (mutation, state) {
    // returns `true` if a mutation should be logged
    // `mutation` is a `{ type, payload }`
    return mutation.type !== "aBlacklistedMutation";
  },
  transformer (state) {
    // transform the state before logging it.
    // for example return only a specific sub-tree
    return state.subTree;
  },
  mutationTransformer (mutation) {
    // mutations are logged in the format of `{ type, payload }`
    // we can format it any way we want.
    return mutation.type;
  },
})
```
npm package: @openreplay/tracker-zustand
Description: Tracker plugin for Zustand state recording
Author: Nikita Melnikov
Latest version: 1.1.1

# OpenReplay Tracker Zustand plugin
A Zustand plugin for OpenReplay Tracker. This plugin allows you to see the application state during session replay.

## Installation
```bash
npm i @openreplay/tracker-zustand
```

## Usage
Initialize the `@openreplay/tracker` package as usual and load the plugin into it.
Then put the generated plugin into your `plugins` field of your store.

```ts
import create from "zustand";
import Tracker from '@openreplay/tracker';
import trackerZustand, { StateLogger } from '@openreplay/tracker-zustand';


const tracker = new Tracker({
  projectKey: YOUR_PROJECT_KEY,
});

// as per https://docs.pmnd.rs/zustand/guides/typescript#middleware-that-doesn't-change-the-store-type
// cast type to new one
// but this seems to not be required and everything is working as is
const zustandPlugin = tracker.use(trackerZustand()) as unknown as StateLogger


const useBearStore = create(
  zustandPlugin((set: any) => ({
    bears: 0,
    increasePopulation: () => set((state: any) => ({ bears: state.bears + 1 })),
    removeAllBears: () => set({ bears: 0 }),
  }),
    // store name is optional
    // and is randomly generated if undefined
  'bear_store'
  )
)

```

You can customize the plugin behavior with options to sanitize your data. They are similar to the ones from the standard `createLogger` plugin.

```js
trackerZustand({
  filter (mutation, state) {
    // returns `true` if a mutation should be logged
    // `mutation` is a `{ type, payload }`
    return mutation.type !== "aBlacklistedMutation";
  },
  transformer (state) {
    // transform the state before logging it.
    // for example return only a specific sub-tree
    return state.subTree;
  },
  mutationTransformer (mutation) {
    // mutations are logged in the format of `{ type, payload }`
    // we can format it any way we want.
    return mutation.type;
  },
})
```
npm package: @openreply/emw-health-check
Description: express middleware enables health checks for your service
Author: “Dominik Riedel
Latest version: 2.0.3

# Health Check Express Middleware

Health checks are one of the most essential features when it comes to distributed systems. This package provides an express middleware that enables an health checker (e.g. load balancer) to sequentially monitor the health of your service via REST API. Therefor this middleware enables an API endpoint to provide steady information about the health of your service. By default the health endpoint will be provided under `GET /health`.     

If the express server is running and reachable the middleware will provide and success answer (HTTP Status: 200) with information regarding the service (e.g. service name, environment variables, ...). This middleware also listens on all outgoing responses and provides works as a circuit breaker for the service if any endpoint is steadily responding with HTTP Status 500.
 
By default the healthCheck middleware will listen on every HTTP endpoint registred to the express app. 
  
## Getting Started

### Installing

you can install this package via npm

`npm i @openreply/emw-health-check`

### Usage

Simply add this module to your middleware chain

```javascript
app.use(healthCheck({ serviceName: 'testService' }));
```

See the following usage example

```javascript
/* eslint-disable import/no-extraneous-dependencies */
const request = require('request');
const express = require('express');
/* eslint-enable import/no-extraneous-dependencies */
const healthCheck = require('@openreply/emw-health-check');

const app = express();

// initializes our healthCheck middleware. will also set the trace header on
// the response object by default
app.use(healthCheck({ serviceName: 'testService' }));

app.listen(3000, () => {
  // eslint-disable-next-line no-console
  console.log('Example app listening on port 3000!');
});

```

## Running the tests

You can run the test suite via

`npm test`

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://bitbucket.org/openreply-de/emw-health-check). 

## Authors

* **Dominik Riedel** - *Initial work* - [openreply-de](https://bitbucket.org/openreply-de/emw-health-check)

See also the list of [authors](AUTHORS.md) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## References

- Information on [CircuitBreaker](https://martinfowler.com/bliki/CircuitBreaker.html) Pattern
npm package: @openreply/emw-oas-router
Description: ```javascript const router = require('@openreply/emw-oas-router'); const express = require('express');
Author: “Florian
Latest version: 1.0.0

# openapi 3.x express router middleware

```javascript
const router = require('@openreply/emw-oas-router');
const express = require('express');

const app = express();

// eslint-disable-next-line global-require
app.use(router({ specification: require('./specification/api.json') }));

app.listen(3000);
```
npm package: @openreview/client
Description: Node.js client library for OpenReview's academic publishing API
Author: OpenReview
Latest version: 0.0.49

# OpenReview Node.js Client

A JavaScript client for the OpenReview API. This client provides methods for communicating with the OpenReview server, including authentication, CRUD (create, read, update, delete) operations on notes, profiles, groups, invitations, edges, and messages, and profiles.

## Running Tests Locally

To run the tests locally, you'll need to set up the following prerequisites:

### Prerequisites

1. Node.js (versions 20.x or 22.x)
2. Redis (v7.x)
3. MongoDB (v8.0) with replica set
4. Elasticsearch (v7.6.0)
5. Python (for openreview-py)

### Setup Instructions

1. **Start MongoDB with replica set**
   ```bash
   mongod --replSet rs0 --dbpath <your_db_path>
    ```

   **Start the MongoDB shell and initiate the replica set**
   ```bash
   mongo --eval 'rs.initiate()'
   ```
2. **Start Redis**
3. **Start Elasticsearch**
4. **Clone openreview-py**
   ```bash
   git clone https://github.com/openreview/openreview-py.git
   cd openreview-py
   pip install -e .
   cd ..
   ```
5. **Clone openreview-api**
   ```bash
    git clone https://github.com/openreview/openreview-api.git
    cd openreview-api
    mkdir -p logs files/attachments files/pdfs files/temp
    npm ci
    npm run cleanStartJS &
    cd ..
    ```
6. **Run the Tests**
    ```bash
    npm run test
    ```
npm package: @openreviewtool/complib
Description: This ui library intend to be use to build a review system, featuring:
Author: Tommy Zhu
Latest version: 0.2.47

# Component library for open review tool

This ui library intend to be use to build a review system, featuring:

- Annotation Canvas
- PanZoom
- Video Player
- Timeline
- ...more to come

See the library in action in our [Storybook demo](https://openreviewtool.github.io/complib)!

https://annotatum.com is a showcase of what you can do with this library, it allows you to annotate on web videos and images and share your thoughts with your friends.


Install the package from npm:

```
npm install @openreviewtool/complib
```

or

```
yarn add @openreviewtool/complib
```

The following libraries are required:

```
react-player fabric uuid
```

The following libraries are required for the UI

```
mui react-color
```

## Credits

- Typescript Project Boilerplate: [@vijayt/counter](https://vijayt.com/post/boilerplate-for-publishing-components-with-a-storybook/) template.
- Github actions: pascalgn/npm-publish-action, JamesIves/github-pages-deploy-action
- Libraries: [Fabricjs](http://fabricjs.com/), [React-Player](https://www.npmjs.com/package/react-player)