open-index/open-npm huggingface dataset:
npm package: @pandaphobic/con-test
Description: The Connectivity Tester you've been waiting for!
Author: pandaphobic
Latest version: 1.5.12

# CON-TEST

The CONnectivity TESTer you've been waiting for!

## Install

`yarn add @pandaphobic/con-test`
or
`npm install @pandaphobic/con-test`

## Example

```
const Speedtest = require("@pandaphobic/con-test");

// Must include a link to a CUSTOM speedtest url
// These can be created at https://www.ookla.com/speedtest-custom
// Should look like: https://CUSTOM_NAME.speedtestcustom.com/
const speedtest = new Speedtest(CUSTOM_SPEEDTEST_URL);

speedtest.runTest();
// speedtest.stopTest();

speedtest.event.on("ping", (e) => {
  console.log(e);
});

speedtest.event.on("jitter", (e) => {
  console.log(e);
});

speedtest.event.on("downloadResult", (e) => {
  console.log(e);
});

speedtest.event.on("uploadResult", (e) => {
  console.log(e);
});

speedtest.event.on("isp", (e) => {
  console.log(e);
});

speedtest.event.on("ip", (e) => {
  console.log(e);
});

speedtest.event.on("location", (e) => {
  console.log(e);
});

speedtest.event.on("stopped", (e) => {
  console.log(e);
});

speedtest.event.on("error", (e) => {
  console.log(e);
});

speedtest.event.on("complete", (e) => {
  console.log(e);
});

```
npm package: @pandarose/react-native-sensitive-info
Description: react-native-sensitive-info manages all data stored in Android Shared Preferences and iOS Keychain. You can set, get and delete keys/values using simple methods.
Author: mCodex & ClassApp
Latest version: 5.5.2

<img alt="Cover" src="./cover.png" />

<center>

