open-index/open-npm huggingface dataset:
npm package: @fsteam/octopus-cli
Description: A CLI to generate krakend endpoints
Author: Andres Galvan
Latest version: 2.0.6

# Octopus

[![package version](https://img.shields.io/npm/v/@fsteam/octopus-cli?color=default&label=%40fsteam%2Foctopus-cli&logo=npm)](https://www.npmjs.com/package/@fsteam/octopus-cli)

A CLI to generate krakend endpoints

## Install

With **npm**

```bash
npm i -g @fsteam/octopus-cli
```

With **yarn**

```bash
yarn global add @fsteam/octopus-cli
```

## Overview

```s
Commands:
  octo init     Generates yaml configuration file for the cli
  octo openapi  Generates api gateway endpoints from OpenApi Documentation
```

## Usage

- Init

```s
octo init

Generates octopus yaml configuration file

Options:
  -h, --help     Show help [boolean]
  -o, --output   Choose where to generate the endpoints [string]
  -c, --config   The krakend root configuration file [string]
```

- Openapi

```s
octo openapi

Generates api gateway endpoints from OpenApi Documentation

Options:
  -h, --help     Show help [boolean]
  -u, --url      URL of the OpenApi Documentation [string]
  -f, --file     Yaml file of the OpenApi Documentation [string]
  -g, --graphql  [boolean] [default: false]
  -p, --project  Project name of the current application [string] [required]
```
npm package: @fster/react-modal
Description: React modal component
Author: fster
Latest version: 0.0.19

# react-modal
This package is a part of an OpenClassrooms school project.

## Installation
You need to use `node >= 14` and `npm >= 5.6`.
Run the following command on your project to install the package.

```shell
npm i @fster/react-modal@latest 
```

## Dependencies
This package use `react@18.2.0` as peer dependencies.

## How to use ?
Props `title` and `text` are necessary.
Use `ìsVisible` boolean props to render the modal.
The default `target` is `document.body`. 

- Props type
```ts
export interface ModalProps {
  title: string;
  text: string;
  isVisible: Boolean;
  target: Element | DocumentFragment;
}
```

- Example
```jsx
import { Modal } from '@fster/react-modal'

function App () {
  return (
    <div className="App">
      <Modal
        title= 'Your Title'
        text= 'Your content text'
        isVisible= {true}
        target= {document.body}
      />
    </div>
  );
}

export default App;
```
npm package: @fstn/typescript-data-generator
Description: Data generator decorator based for Typescript classes
Author: Stephen ZAMBAUX
Latest version: 1.0.37

# typescript-data-generator
Data generator decorator based for Typescript classes

Allow to use decorator to generate data

```
export class Owner{
    @Fake(faker.name.firstName)
    firstName!: string;
    @Fake((context)=>"Stephen"))
    lastName!: string;
    @Generate()((context:any,scope:any)=>get(scope)(new Car(),context))
    car!: Car;
}
```

See test file for more examples
npm package: @fstn/typescript-jest-snapshot-mapper
Description: Jest property mapper for snapshot test based on Typescript classes decorators
Author: Stephen ZAMBAUX
Latest version: 1.0.74

# typescript-data-generator
Data generator decorator based for Typescript classes

Allow to use decorator to generate data

```
export class Owner{
    @Fake(faker.name.firstName)
    firstName!: string;
    @Fake((context)=>"Stephen"))
    lastName!: string;
    @Generate()((context:any,scope:any)=>get(scope)(new Car(),context))
    car!: Car;
}
```

See test file for more examples
npm package: @fstnetwork/transaction-maker
Description: ```sh git clone https://github.com/fstnetwork/transaction-maker
Author: FST NETWORK PTE. LTD.
Latest version: 0.5.1

# Transaction Maker

## Mode pub_tag

```sh
git clone https://github.com/fstnetwork/transaction-maker

cd transaction-maker

export MASTER_PK_HEX_STR=0xabcdef0123456789...

node src/index.js \
  --mode pub_tag \
  --root_dir ./ \
  --tags ./csv_template/tag.csv \
  --version_id [VER STRING] \
  --jsonrpc_http [Ethereum JSONRPC URL]
```

## Mode attach_tag

```sh
git clone https://github.com/fstnetwork/transaction-maker

cd transaction-maker

node src/index.js \
  --mode attach_tag \
  --root_dir ./ \
  --attaches ./csv_template/attach.csv \
  --version_id [VER STRING] \
  --jsonrpc_http [Ethereum JSONRPC URL]
```

## Lib

```
npm i @fstnetwork/transaction-maker
```

### Mode pub_tag / attach_tag

> Please set the environment variable `MASTER_PK_HEX_STR=0xabcdef0123456789...` while using the library

`publisher_id` can be any unique string

`tag_uniq_name` can be any unique string

(`version_id` in options will be the postfix of the tagname)

One publisher can have many tags (but the best practice is still one publisher has one tag)

`attach_from` can just be set to `"publisher"`

```javascript
const { create_tags, attach_tags } = require("@fstnetwork/transaction-maker");

// creat tags first
create_tags(
  {
    version_id: "abc",
    root_dir: process.cwd(),
    jsonrpc_http: "[ETH_JSON_RPC_URL]",
    logger: "default",
  },
  [
    { publisher_id: "def", tag_uniq_name: "abcdef" },
    { publisher_id: "def", tag_uniq_name: "ghijkl" },
  ]
).then(console.log);

// and then
attach_tags(
  {
    version_id: "abc",
    root_dir: process.cwd(),
    jsonrpc_http: "[ETH_JSON_RPC_URL]",
    logger: "default",
  },
  [
    {
      tag_uniq_name: "abcdef",
      attach_from: "publisher",
      attach_to: "0xefefefefefefefefefefefefefefefefefefefef",
      attach_amount: "1",
    },
    {
      tag_uniq_name: "abcdef",
      attach_from: "publisher",
      attach_to: "0xefefefefefefefefefefefefefefefefefefefef",
      attach_amount: "1",
    },
    {
      tag_uniq_name: "ghijkl",
      attach_from: "publisher",
      attach_to: "0xefefefefefefefefefefefefefefefefefefefef",
      attach_amount: "1",
    },
    {
      tag_uniq_name: "ghijkl",
      attach_from: "publisher",
      attach_to: "0xefefefefefefefefefefefefefefefefefefefef",
      attach_amount: "1",
    },
  ]
).then(console.log);
```
npm package: @fstore/generator-js-boilerplate
Description: It creates a boilerplate to start a new workspace on `functions.store`
Latest version: 0.23.0

# fstore-js-boilerplate generator

It creates a boilerplate to start a new workspace on `functions.store`

## Install

```
$ yarn add fstore-js-boilerplate
```

## Usage

```
$ yo fstore-js-boilerplate <workspace-name>
```
npm package: @fsuipc.js/api
Description: <img src="https://user-images.githubusercontent.com/8359234/184555256-5e6458a4-6e4c-489b-b1a6-bfe2e6dcd15a.png" alt="fsuipc.js" width="150"/>
Author: Carlos Villalobos
Latest version: 2.0.4

<img src="https://user-images.githubusercontent.com/8359234/184555256-5e6458a4-6e4c-489b-b1a6-bfe2e6dcd15a.png" alt="fsuipc.js" width="150"/> 

[![npm version](https://badge.fury.io/js/@fsuipc.js%2Fapi.svg)](https://badge.fury.io/js/@fsuipc.js%2Fapi)
![ts](https://badgen.net/badge/Built%20With/TypeScript/blue)
[![release](https://github.com/tcavenezuela/fsuipc.js/actions/workflows/release.yml/badge.svg?branch=master)](https://github.com/tcavenezuela/fsuipc.js/actions/workflows/release.yml)

[FSUIPC](http://www.fsuipc.com/) client implementation for NodeJS.

# @fsuipc.js/api

This package allows you to read +800 predefined offsets.

- [Read our contribution guidelines](https://github.com/tcavenezuela/fsuipc.js/blob/master/.github/CONTRIBUTING.md).

## Quick start

1. Install `fsuipc.js` and `@fsuipc.js/api`:

```bash
yarn add fsuipc.js @fsuipc.js/api
```

2. Import the module and create a new object:

```js
import { FsuipcApi } from '@fsuipc.js/api';

const simulator = new FsuipcApi(Simulator.FSX);
```

3: Use the method `init` to request a list of offsets and then, read the value in the promise:

```js
simulator
  .init()
  .then(() => {
    simulator.listen(true, 2000, ['gs', 'altitude', 'comFreq', 'lights']).subscribe((result) => {
      console.log(JSON.stringify(result));
    });
  })
  .catch((e) => console.error(e));
```

## Methods:

### Init:

Returns a promise when you are properly connected to FSUIPC stream. In case your flight simulator isn't running, this will throw an error.

### Listen:

Listen a list of offsets.

listen method takes 2-3 arguments:

- interval[number]: interval at which values will be polled from FSUIPC stream.
- offsetsList[string[]]: a list of string representing offsets you want to subscribe on.
- terminateOnError[boolean]: if set to true, if any value is errored, you will be disconnected from FSUIPC stream.

This method returns a ConvertedOffsetValues observable. You can subscribe to this observable to handle values polled from stream.

### Close:

Closes a running connection.
npm package: @fsuipc/api
Description: Tooling to use FSUIPC external application interface, with nodeJS.
Author: FSUIPC-Node Opensource Team
Latest version: 0.4.0

# @fsuipc/api - FSUIPC Node API

Tooling to use FSUIPC external application interface, with nodeJS.

[![Coverage Status](https://coveralls.io/repos/github/fsuipc-node/api/badge.svg?branch=master)](https://coveralls.io/github/fsuipc-node/api?branch=master)
[![npm version](https://badge.fury.io/js/%40fsuipc%2Fapi.svg)](https://badge.fury.io/js/%40fsuipc%2Fapi)
![branch-master](https://github.com/fsuipc-node/api/workflows/branch-master/badge.svg?branch=master)

## Disclamer

This API is a wrapper around [fsuipc-node adapter by koesie10](https://github.com/koesie10/fsuipc-node) meant to create a simple API around all available fsuipc offsets. 

Please find any information about FSUIPC on [their website](http://www.fsuipc.com/).

## Requirements
In order for [`fsuipc`](https://github.com/koesie10/fsuipc-node) (fsuipc-node) and `@fsuipc/api` (this package) to work, and so this API, you must have on your machine:
 - Windows 10 64bits
 - node 12+
 - python 3.7 (don't forget to add it to your PATH)
 - visualstudio 2017+ with desktop C++ package
 - fsuipc installed as flight simulator plugin

Node API usage requirements:
 - `rxjs` >= 6.5.0

## Installation
```
npm i --save @fsuipc/api
or
yarn add @fsuipc/api
```

## API Usage

After import, you can use `FsuipcApi` to listen to provided values. 

### Import

```typescript
import { FsuipcApi } from '@fsuipc/api';
```

### Instantiate

```typescript
const fsuipcApi = new FsuipcApi(Simulator.FSX);
```
### Init

`FsuipcApi.init()` returns a promise when you are properly connected to FSUIPC stream. In case your flight simulator isn't running, this will throw an error.

### Listen to offsets values

`FsuipcApi.listen()` methods takes 2-3 arguments:
 - `interval` [*number*]: interval at which values will be polled from FSUIPC stream
 - `offsetsList` [*string[]*]: a list of string representing offsets you want to subscribe on
 - `terminateOnError` [*boolean* = *true*]: if set to true, if any value is errored, you will be disconnected from FSUIPC stream

This method returns a `ConvertedOffsetValues` observable. You can subscribe to this observable to handle values polled from stream.

### Complete example

```typescript
import { FsuipcApi } from '@fsuipc/api';

const fsuipcApi = new FsuipcApi(Simulator.FSX);

fsuipcApi.init().then(() => {
  fsuipcApi.listen(1000, [
    'gs',
    'altitude',
    'comFreq',
    'lights',
  ]).subscribe((result) => {
    // Use the result here
    console.log(JSON.stringify(result));
  });
}).catch((e) =>
  console.error(e)
);
```
npm package: @fsvfiord/chartjs-plugin-streaming
Description: Chart.js plugin for live streaming data
Author: FSV
Latest version: 3.0.4

<p align="center">
  <img src="docs/.vuepress/public/logo.svg" style="width: 300px;">
</p>

# chartjs-plugin-streaming

[![npm](https://img.shields.io/npm/v/chartjs-plugin-streaming.svg?style=flat-square)](https://www.npmjs.com/package/@robloche/chartjs-plugin-streaming) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/nagix/chartjs-plugin-streaming/CI?style=flat-square)](https://github.com/robloche/chartjs-plugin-streaming/actions?query=workflow%3ACI+branch%3Amaster) [![Code Climate](https://img.shields.io/codeclimate/maintainability/nagix/chartjs-plugin-streaming.svg?style=flat-square)](https://codeclimate.com/github/nagix/chartjs-plugin-streaming) [![Awesome](https://awesome.re/badge-flat2.svg)](https://github.com/chartjs/awesome)

*[Chart.js](https://www.chartjs.org) plugin for live streaming data*

Forked from https://github.com/nagix/chartjs-plugin-streaming because it appears to be unmaintained.

chartjs-plugin-streaming 3.x requires Chart.js 4.1.1 or later. If you need Chart.js 2.x support, use the following versions.

- For Chart.js 2.9.x, 2.8.x or 2.7.x, use [version 1.9.0](https://github.com/nagix/chartjs-plugin-streaming/releases/tag/v1.9.0) ([tutorials](https://nagix.github.io/chartjs-plugin-streaming/1.9.0/) and [samples](https://nagix.github.io/chartjs-plugin-streaming/1.9.0/samples/))
- For Chart.js 2.6.x, use [version 1.2.0](https://github.com/nagix/chartjs-plugin-streaming/releases/tag/v1.2.0)
- For Chart.js 4.x, use [version 3.0.0](https://github.com/Robloche/chartjs-plugin-streaming)

## Documentation

- [Introduction](https://nagix.github.io/chartjs-plugin-streaming/master/guide/)
- [Getting Started](https://nagix.github.io/chartjs-plugin-streaming/master/guide/getting-started.html)
- [Options](https://nagix.github.io/chartjs-plugin-streaming/master/guide/options.html)
- [Data Feed Models](https://nagix.github.io/chartjs-plugin-streaming/master/guide/data-feed-models.html)
- [Integration](https://nagix.github.io/chartjs-plugin-streaming/master/guide/integration.html)
- [Performance](https://nagix.github.io/chartjs-plugin-streaming/master/guide/performance.html)
- [Migration](https://nagix.github.io/chartjs-plugin-streaming/master/guide/migration.html)
- [Tutorials](https://nagix.github.io/chartjs-plugin-streaming/master/tutorials/)
- [Samples](https://nagix.github.io/chartjs-plugin-streaming/master/samples/)

## Development

You first need to install node dependencies (requires [Node.js](https://nodejs.org/)):

```bash
npm install
```

The following commands will then be available from the repository root:

```bash
npm run build      # build dist files
npm run build:dev  # build and watch for changes
npm run lint       # perform code linting
npm run package    # create an archive with dist files
npm run docs       # generate documentation (`dist/docs`)
npm run docs:dev   # generate documentation and watch for changes
```

## License

chartjs-plugin-streaming is available under the [MIT license](https://opensource.org/licenses/MIT).
npm package: @fsx950223/web-router
Description: a web component router
Author: fsx950223
Latest version: 1.1.0

# A Router for web
Web router based on web components, ready for Polymer,jQuery,Vue and frameworks can use web-components
## Install
``` bash
npm i @fsx950223/web-router
```
## HTML Usage
``` html
<web-router>
    <web-link route='3' href='1'>click to 1</web-link>
    <web-router>
        <web-link route='1' href='2'>click to 2</web-link>
    </web-router>
    <div route='2'>
        <web-link href='3?a=123'>click to 3</web-link>
    </div>
</web-router>
```
``` js
import '@fsx950223/web-router'
```
### use by unpkg
``` html
<script src="https://unpkg.com/@fsx950223/web-router"></script>
```
## Demo
``` bash
npm run start
```