open-index/open-npm huggingface dataset:
npm package: @personal-lib/video-player
Description: A Plugin of VideoPlayer
Author: hehepeng
Latest version: 1.0.5

# Video-Player

> 视频播放器插件

## effect

![image-20220510175022871](https://gitee.com/open-library/vue-video-player/raw/master/image-20220510175022871.png)

## Install

` npm i @personal-lib/video-player `

` import VideoPlayer from '@personal-lib/video-player' `

` Vue.use(VideoPlayer) `

## Api

```javascript
 <video-player :src="videoUrl" :poster="coverUrl" v-model="currentTime" :muted.sync="muted" :duration="duration"></video-player>
```

* videoUrl 为视频url 必传
* coverUrl 为视频海报
* currentTime 视频当前播放时间点
* muted 是否静音
* duration 视频时长 必传

## Feedback

在使用中有任何问题，欢迎反馈给我

* Email: 3096015076@qq.com
npm package: @personal-lib/vue-markdown-reader
Description: 一款markdown阅读器
Author: 3096015076@qq.com
Latest version: 1.0.9

# vue-markdown-reader

# 引入
```npm
npm i @personal-lib/vue-markdown-reader
```

# 使用
```md
import MarkdownReader from '@personal-lib/vue-markdown-reader'
import '@personal-lib/vue-markdown-reader/lib/theme-chalk/index.css'

Vue.use(MarkdownReader)
```
npm package: @personalhealthtrain/central-common
Description: [![npm version](https://badge.fury.io/js/@personalhealthtrain%2Fcentral-common.svg)](https://badge.fury.io/js/@personalhealthtrain%2Fcentral-common)
Author: Peter Placzek
Latest version: 2.4.0-alpha.18

# Central - Common 🧱

[![npm version](https://badge.fury.io/js/@personalhealthtrain%2Fcentral-common.svg)](https://badge.fury.io/js/@personalhealthtrain%2Fcentral-common)

This repository contains common constants, functions, types, ...
npm package: @personalhealthtrain/central-result-service
Description: This project contains the central Result-Service of the PHT.
Author: Peter Placzek
Latest version: 1.2.0

# UI - Result Service 🏭

[![npm version](https://badge.fury.io/js/@personalhealthtrain%2Fui-result-service.svg)](https://badge.fury.io/js/@personalhealthtrain%2Fui-result-service)

This repository contains the Result Service of the Personal Health Train.
It communicates with some services of the PHT and need therefore to be configured properly, like described 
in the following sections.

## Configuration
The following settings need to be added to the environment file `.env` in the root directory.
```
PORT=<port>
NODE_ENV=development

HARBOR_CONNECTION_STRING=<user>:<password>@<url>
RABBITMQ_CONNECTION_STRING=amqp://<username>:<password>@<host>
REDIS_CONNECTION_STRING=redis://<username>:<password>@<host>
VAULT_CONNECTION_STRING=<token>@<url>/v1/
```

## Credits
If you have any questions, feel free to contact the author [Peter Placzek](https://github.com/Tada5hi) of the project.
The project was initially developed during his bachelor thesis, and he worked after that as employee
on the project.
npm package: @personalhealthtrain/ui-common
Description: [![npm version](https://badge.fury.io/js/@personalhealthtrain%2Fui-common.svg)](https://badge.fury.io/js/@personalhealthtrain%2Fui-common)
Author: Peter Placzek
Latest version: 1.1.0-alpha.19

# UI - Common 📦

[![npm version](https://badge.fury.io/js/@personalhealthtrain%2Fui-common.svg)](https://badge.fury.io/js/@personalhealthtrain%2Fui-common)

This repository contains common constants, functions, types, ... of the Personal Health Train (PHT) UI.
npm package: @personalhealthtrain/ui-result-service
Description: This project contains the Central UI Result Service of PHT.
Author: Peter Placzek
Latest version: 1.1.0-alpha.19

# UI - Result Service 🏭

[![npm version](https://badge.fury.io/js/@personalhealthtrain%2Fui-result-service.svg)](https://badge.fury.io/js/@personalhealthtrain%2Fui-result-service)

This repository contains the Result Service of the Personal Health Train.
It communicates with some services of the PHT and need therefore to be configured properly, like described 
in the following sections.

## Configuration
The following settings need to be added to the environment file `.env` in the root directory.
```
PORT=<port>
NODE_ENV=development

HARBOR_CONNECTION_STRING=<user>:<password>@<url>
RABBITMQ_CONNECTION_STRING=amqp://<username>:<password>@<host>
REDIS_CONNECTION_STRING=redis://<username>:<password>@<host>
VAULT_CONNECTION_STRING=<token>@<url>/v1/
```

## Credits
If you have any questions, feel free to contact the author [Peter Placzek](https://github.com/Tada5hi) of the project.
The project was initially developed during his bachelor thesis, and he worked after that as employee
on the project.
npm package: @personare/react-storybook-decorator-github-corner
Description: Storybook decorator to render the Github corner
Author: Cauê Alves
Latest version: 0.1.5

# react-storybook-decorator-github-corner

> Storybook decorator to render the Github Corner. 

<p align="center">
  <img width="100%" src="https://raw.githubusercontent.com/Personare/react-storybook-decorator-github-corner/master/screenshot.png" alt="Screenshot" />
</p>

## Installation 

```bash
npm install @personare/react-storybook-decorator-github-corner --save-dev
```

## Using globally mode

Inside `.storybook/config.js`

```js
import { configure, addDecorator } from '@kadira/storybook';
import GithubCorner from '@personare/react-storybook-decorator-github-corner';

addDecorator(GithubCorner);

function loadStories() {
  require('../src/Button.story');
}

configure(loadStories, module);
```

*Note: The link of repository is based on pages that are hosted on Github Pages (***.github.io)*

## Examples

* [react-freshdesk-widget](https://personare.github.io/react-freshdesk-widget)

## Related

* [react-github-corner](https://github.com/skratchdot/react-github-corner) - component used by this decorator

## License

[MIT © Personare](./LICENSE)
npm package: @personas/client
Description: Personas client library
Latest version: 0.2.1

# Personas.Space JS client library

This library is a wrapper for [Persons Space](https://personas.space)'s data APIs. It does not actually fetch or return data, it only returns the correct data endpoint for you to use to fetch the data.

This library is published to NPM at: [https://www.npmjs.com/package/@personas/client](https://www.npmjs.com/package/@personas/client).

## Installation

Install using:
```bash
yarn add @personas/client
```
or 
```bash
npm i @personas/client
```

## Usage
```javascript
const { get } = require('@personas/client');

const address = '0x...';
const { avatar, explorer } = get.url(address);

const imgComponent = () => (<img src={avatar.small} />);
const openProfileExplorer = () => window.open(explorer);
// ...
```

## API Docs
See the [Personas docs](https://docs.personas.space/integrations/integrations) for more information.
npm package: @personaspace/context
Description: A package for resolving data mapping using context lists. It supports both node.js and browser environments.
Author: Eric L. Bentley
Latest version: 0.3.7

# PersonaSpace Context
[![CircleCI](https://circleci.com/gh/personaspace/js-context/tree/master.svg?style=svg)](https://circleci.com/gh/personaspace/js-context/tree/master)
[![codecov](https://codecov.io/gh/personaspace/js-context/branch/master/graph/badge.svg)](https://codecov.io/gh/personaspace/js-context)
[![Known Vulnerabilities](https://snyk.io/test/github/personaspace/js-context/master/badge.svg?targetFile=package.json)](https://snyk.io/test/github/personaspace/js-context/master?targetFile=package.json)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

A package for resolving data mapping using context lists. It supports both node.js and browser environments.


## Installation

Install `@personaspace/context` using npm.
```
npm i @personaspace/context
```

## Usage

```ts
import { resolveDataContext, makeDataContext } = from "@personaspace/context"

const resource = "./ebntly/data/notes/test"
const data = require(`${resource}.json`)["@data"]
const context = require(`${resource}.json`)["@context"]

const resolved = resolveDataContext(data, context)
const created = makeDataContext(data, {})
//  created.context may be different from the original context

```

## Documentation
Documentation is located at https://personaspace.github.io/js-context. For issues with the documentation, please 
[Create a new issue](https://github.com/personaspace/js-context/issues/new).

## Contributing to PersonaSpace
PersonaSpace is a large project and [contributors](https://github.com/personaspace/js-context/blob/master/CONTRIBUTORS.md) are welcome. Thank you for your support and efforts!

There are a lot of ways to contribute:

* [Create a new issue](https://github.com/personaspace/js-context/issues/new) to report bugs or request features
* [Fix an issue](https://github.com/personaspace/js-context/issues)

Be sure to look at [CONTRIBUTING.md](https://github.com/personaspace/js-context/blob/master/CONTRIBUTING.md).

## License
PersonaSpace is licensed under [the MIT License](https://github.com/personaspace/js-context/blob/master/LICENSE).
npm package: @personaspace/server-acl
Description: A package for checking resource ACLs on PersonaSpace servers.
Author: Eric L. Bentley
Latest version: 0.1.1

# PersonaSpace Node.js Server ACL
[![CircleCI](https://circleci.com/gh/personaspace/node-server-acl/tree/master.svg?style=svg)](https://circleci.com/gh/personaspace/node-server-acl/tree/master)
[![codecov](https://codecov.io/gh/personaspace/node-server-acl/branch/master/graph/badge.svg)](https://codecov.io/gh/personaspace/node-server-acl)
[![Known Vulnerabilities](https://snyk.io/test/github/personaspace/node-server-acl/master/badge.svg?targetFile=package.json)](https://snyk.io/test/github/personaspace/node-server-acl/master?targetFile=package.json)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

A package for checking resource ACLs on PersonaSpace servers.

PersonaSpace uses a powerful ACL implementation that give an owner unparalleled control over which visitors can interact with their data, where visitors can access their data from, and when visitors can access it. `@personaspace/node-server-acl` uses simple boolean values for access to the data and ACL middleware that can modify an ACL dynamically based on request data, date, time, etc...

*This package provides only the resolution of the ACLs for a given visitor. The [`@personaspace/server-resource`](https://github.com/personaspace/node-server-resource) package handles validation of the visitor's access to the data. The [`@personaspace/server-acl-middleware`](https://github.com/personaspace/node-server-acl-middleware) contains the default ACL middleware.*

## Installation

Install `@personaspace/server-acl` using npm.
```
npm i @personaspace/server-acl
```

## Usage

```js
//  request is the web request on a PersonaSpace server.
const { resolveAcl } = require('@personaspace/server-acl')
const { middleware } = require('@personaspace/server-acl-middleware')

const resource = './ebntly/data/notes/test'
const identity = 'https://ebntly.personaspace.com'

const defaultAcl = require('../support/default-acl.json')
const acl = require(`${resource}.json`)['@acl']
const groups = require('../support/groups.json')


resolveAcl(resourcePath, request, identity, acl, defaultAcl, groups, middleware, (err, resultantPerms) => {
  if(err) throw err
  //  Check resultantPerms
})
```

## Contributing to PersonaSpace
PersonaSpace is a large project and [contributors](https://github.com/personaspace/node-server-acl/blob/master/CONTRIBUTORS.md) are welcome. Thank you for your support and efforts!

There are a lot of ways to contribute:

* [Create a new issue](https://github.com/personaspace/node-server-acl/issues/new) to report bugs or request features
* [Fix an issue](https://github.com/personaspace/node-server-acl/issues)

Be sure to look at [CONTRIBUTING.md](https://github.com/personaspace/node-server-acl/blob/master/CONTRIBUTING.md).

## License
PersonaSpace is licensed under [the MIT License](https://github.com/personaspace/node-server-acl/blob/master/LICENSE).
npm package: @personaspace/server-acl-middleware-ondomain
Description: PersonaSpace Node.js server ACL middleware that prevents/allows access based on the host requesting data.
Author: Eric L. Bentley
Latest version: 0.1.2

# PersonaSpace onDomain ACL Middleware
> **For [Node.js server](https://github.com/personaspace/node)**

[![CircleCI](https://circleci.com/gh/personaspace/node-server-acl-middleware-ondomain/tree/master.svg?style=svg)](https://circleci.com/gh/personaspace/node-server-acl-middleware-ondomain/tree/master)
[![codecov](https://codecov.io/gh/personaspace/node-server-acl-middleware-ondomain/branch/master/graph/badge.svg)](https://codecov.io/gh/personaspace/node-server-acl-middleware-ondomain)
[![Known Vulnerabilities](https://snyk.io/test/github/personaspace/node-server-acl-middleware-ondomain/master/badge.svg?targetFile=package.json)](https://snyk.io/test/github/personaspace/node-server-acl-middleware-ondomain/master?targetFile=package.json)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

Node.js server ACL middleware that prevents/allows access based on the host requesting data.

## Installation

Install `@personaspace/server-acl-middleware-ondomain` using npm.
```
npm i @personaspace/server-acl-middleware-ondomain
```

## Usage

```ts
//  "request" is the web request on a PersonaSpace server.
import { resolveAcl } from "@personaspace/server-acl";
import { onDomain } from "@personaspace/server-acl-middleware-ondomain";

const resource = "./ebntly/data/notes/test";
const identity = "https://ebntly.personaspace.com";
const defaultAcl = require("../support/default-acl.json");
const acl = require(`${resource}.json`)["@acl"];
const groups = require("../support/groups.json");
const middleware = [onDomain];

resolveAcl({
    acl,
    defaultAcl,
    groups,
    identity,
    resourcePath, 
    request
}, middleware, (err, resultantPerms) => {
  if(err) throw err;
  //  Check resultantPerms
});
```

## Documentation
Documentation is located at https://personaspace.github.io/node-server-acl-middleware-ondomain. 
For issues with the documentation, please 
[Create a new issue](https://github.com/personaspace/node-server-acl-middleware-ondomain/issues/new).


## Contributing to PersonaSpace
PersonaSpace is a large project and [contributors](https://github.com/personaspace/node-server-acl-middleware-ondomain/blob/master/CONTRIBUTORS.md) are welcome. Thank you for your support and efforts!

There are a lot of ways to contribute:

* [Create a new issue](https://github.com/personaspace/node-server-acl-middleware-ondomain/issues/new) to report bugs or request features
* [Fix an issue](https://github.com/personaspace/node-server-acl-middleware-ondomain/issues)

Be sure to look at [CONTRIBUTING.md](https://github.com/personaspace/node-server-acl-middleware-ondomain/blob/master/CONTRIBUTING.md).

## License
PersonaSpace is licensed under [the MIT License](https://github.com/personaspace/node-server-acl-middleware-ondomain/blob/master/LICENSE).
npm package: @personaspace/server-acl-middleware-types
Description: A collection of types for Node.js server ACL middleware
Author: Eric L. Bentley
Latest version: 0.1.4

# PersonaSpace ACL Middleware Types
> **For [Node.js server](https://github.com/personaspace/node)**

[![CircleCI](https://circleci.com/gh/personaspace/node-server-acl-middleware-types/tree/master.svg?style=svg)](https://circleci.com/gh/personaspace/node-server-acl-middleware-types/tree/master)

Node.js server ACL middleware types

## Installation

Install `@personaspace/server-acl-middleware-types` using npm.
```
npm i @personaspace/server-acl-middleware-types
```

## Documentation
Documentation is located at https://personaspace.github.io/node-server-acl-middleware-types. 
For issues with the documentation, please 
[Create a new issue](https://github.com/personaspace/node-server-acl-middleware-types/issues/new).


## Contributing to PersonaSpace
PersonaSpace is a large project and [contributors](https://github.com/personaspace/node-server-acl-middleware-types/blob/master/CONTRIBUTORS.md) are welcome. Thank you for your support and efforts!

There are a lot of ways to contribute:

* [Create a new issue](https://github.com/personaspace/node-server-acl-middleware-types/issues/new) to report bugs or request features
* [Fix an issue](https://github.com/personaspace/node-server-acl-middleware-types/issues)

Be sure to look at [CONTRIBUTING.md](https://github.com/personaspace/node-server-acl-middleware-types/blob/master/CONTRIBUTING.md).

## License
PersonaSpace is licensed under [the MIT License](https://github.com/personaspace/node-server-acl-middleware-types/blob/master/LICENSE).