[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![npm version](https://badge.fury.io/js/react-native-sensitive-info.svg)](https://badge.fury.io/js/react-native-sensitive-info)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![npm bundle size](https://img.shields.io/bundlephobia/min/react-native-sensitive-info)

</center>

# React Native Sensitive Info

`react-native-sensitive-info` manages all data stored in Android Shared Preferences, iOS Keychain and Windows Credentials. You can set and get all key/value using simple methods.

# Install

Install `react-native-sensitive-info` version (v6.0.0) which uses keystore to encrypt data before saving into Android:

```bash
npm i -S react-native-sensitive-info@next
```

```bash
yarn add react-native-sensitive-info@next
```

# Docs

Check out the [docs](https://mcodex.github.io/react-native-sensitive-info/docs)

# Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://mcodex.github.io"><img src="https://avatars2.githubusercontent.com/u/5920613?v=4" width="100px;" alt=""/><br /><sub><b>Mateus Andrade</b></sub></a><br /><a href="https://github.com/mCodex/react-native-sensitive-info/commits?author=mcodex" title="Documentation">📖</a> <a href="https://github.com/mCodex/react-native-sensitive-info/commits?author=mcodex" title="Code">💻</a> <a href="https://github.com/mCodex/react-native-sensitive-info/pulls?q=is%3Apr+reviewed-by%3Amcodex" title="Reviewed Pull Requests">👀</a> <a href="#ideas-mcodex" title="Ideas, Planning, & Feedback">🤔</a></td>
    <td align="center"><a href="https://github.com/maggialejandro"><img src="https://avatars1.githubusercontent.com/u/3394748?v=4" width="100px;" alt=""/><br /><sub><b>Alejandro</b></sub></a><br /><a href="https://github.com/mCodex/react-native-sensitive-info/commits?author=maggialejandro" title="Code">💻</a> <a href="#maintenance-maggialejandro" title="Maintenance">🚧</a></td>
  </tr>
</table>

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

# Contributing

Pull requests are always welcome :)
npm package: @pandarose/react-native-version-number
Description: Access app version inside React Native
Author: Alvaro Medina Ballester
Latest version: 0.3.6


# react-native-version-number

<p>
<img src="https://travis-ci.org/APSL/react-native-version-number.svg?branch=master" />
<img src="https://img.shields.io/npm/dm/react-native-version-number.svg" />
<img src="https://img.shields.io/npm/dt/react-native-version-number.svg" />
</p>

Returns the `CFBundleShortVersionString` and the `CFBundleVersion` and `bundleIdentifier` on IOS. For Android, returns the `versionName`, `versionCode` and `applicationId`.


|  | iOS | Android | Example |
| --- | --- | --- | --- |
| appVersion | `CFBundleShortVersionString` | `versionName` | `1.0.2` |
| buildVersion | `CFBundleVersion` | `versionCode` | `42` |
| bundleIdentifier | `bundleIdentifier` | `applicationId` | `com.foo.bar.MyApp`|


## Getting started

Install the package

`$ yarn add react-native-version-number`

Link

`$ react-native link react-native-version-number`

#### Manual installation  

**Android:**

1. In your android/settings.gradle file, make the following additions:
```java
include ':react-native-version-number'   
project(':react-native-version-number').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-version-number/android')
```

2. In your android/app/build.gradle file, add the `:react-native-version-number` project as a compile-time dependency:

```java
...
dependencies {
    ...
    compile project(':react-native-version-number')
}
```

3. Update the MainApplication.java file to use `react-native-version-number` via the following changes:   

```java
import com.apsl.versionnumber.RNVersionNumberPackage;

public class MainApplication extends Application implements ReactApplication {

    private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
        ...
        @Override
        protected List<ReactPackage> getPackages() {
            return Arrays.<ReactPackage>asList(
                    new MainReactPackage(),
                    new RNVersionNumberPackage(), // here
            );
        }
    };
    ...
}
```


## Usage
```javascript
import VersionNumber from 'react-native-version-number';

console.log(VersionNumber.appVersion);
console.log(VersionNumber.buildVersion);
console.log(VersionNumber.bundleIdentifier);

```

## License
MIT.
npm package: @pandasekh/dynamic-script-loader
Description: Dynamically append and load scripts into your webpage only when they're needed.
Author: Alessio Franceschi
Latest version: 1.2.0

# Dynamic Script Loader
![Tests](https://github.com/PandaSekh/Dynamic-Script-Loader/workflows/Tests/badge.svg)
[![codecov](https://codecov.io/gh/PandaSekh/Dynamic-Script-Loader/branch/master/graph/badge.svg?token=KTUH71UEZS)](https://codecov.io/gh/PandaSekh/Dynamic-Script-Loader)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@pandasekh/dynamic-script-loader@1.1.0)

> 🐼 Tiny (~300B) package to dynamically import Javascript files only when needed

Functionalities:
- 🤞 Promise based
- 🔎 Hashes the script source, preventing multiple identical imports
- ⚡️ Small, UMD file is about 300 bytes only!

* * *

- [Installation](#installation)
- [Usage](#usage)
- [Demo](#demo)
- [API](#api)
- [License](#license)

* * *

## Installation

Node:

```sh
npm i -S @pandasekh/dynamic-script-loader
```

Yarn:
```sh
yarn add @pandasekh/dynamic-script-loader
```

### CDN
- Skypack
```js 
import loader from 'https://cdn.skypack.dev/@pandasekh/dynamic-script-loader';
```

- unpkg
```js 
<script src="https://unpkg.com/@pandasekh/dynamic-script-loader@latest">
```

## Usage

```js
// Import using JS Modules
import load from "@pandasekh/dynamic-script-loader"

// or using CommonJS
const load = require("@pandasekh/dynamic-script-loader")

// Using a CDN (Node not required)
import load from 'https://cdn.skypack.dev/@pandasekh/dynamic-script-loader';

// Then import a library only when needed
load("https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js")

// Promise based API
load("https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js").then(() => console.log("Loaded!"))

// Returns the generated DOM element
load("https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js").then(element => console.log(element.src))
```

## Demo
Test this library on [Codepen](https://codepen.io/pandasekh/pen/LYRXjYy).

## API 
- ### load
`load(src: string) => Promise<HTMLScriptElement>`

Default function, it will load a script asynchronously and return the HTMLScriptElement just created.

## License
[MIT License](https://github.com/PandaSekh/Dynamic-Script-Loader/blob/master/LICENSE) (c) 2021 Alessio Franceschi
npm package: @pandaswap-dex/sdk
Description: 🛠 An SDK for building applications on top of Pandaswap.
Author: pandaswap-dex
Latest version: 3.0.2

# Pandaswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/PandaSwap-DEX/panda-swap-sdk.git
```

Move into the pandaswap-sdk working directory

```sh
cd pandaswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @pandaswap-libs/uikit
Description: Set of UI components for pandaswap projects
Latest version: 1.0.5

# BecoSwap UIkit

[![Version](https://img.shields.io/npm/v/@becoswap-libs/uikit)](https://www.npmjs.com/package/@becoswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@becoswap-libs/uikit)](https://www.npmjs.com/package/@becoswap-libs/uikit)

BecoSwap UIkit is a set of React components and hooks used to build pages on BecoSwap's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @becoswap-libs/uikit`

## Setup

### Theme

Before using Becoswap UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@becoswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@becoswap-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://becoswap.github.io/becoswap-uikit/)
npm package: @pandaswap/ui-kit
Description: Set of UI components for pancake projects
Latest version: 0.40.8

# 🥞 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: @pandatix/js-cvss
Description: JavaScript implementation of the CVSS (Common Vulnerability Scoring System) standard from FIRST.ORG.
Author: Lucas TESSON
Latest version: 0.4.4

<div align="center">
	<h1>JS-CVSS</h1>
    <a href="https://www.npmjs.com/package/@pandatix/js-cvss"><img src="https://img.shields.io/npm/dm/%40pandatix%2Fjs-cvss?style=for-the-badge" alt="NPM"></a>
	<br>
	<a href=""><img src="https://img.shields.io/github/license/pandatix/js-cvss?style=for-the-badge" alt="License"></a>
	<a href="https://github.com/pandatix/js-cvss/actions?query=workflow%3Aci+"><img src="https://img.shields.io/github/actions/workflow/status/pandatix/js-cvss/ci.yaml?style=for-the-badge&label=CI" alt="CI"></a>
	<a href="https://github.com/pandatix/js-cvss/actions/workflows/codeql-analysis.yaml"><img src="https://img.shields.io/github/actions/workflow/status/pandatix/js-cvss/codeql-analysis.yaml?style=for-the-badge&label=CodeQL" alt="CodeQL"></a>
	<br>
	<a href="https://securityscorecards.dev/viewer/?uri=github.com/pandatix/js-cvss"><img src="https://img.shields.io/ossf-scorecard/github.com/pandatix/js-cvss?label=openssf%20scorecard&style=for-the-badge" alt="OpenSSF Scoreboard"></a>
</div>

js-cvss is another Common Vulnerability Scoring System (CVSS) implementation, in TypeScript.

> **Note**
>
> Specified by [first.org](https://www.first.org/cvss/), the CVSS provides a way to capture the principal characteristics of a vulnerability and produce a numerical score reflecting its severity.

It currently supports :
 - [X] [CVSS 2.0](https://www.first.org/cvss/v2/guide)
 - [X] [CVSS 3.0](https://www.first.org/cvss/v3.0/specification-document)
 - [X] [CVSS 3.1](https://www.first.org/cvss/v3.1/specification-document)
 - [X] [CVSS 4.0](https://www.first.org/cvss/v4.0/specification-document)

> **Warning**
>
> It won't support CVSS v1.0, as despite it was a good CVSS start, it can't get vectorized, abbreviations and enumerations are not strongly specified, so the cohesion and interoperability can't be satisfied.

## How to use

From your project, you can add `@pandatix/js-cvss` to your NPM dependencies using the following.
```bash
npm install '@pandatix/js-cvss' -D
```

Then, from your code, import what you need (let's say `CVSS40``) and go on !

```ts
import { CVSS40 } from '@pandatix/js-cvss';

...

let vec = CVSS40('CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L');
console.log(vec.Score());
```
npm package: @pandayield/uikit
Description: Set of UI components for pandayield projects
Latest version: 0.1.25

# 🥞 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: @pandazy/capybara
Description: A handy database library
Author: Martin Zheng
Latest version: 0.1.12

# Capybara

## Overview >>

This is a TypeScript library providing simple database mechanism supporting the features below:

- functional-rogramming-style basic CRUD operations
- searches optimized by simple database index

## How to use it >>
### Create a data table
```javascript
import { Row } from '@pandazy/capybara';

interface MyRow extends Row {
  name: string;
}

const table: BasicTable<MyRow> = {
  rows: {},
  lastNewId: 0
};
```

or

```javascript
import { Row, basicTable } from '@pandazy/capybara';

interface MyRow extends Row {
  name: string;
}

const table = basicTable<MyRow>();
```

### Add new rows to a table
```javascript
const table = basicTable<MyRow>(); // { rows: {}, lastNewId: 0 }

const rows: MyRow[] = [
  { name: 'foo' },
  { name: 'bar' }
]

const { newRowKeys, updatedTable } = addRowsBasic<MyRow>(table, rows);

/*
  newRowKeys:
    ['1', '2']
  updatedTable:
    { rows: {
          '1': { name: 'foo' },
          '2': { name: 'bar' }
        },
        lastNewId: 2
    }
```

### Update rows
TBD
### Remove rows
TBD

### Add index to the table
#### Q:Why index?
A: [Index](https://en.wikipedia.org/wiki/Database_index) helps improving searching performance by decreasing the complexity.

∆ Currently this library only supports simple hashmap index which guarantees a O(1) complexity

TBD
npm package: @pandazy/mole-cli
Description: Shell command helpers
Author: Martin Zheng
Latest version: 0.1.9

# mole-cli

## Prerequisite:

-   [Docker](https://www.docker.com/)
-   [Yarn](https://yarnpkg.com/)

## Installation:

```
yarn global add @pandazy/mole-cli
```

## Usage

```
mole <package.json's script name>
```

### Example
```
mole test

// as long as there is "./src/*.spec.ts" in the project
```

It will set up TypeScript project with shared configuration from

-   [mole-config](https://github.com/pandazy/mole-config)
-   [eslint-config-mole](https://github.com/pandazy/eslint-config-mole)

And run the project by `yarn install && yarn <package.json's script name>` (in the case above, "_yarn install && yarn test_") under the hood
from a Docker container installed with Node.js and Yarn.

The docker container uses [this image](https://hub.docker.com/layers/jszhengyq/dermis/latest/images/sha256:dea2da756e951741f919069e16145ce806f5ab1107ed66d4f8084fd2f60a28b8)

-------------------

## Demo:
### Before running the command:

![image](https://user-images.githubusercontent.com/519653/221444157-5d1f0966-92a8-41b4-8f1b-3c74fcf3246f.png)

What package.json looks like
```
{
  "name": "mole-config-test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "author": "",
  "license": "ISC"
}
```

### Install mole-cli
![image](https://user-images.githubusercontent.com/519653/221444255-9ff79b80-ad09-4b6c-a4e2-1b924a94722f.png)

### Run the command `mole test`

![image](https://user-images.githubusercontent.com/519653/221444544-fa846932-d4d6-4e81-9de9-af19fe3b1a51.png)

![image](https://user-images.githubusercontent.com/519653/221444588-b613b965-cb40-4db3-a2b9-fe9c708e1cf2.png)

### Now the repository is like this
![image](https://user-images.githubusercontent.com/519653/221444754-f5fda96e-9eb3-41a5-b2eb-8446d17d8314.png)

### It runs in a Docker container
![image](https://user-images.githubusercontent.com/519653/221444940-14a2812d-64f9-406f-811b-92b1286becdb.png)

### node_modules is stored in a Docker volume (not in the project repository, otherwise it hurts the performance)
![image](https://user-images.githubusercontent.com/519653/221444892-924f4a14-f687-489e-a42a-e1f433478224.png)