open-index/open-npm huggingface dataset:
npm package: @gdc-js/common
Description: The common package of the Generic Data Collector packages. Defines the standard interfaces and includes common data receivers and notification handlers
Author: Elad Project
Latest version: 0.5.2

# The common package of the Generic Data Collectors framework

# Generic Data Collector

There are many methods to retrieve digital information from the web (e.g. http(s),ftp,pop3,imap,SOAP,REST etc.).
The Generic Data Collector (GDC) is a framework for collecting data from various digital sources.


#### Standard API
Standard APIs for all aspects involved in the data collection process
This includes the collector configuration, the collection itself, processing the received data, error, notification and progress reporting.

#### Extendability
The framework supplies the basic classes and interfaces for data collection as well as implementations implementations for several methods.
These classes can be extended and/or implemented to facilitate new functionality for a new or existing method.

#### Dynamic collection of multiple items
The main design goal is to allow collection of several items at one collection. The items to be collected is detemined at configuration time or dynamically at collection time according to filters. An example is collecting several files from FTP according to wildcard matching.

### Design
At the heart of the framework is a collector object (an instance of a GDCCollector subclass), which facilitates a specific data collection method. The collector object receives a configuration object which describes all the information needed to collect the data (e.g. connection details, credentials, what information to retrieve) and how to handle the results. The 
framework also defines a standard interfaces for error handling,logging and progress reporting.

### The common package
Contains the common base classes and interfaces for the data collectors, data receivers and notification handlers

The modules includes the following:
1) This package defines the base class for a collector (GDCCollector). Spcific collectors should derive from it.
2) Common collector logic (implemented in the GDCCollector base class)
3) Base class for data recievers and common data recievers
4) Base class for notification handlers and common notification handlers
npm package: @gdc-js/gdc-collector-ftp
Description: An FTP generic data collector
Author: Elad Project
Latest version: 0.5.0

# The FTP data collector

A GDC module for collection of files through FTP.
Can collect multiple files by using multiple targets.
Can collect multiple files by using the '*' and '?' wildcards (the wildcards can be used any number of times in any target)

#### Efficiency
The FTP tree scanning algorithm was built to only scan directories which can potentially match at least one of the targets, thus skipping irrelevant directories.

#### Progress reporting
The tree scanning phase (which determines which files to collect) progress is not reported because there is no way to know in advance the size of the tree. Notification are sent per scanned sub directory, so it's possible to understand
that it's progressing.

Usage example:

<pre><code>

const GDCCollectorFtp = require('../gdc-collector-ftp');
const {GDCCallbackDataReceiver} = require('@gdc-js/common');
const {GDCLogNotificationHandler} = require('@gdc-js/common');

const ftpCollector = new GDCCollectorFtp({
      properties: {
        'host': 'demo.wftpserver.com',
        'username': 'demo',
        'password': 'demo',
      },
      dataReceiver: new GDCCallbackDataReceiver((data, meta) => {
        console.log(data);
        console.log(meta);
      }),
      notificationHandler: new GDCLogNotificationHandler(),
    });
ftpCollector.collect(['/download/*.jpg']);
</code></pre>
npm package: @gdc-js/gdc-collector-http
Description: An http collector
Author: Elad Project
Latest version: 0.5.3


#The http(s) data collector

A GDC module for collection of http(s) pages. Can collect multiple pages.

Usage example:

<pre><code>

const {GDCCollectorHttp} = require('@gdc-js/gdc-collector-http');
const {GDCCallbackDataReceiver} = require('@gdc-js/common');
const {GDCLogNotificationHandler} = require('@gdc-js/common');

const httpCollector = new GDCCollectorHttp({
      properties: {},
      dataReceiver: new GDCCallbackDataReceiver((data, meta) => {
        console.log(data);
        console.log(meta);
      }),
      notificationHandler: new GDCLogNotificationHandler(),
    });
httpCollector.collect(['http://www.iiiiiiii.com/index.html', 'https://www.google.com/index.html']);

</code></pre>
npm package: @gdcorte/react-core-components
Description: Collection of React Components
Author: Gustavo
Latest version: 1.14.2

# Core Components using React

