open-index/open-npm huggingface dataset:
npm package: @heotaein/node-rtsp-stream
Description: node-rtsp-stream ================
Author: David Jsa
Latest version: 0.1.4

node-rtsp-stream
================

Stream any RTSP stream and output to websocket for consumption by [jsmpeg](https://github.com/phoboslab/jsmpeg). HTML5 streaming video! (Requires ffmpeg)

Usage:

```
$ npm install @heotaein/node-rtsp-stream
```

On server:
```
Stream = require('node-rtsp-stream')
stream = new Stream({
  name: 'name',
  streamUrl: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov',
  wsPort: 9999,
  ffmpegOptions: { // options ffmpeg flags
    '-stats': '', // an option with no neccessary value uses a blank string
    '-r': 30 // options with required values specify the value after the key
  }
})
    
```

On client:
```
<html>
<body>
	<canvas id="canvas"></canvas>
</body>

<script type="text/javascript" src="jsmpeg.min.js"></script>
<script type="text/javascript">
	player = new JSMpeg.Player('ws://localhost:9999', {
	  canvas: document.getElementById('canvas') // Canvas should be a canvas DOM element
	})	
</script>
</html>
```

For more information on how to use jsmpeg to stream video, visit https://github.com/phoboslab/jsmpeg

Please note that framerate from cameras must be greater than or equal to 15fps for mpeg1 encoding, otherwise ffmpeg errors will prevent video encoding to occur. If you have a camera with advanced configuration options, make sure it streams video at a recommended 25fps.
npm package: @heppi_br/flydrive-gcs
Description: Google Cloud Storage driver for @slynova/flydrive
Author: Romain Lanz
Latest version: 0.0.3

<p align="center">
  <img src="https://user-images.githubusercontent.com/2793951/54391096-418f4500-46a4-11e9-8d0c-b00ff7ba4198.png" alt="flydrive">
</p>

<p align="center">
  <a href="https://www.npmjs.com/package/@slynova/flydrive-gcs"><img src="https://img.shields.io/npm/dm/@slynova/flydrive-gcs.svg?style=flat-square" alt="Download"></a>
  <a href="https://www.npmjs.com/package/@slynova/flydrive-gcs"><img src="https://img.shields.io/npm/v/@slynova/flydrive-gcs.svg?style=flat-square" alt="Version"></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/npm/l/@slynova/flydrive-gcs.svg?style=flat-square" alt="License"></a>
</p>

`flydrive` is a framework-agnostic package which provides a powerful wrapper to manage file Storage in [Node.js](https://nodejs.org).

This package is the driver for Google Cloud Storage.

---

## Getting Started

This package is available in the npm registry.
It can easily be installed with `npm` or `yarn`.

```bash
$ npm i @slynova/flydrive-gcs
# or
$ yarn add @slynova/flydrive-gcs
```

```javascript
const { GoogleCloudStorage } = require('@slynova/flydrive-gcs');
const { StorageManager } = require('@slynova/flydrive');
const storage = new StorageManager({
  // ...

  gcs: {
    driver: 'gcs',
    config: {
      keyFilename: process.env.GCS_KEYFILENAME,
      bucket: process.env.GCS_BUCKET,
    },
  },
});

storage.registerDriver('gcs', GoogleCloudStorage);
```
npm package: @heppi_br/flydrive-s3
Description: AWS S3 driver for @slynova/flydrive
Author: Romain Lanz
Latest version: 0.0.3

<p align="center">
  <img src="https://user-images.githubusercontent.com/2793951/54391096-418f4500-46a4-11e9-8d0c-b00ff7ba4198.png" alt="flydrive">
</p>

<p align="center">
  <a href="https://www.npmjs.com/package/@slynova/flydrive-s3"><img src="https://img.shields.io/npm/dm/@slynova/flydrive-s3.svg?style=flat-square" alt="Download"></a>
  <a href="https://www.npmjs.com/package/@slynova/flydrive-s3"><img src="https://img.shields.io/npm/v/@slynova/flydrive-s3.svg?style=flat-square" alt="Version"></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/npm/l/@slynova/flydrive-s3.svg?style=flat-square" alt="License"></a>
</p>

`flydrive` is a framework-agnostic package which provides a powerful wrapper to manage file Storage in [Node.js](https://nodejs.org).

This package is the driver for Amazon S3 and other compatible services.

---

## Getting Started

This package is available in the npm registry.
It can easily be installed with `npm` or `yarn`.

```bash
$ npm i @slynova/flydrive-s3
# or
$ yarn add @slynova/flydrive-s3
```

```javascript
const { AmazonWebServicesS3Storage } = require('@slynova/flydrive-s3');
const { StorageManager } = require('@slynova/flydrive');
const storage = new StorageManager({
  // ...

  s3: {
    driver: 's3',
    config: {
      key: process.env.S3_KEY,
      endpoint: process.env.S3_ENDPOINT,
      secret: process.env.S3_SECRET,
      bucket: process.env.S3_BUCKET,
      region: process.env.S3_REGION,
    },
  },
});

storage.registerDriver('s3', AmazonWebServicesS3Storage);
```
npm package: @heppokofrontend/flat-deep
Description: Completely flattens the iterable object.
Author: heppokofrontend
Latest version: 0.2.4

# @heppokofrontend/flat-deep

[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Published on NPM](https://img.shields.io/npm/v/@heppokofrontend/flat-deep.svg)](https://www.npmjs.com/package/@heppokofrontend/flat-deep) ![test workflow](https://github.com/heppokofrontend/flat-deep/actions/workflows/ci.yml/badge.svg)
 [![](https://data.jsdelivr.com/v1/package/npm/@heppokofrontend/flat-deep/badge)](https://www.jsdelivr.com/package/npm/@heppokofrontend/flat-deep) [![Maintainability](https://api.codeclimate.com/v1/badges/bacf4dcc44135e8ef5ec/maintainability)](https://codeclimate.com/github/heppokofrontend/flat-deep/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/bacf4dcc44135e8ef5ec/test_coverage)](https://codeclimate.com/github/heppokofrontend/flat-deep/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/npm/@heppokofrontend/flat-deep/badge.svg)](https://snyk.io/test/npm/@heppokofrontend/flat-deep)
 [![@heppokofrontend/flat-deep](https://snyk.io/advisor/npm-package/@heppokofrontend/flat-deep/badge.svg)](https://snyk.io/advisor/npm-package/@heppokofrontend/flat-deep)


The `flatDeep()` method creates a new array with all sub-iterables elements concatenated into it recursively up.

## Usage

Installation:

```shell
npm install --save @heppokofrontend/flat-deep
```

Example: 

```javascript
import { flatDeep } from '@heppokofrontend/flat-deep';

const map = new Map();
const set = new Set();
const arr = [
  0,
  'hoge',
  [
    1,
    2,
    [
      set,
      map,
    ],
  ],
  6,
];

set.add(3);
map.set(4, [5]);

console.log(flatDeep(arr)); // > [0, 'hoge', 1, 2, 3, 4, 5, 6]
```

## Syntax

```ts
flatDeep(iterable, options);
```

### Parameters

#### `iterable`

The iterable object to be flattened.

For Example:

- Array
- Set
- Map
- NodeList
- HTMLCollection

#### `options`

|property|type|default|required|description|
|---|:-:|:-:|:-:|---|
|`stringIgnore`|`boolean`|`true`|none|Whether to ignore the string type.|
|`circularReferenceToJson`|`boolean`|`false`|none|If a circular reference is found, convert it to JSON without ignoring it. The circular reference will be replaced by the string `[Circular]` (see [fast-safe-stringify](https://www.npmjs.com/package/fast-safe-stringify)).|

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License

MIT
npm package: @heppokofrontend/html-entity
Description: Encodes and decodes an HTML Entity.
Author: heppokofrontend
Latest version: 0.1.1

# @heppokofrontend/html-entity

[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Published on NPM](https://img.shields.io/npm/v/@heppokofrontend/html-entity.svg)](https://www.npmjs.com/package/@heppokofrontend/html-entity) [![](https://data.jsdelivr.com/v1/package/npm/@heppokofrontend/html-entity/badge)](https://www.jsdelivr.com/package/npm/@heppokofrontend/html-entity) [![Maintainability](https://api.codeclimate.com/v1/badges/1dad8f583434d9231b36/maintainability)](https://codeclimate.com/github/heppokofrontend/html-entity/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/1dad8f583434d9231b36/test_coverage)](https://codeclimate.com/github/heppokofrontend/html-entity/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/npm/@heppokofrontend/html-entity/badge.svg)](https://snyk.io/test/npm/@heppokofrontend/html-entity)
 [![@heppokofrontend/html-entity](https://snyk.io/advisor/npm-package/@heppokofrontend/html-entity/badge.svg)](https://snyk.io/advisor/npm-package/@heppokofrontend/html-entity)


Encodes and decodes an HTML Entity.

## Usage

Installation:

```shell
npm install --save @heppokofrontend/html-entity
```

Example: 

```javascript
import { encodeHTMLEntities, decodeHTMLEntities } from '@heppokofrontend/html-entity';

const string = 'hello world';
const htmlEntity = encodeHTMLEntities(string); // => &#x68;&#x65;&#x6c;&#x6c;&#x6f;&#x20;&#x77;&#x6f;&#x72;&#x6c;&#x64;

console.log(decodeHTMLEntities(htmlEntity)); // > hello world
```


## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License

MIT
npm package: @heppokofrontend/jquery-accessible-name
Description: [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Published on NPM](https://img.shields.io/npm/v/@heppokofrontend/jquery-accessible-name.svg)](https://www.npmjs.com/package/@heppokofrontend/jquery-accessible-name) [
Author: heppokofrontend
Latest version: 0.1.2

# jQuery.fn.a11yName

[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Published on NPM](https://img.shields.io/npm/v/@heppokofrontend/jquery-accessible-name.svg)](https://www.npmjs.com/package/@heppokofrontend/jquery-accessible-name) [![](https://data.jsdelivr.com/v1/package/npm/@heppokofrontend/jquery-accessible-name/badge)](https://www.jsdelivr.com/package/npm/@heppokofrontend/jquery-accessible-name) [![Maintainability](https://api.codeclimate.com/v1/badges/49aacee2d65e23198462/maintainability)](https://codeclimate.com/github/heppokofrontend/jquery-accessible-name/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/49aacee2d65e23198462/test_coverage)](https://codeclimate.com/github/heppokofrontend/jquery-accessible-name/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/npm/@heppokofrontend/jquery-accessible-name/badge.svg)](https://snyk.io/test/npm/@heppokofrontend/jquery-accessible-name)
 [![jquery-accessible-name](https://snyk.io/advisor/npm-package/@heppokofrontend/jquery-accessible-name/badge.svg)](https://snyk.io/advisor/npm-package/@heppokofrontend/jquery-accessible-name)


## Download

[Download is here](./lib)

## Install

### If use CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/@heppokofrontend/jquery-accessible-name@0.1.2/dist/jquery.accessibleName.min.js"></script>
```

### If use npm:

```shell
npm i @heppokofrontend/jquery-accessible-name
```

## Suppot

- The `aria-labelledby` attribute
- The `aria-label` attribute
- The `label` element
- The `title` attribute

## Usage

```html
<labal for="name">Your name</label>
<input id="name" />
```

```js
$(function() {
  const a11yName = $('input').a11yName(); // > Your name
});
```
npm package: @heppokofrontend/pager
Description: Wrapping iterable objects with the pager function.
Author: heppokofrontend
Latest version: 0.1.1

# @heppokofrontend/pager

[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Published on NPM](https://img.shields.io/npm/v/@heppokofrontend/pager.svg)](https://www.npmjs.com/package/@heppokofrontend/pager) [![test](https://github.com/heppokofrontend/pager/actions/workflows/ci.yml/badge.svg)](https://github.com/heppokofrontend/pager/actions/workflows/ci.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/027423b0daa8f7c001be/maintainability)](https://codeclimate.com/github/heppokofrontend/pager/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/027423b0daa8f7c001be/test_coverage)](https://codeclimate.com/github/heppokofrontend/pager/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/npm/@heppokofrontend/pager/badge.svg)](https://snyk.io/test/npm/@heppokofrontend/pager)
 [![@heppokofrontend/pager](https://snyk.io/advisor/npm-package/@heppokofrontend/pager/badge.svg)](https://snyk.io/advisor/npm-package/@heppokofrontend/pager)


Wrapping iterable objects with the pager function.

## Usage

### Installation:

```shell
npm install --save @heppokofrontend/pager
```

### Instance

#### Properties

|property name|type|readonly|description|
|---|---|---|---|
|`values`|`T[]`|`true`|Iterable objects to be managed by the pager.|
|`views`|`number`||Number of items to be displayed per page.|
|`set index()`|`number`||Page number to move to.|
|`get index()`|`number`||The current page number.|
|`get lastIndex()`|`number`|`true`|Last page number.|
|`get page()`|`T[]`|`true`|Items on the current page.<br>It is recommended to cache the got values.|

#### Methods

|method name|type|description|
|---|---|---|
|`current()`|`(index: number) => T[]`|Switch the current page to any page.|
|`next()`|`() => T[]`|Switch the current page to the next.|
|`prev()`|`() => T[]`|Switch the current page to the previous.|


### Syntax

```js
new Pager(values[, views])
```

#### `values`

Any iterable object.

#### `views`

If specified, number of items to be displayed per page.

The default value is `5`.

### Example:

```javascript
import { Pager } from '@heppokofrontend/pager';
// const { Pager } = require('@heppokofrontend/pager');

const pager = new Pager([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);

pager.current(1); // => [6, 7, 8, 9, 10]
pager.current(-1); // => [1, 2, 3, 4, 5]
pager.current(pager.lastIndex); // => [6, 7, 8, 9, 10]
pager.current(100); // => [6, 7, 8, 9, 10]
pager.lastIndex // => 2

pager.views = 2; // Change the number of views per page.

pager.lastIndex // => 5
pager.current(1); // => [3, 4]
pager.current(200); // => [9, 10]
pager.page // => [9, 10]

pager.index = 3; // Change the current page number

pager.page // => [7, 8]
pager.current(7); // => [7, 8]
```

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License

MIT