This project is intended to provide a comprehensive glossary of React components to be used in projects.
It uses the theme presets and structure defined in [@gdcorte/react-core-theme](https://github.com/Gdcorte/react-core-theme)

Some of the components are built from scratch whereas others are based in other libraries.
In both cases all the components should provide an easy to customize interface. PR's to improve them are always more than welcome.

## How to test this library locally

For local development of this library, run `pnpm install` to install all the dependencies required.

Then you can run storybook with `pnpm storybook` and see all of the components more in depth and how to interface/customize them.
npm package: @gdcorte/react-core-theme
Description: Base Theming strategy for other packages
Author: Gustavo
Latest version: 4.2.0

# About this project

This package plays around the color theory and implements basic color combinations.
There are also methods to programatically tint, shade and create contrast between colors.

A base theming strategy is also defined. There are methods that will generate the theme with minimal configuration.
It is also posisble to customize many of the default color generation strategy in here.

## Local development

You can see what the package offers by running `pnpm install` and then `pnpm storybook`. This will start storybook on port 6006.

Storybook offers an overview of components defined in this package to enable the user to preview themes.
The main Theme component also allows exporting the currently generated theme.
Generated content is logged into the console (INFO level) and directly to the clipboard. THis can be fine-tuned for the user project.
npm package: @gdcxapi/gdcxapicontrol
Description: test build
Author: wx
Latest version: 0.0.4

# api-control-project

#### Description
后端接口二次封装调用

#### Software Architecture
Software architecture description

#### Installation

1.  xxxx
2.  xxxx
3.  xxxx

#### Instructions

1.  xxxx
2.  xxxx
3.  xxxx

#### Contribution

1.  Fork the repository
2.  Create Feat_xxx branch
3.  Commit your code
4.  Create Pull Request


#### Gitee Feature

1.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
3.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4.  The most valuable open source project [GVP](https://gitee.com/gvp)
5.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
npm package: @gdecagny/react-flame-graph
Description: React component for visualizing profiling data
Author: Brian Vaughn
Latest version: 1.4.0-0.1.0

# react-flame-graph

> React component for visualizing profiling data

[![NPM](https://img.shields.io/npm/v/react-flame-graph.svg)](https://www.npmjs.com/package/react-flame-graph) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save react-flame-graph
```

## Usage

Learn more at [react-flame-graph.now.sh](https://react-flame-graph.now.sh/).

## License

MIT © [bvaughn](https://github.com/bvaughn)
npm package: @gdelloiacono/uikit
Description: Set of UI components for pancake projects
Latest version: 0.60.0

# 🥞 Pancake UIkit

[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pancakeswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pancakeswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pancakeswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)
npm package: @gden/enum
Description: Register the Enum package to handle predefined constants in your project
Author: George Denning
Latest version: 1.0.2

![NPM License](https://img.shields.io/npm/l/@gden/enum?label=)

<!-- ![NPM Downloads](https://img.shields.io/npm/dw/@gden/enum?label=) -->

# Installation

Using npm:

```shell
npm install @gden/enum
```

Import the package in your ES6 project:

```js
import { Enum } from '@gden/enum';
```

or require it with CommonJS:

```js
const { Enum } = require('@gden/enum');
```

# Usage

```js
import { Enum } from '@gden/enum';

const Colour = new Enum(['Green', 'Blue', 'Yellow']);
```

Optionally, you can register `Enum` to make it available on the `global` or `window` object:

```js
/**
 * @param {String} key - defaults to "Enum"
 */
Enum.register(key);
```

# API

```js
/**
 * @param {Array|Object} entries
 * @param {Object|String} options (optional)
 */
new Enum(entries, options);
```

## Entries

Every new instantiation of an Enum requires an array of strings or an object with key => value pairs.

### Create a new Enum with an array:

```js
new Enum(['Green', 'Blue', 'Yellow']);
```

### Create a new Enum with an object:

```js
new Enum({ Green: 0, Blue: 1, Yellow: 2 });
```

## Options

Optionally, you can pass an options object to the constructor.

```js
const options = {
    /**
     * The name of the Enum
     * @type String
     */
    name: undefined,
    /**
     * Case-insensitive access to Enum entries
     * @type Boolean
     */
    ignoreCase: false
};
```

## Examples

```js
const Colour = new Enum({ Green: 0, Blue: 1, Yellow: 2 });

/**
 * Get the EnumEntry direct
 * @returns {EnumEntry}  { key: 'Green', value: 0 }
 */
Colour.Green;

/**
 * Get the EnumEntry by calling `get` method with a key
 * @returns {EnumEntry}  { key: 'Green', value: 0 }
 */
Colour.get('Green');

/**
 * Get the EnumEntry by calling `get` method with a value
 * @returns {EnumEntry}  { key: 'Green', value: 0 }
 */
Colour.get(0);

/**
 * Get the EnumEntry key by calling `getKey` method
 * @returns {String}  'Green'
 */
Colour.getKey('Green');
// or
Colour.getKey(0);

/**
 * Get the EnumEntry value by calling `getValue` method
 * @returns {Number}  0
 */
Colour.getValue(0);
// or
Colour.getValue('Green');

/**
 * Trying to access an EnumEntry that doesn't exist directly
 * @returns undefined
 */
Colour.Red;

/**
 * Trying to access an EnumEntry that doesn't exist using the `get` method
 * @throws {ReferenceError}  "Red" is not a valid enum entry key
 */
Colour.get('Red');
```
npm package: @gden/socket
Description: A socket service package for handling WebSocket connections.
Author: George Denning
Latest version: 1.0.1

# @gden/socket

![NPM License](https://img.shields.io/npm/l/@gden/socket?label=)

<!-- ![NPM Downloads](https://img.shields.io/npm/dw/@gden/socket?label=) -->

`@gden/socket` is a JavaScript library that provides a versatile and configurable WebSocket client service for handling WebSocket connections in your applications.

## Installation

```shell
npm install @gden/socket
```

### Importing the Package:

```js
import SocketService from '@gden/socket';
```

## Usage

Once you've imported the `SocketService` class, you can create WebSocket connections and manage events.

### Creating a Socket Connection

```js
import SocketService from '@gden/socket';

// Initialize a new WebSocket connection with optional configuration options
const socket = new SocketService(options);
```

### Listening for WebSocket Events

You can listen for WebSocket events, such as incoming messages, using the on method:

```js
socket.on('message', msg => {
    // Handle incoming message
    console.log('Received message:', msg);
});
```

### Sending Messages

You can send messages to the server using the emit method:

```js
const sendMessage = msg => {
    // Send a message to the server
    socket.emit('message', msg);
};

sendMessage('Hello, server!');
```

### Disconnecting from the WebSocket

To gracefully close the WebSocket connection, you can use the disconnect method:

```js
socket.disconnect();
```

### Demo usage:

```js
import SocketService from '@gden/socket';

const socket = new SocketService(options);

let messages = [];

socket.on('messages', msgs => {
    messages = msgs;
});

socket.on('message', msg => {
    messages.push(msg);
});

const sendMessage = msg => {
    socket.emit('message', msg);
};

sendMessage('test');
```

## Configuration Options

When creating a `SocketService` instance, you can pass in various configuration options to customize its behavior. Here are the available options:

-   `url` (string): The WebSocket server URL.
-   `autoConnect` (boolean): Automatically connect on instantiation.
-   `reconnect` (boolean): Enable reconnection on disconnect.
-   `reconnectionAttempts` (number): Number of reconnection attempts.
-   `reconnectionDelay` (number): Initial delay before reconnection (in milliseconds).
-   `reconnectionDelayMax` (number): Maximum delay between reconnection attempts (in milliseconds).
-   `query` (object): Custom query parameters to send during the WebSocket handshake.
-   `transports` (array): Available transport methods.
-   `timeout` (number): Connection timeout (in milliseconds).
-   `events` (object): Custom event listeners.
-   `logger` (object): Logger for connection events and errors.
-   `middleware` (array): Middleware functions to apply to outgoing messages.
-   `socketOptions` (object): Additional socket.io-client options.

## License

This project is licensed under the terms of the [MIT license](/LICENSE).
npm package: @gdev-org/gdev_form_validator
Description: A robust form validation library for js based applications. No js required, no dependency.
Author: gdev
Latest version: 1.0.2

# gdev_form_validator

gdev_form_validator is a dynamic and customizable form validation package designed to make form validation easy and flexible for developers. It provides multiple methods to handle form validation and designs.

## Installation

### NPM

To install the package using npm, run:

```bash
npm i @gdev-org/gdev_form_validator
```

### CDN

To use the package via CDN, include the following in your HTML:

```
<script src="https://cdn.jsdelivr.net/npm/@gdev-org/gdev_form_validator@latest/dist/gdev_form_validator.js"></script>

```

## Documentation

For more detailed documentation and examples, visit [our website](https://gdev-form-validator-ten.vercel.app/).

## License

This project is licensed under the MIT License.
npm package: @gdexporter/plugin-better-loading-screen
Description: Replaces the default loading screen with a better one (by @Bouh).
Author: arthuro555 & Bouh
Latest version: 1.0.1
Deprecated: GDevelop now has a better loading screen, you can still use this one but it looks awful in comparison.

# plugin-better-loading-screen
Replaces the default loading screen with the [one made](https://github.com/Bouh/GDevelop_stuff/tree/master/splashscreen_custom) by [@Bouh](https://github.com/Bouh).

## Options
No options are avilable
npm package: @gdexporter/plugin-manifest
Description: Adds a WebManifest for PWA compliance.
Author: arthuro555
Latest version: 1.0.0

# plugin-pwa

Adds a WebManifest with icons to enable PWA compliance.

## Options

```js
{
  manifestOptions: {},
  manifestName: "manifest.webmanifest",
}
```

#### `manifestOptions = {}`

A JavaScript object representing the JSON of the WebManifest.

#### `manifestName = "manifest.webmanifest"`

The name of the manifest file.
npm package: @gdexporter/plugin-minify
Description: Bundles all javascript together and minifies it with esbuild.
Author: arthuro555
Latest version: 1.0.0

> This is an unstable plugin, it may break your game in some edge cases.

# plugin-minify

Bundles all javascript together and minifies it with esbuild.

## Options

```js
{
  useESBuild: true,
  esbuild: {},
  keepOriginalFiles: false,
  keepMerger: false,
  outputFileName: "game.js",
  verbose: false,
  ignoredFiles: [],
  verbose: false,
}
```

#### `useESBuild = true`

If true, the bundled file will be minified by esbuild.

#### `esbuild = {}`

Those options are forwarded to esbuild directly, if it is used.
By default, the minify and bundle options are activated.
Find all options on the esbuild website: https://esbuild.github.io/api/#build-api

#### `keepOriginalFiles = false`

If false, the original files that have been bundled will be deleted. Recommended as those are now redundant.

#### `keepMerger = false`

If false, the unminified version of the ouput file will be deleted after being minified by esbuild.
Ignored when not using esbuild.

#### `outputFileName = "game.js"`

The name of the bundled file.

#### `mergerFileName = "__merger_file__.js"`

The name of the temporary merger file.
Ignored if not using esbuild.

#### `ignoredFiles = []`

A list of files to ignore. Don't use this unless you know what you are doing (example: you made a custom web worker that shouldn't be bundled).

#### `verbose: false`

If true, prints a lot of useless info.
npm package: @gdexporter/plugin-offline
Description: Adds a service worker for caching.
Author: arthuro555
Latest version: 1.0.0

# plugin-offline

Generates a service worker for caching using workbox, to allow playing the game offline.

## Options

```js
{
  workerFileName: "sw.js",
  sourceWorker: "./myWorker.js",
  workboxOptions: {
    runtimeCache: [
      {
        urlPattern: "*",
        handler: "NetworkFirst",
      },
    ],
  },
}
```

#### `workerFileName = "sw.js"`

The filename of the output service worker.

#### `sourceWorker = undefined`

If a string is passed as sourceWorker, the plugin will use injectManifest instead of generateSW.
You can find the differences [on the official workbox docs](https://developers.google.com/web/tools/workbox/modules/workbox-build#which_mode_to_use).

#### `workboxOptions = {runtimeCaching: [{ urlPattern: "*", handler: "NetworkFirst" }], globPatterns: ["**/*"]}`

The options passed to workbox when building. You can find them [on the official workbox docs](https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-build#.generateSW).
Be aware that the available options may vary depending on if you use injectManifest or generateSW (see the `sourceWorker` option).
npm package: @gdfreitasdev/nodejs-github-actions-sample
Description: Node.js sample for installing, building, testing and publishing libraries
Author: Gabriel De Freitas
Latest version: 0.0.1

# nodejs-github-actions-sample

Node.js sample for installing, building, testing and publishing libraries

## Workflows

### Main

Triggers on pushes to any branch and pull_requests

See at [.github/workflows/main.yml](./.github/workflows/main.yml)

#### Steps

- Checkout
- Install
- Build
- Test

### Release

Triggers on creation of releases

See at [.github/workflows/release.yml](./.github/workflows/release.yml)

**Steps:** 

- ... same previous steps as main workflow
- Publish to [NPM Registry](https://registry.npmjs.org)

## GitHub Actions Documentations

- [Building and Testing Node.js](https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs)
- [Publishing Node.js Packages](https://docs.github.com/en/free-pro-team@latest/actions/guides/publishing-nodejs-packages)