open-index/open-npm huggingface dataset:
npm package: @qagency13/uat-components
Description: Shared components
Latest version: 1.0.185

# Shared UI Components

[![YARN](https://img.shields.io/badge/yarn-%5E1.22.4-orange)](https://classic.yarnpkg.com/en/) [![REACT](https://img.shields.io/badge/react-%5E16.13.1-orange)](https://reactjs.org/) [![TYPESCRIPT](https://img.shields.io/badge/language-typescript-blue)](https://www.typescriptlang.org/)

Shared UI Components for Universal Aviation Training Web Applications.

<br/>

## Setup

1. Install dependencies:

   ```bash
   yarn install
   ```

2. Compile library to `dist/`:

   ```bash
   yarn run start
   ```

   This command continues to watch for changes in `src/` module and recompiles the library automatically.

<br/>

## Example project

Library components is tested and showcased in example project using next steps: 

1. Navigate to example folder from the project root:

   ```bash
   cd example
   ```

2. Install dependencies for example project:

   ```bash
   yarn install
   ```

3. Run example/showcase project in browser and see components in action:

   ```bash
   yarn run start
   ```

<br/>

## Usage from example project

Components can be imported from library's `dist/` folder using absolute import:

```tsx
import {
  TextHeadline1,
  Logo,
  TextInput
} from "components";
import "components/dist/index.css";

const Example = () => (
  <>
    <TextHeadline1>Headline</TextHeadline1>
    <Logo />
    <TextInput />
  </>
);
```

<br/>

## Integration to other projects

1. Link `uat-components` library to yarn from the library's project root:

   ```bash
   yarn link
   ```

   Library name is defined in `package.json`.

2. Link library's `react` module to yarn:

   ```bash
   cd node_modules/react
   yarn link
   ```

   This step is required because [Invalid Hook Call Warning](https://reactjs.org/warnings/invalid-hook-call-warning.html) exception will be raised since library uses [react-hooks](https://reactjs.org/docs/hooks-intro.html).

3. Position to the root of the project where you want to integrate the library.

4. Link `uat-components` library from yarn:

   ```bash
   yarn link uat-components
   ```

5. Link `react` from yarn:

   ```bash
   yarn link react
   ```

<br/>

## Usage in other projects

Components can be imported from library using library name:

```tsx
import {
  TextHeadline1,
  Logo,
  TextInput
} from "uat-components";
import "uat-components/dist/index.css";

const MyProject = () => (
  <>
    <TextHeadline1>Headline</TextHeadline1>
    <Logo />
    <TextInput />
  </>
);
```

<br/>

## About

This project is created using [create-react-library](https://www.npmjs.com/package/create-react-library), CLI for creating modern React libraries.
npm package: @qala/qala-linux-cli
Description: Qala CLI is a command-line interface tool for Linux, designed to simplify and automate various tasks for developers that are using the Qala Q-Flow.
Author: Qala Technologies
Latest version: 1.1.0

# Qala CLI

Qala CLI is a command-line interface tool designed to simplify and automate various tasks for developers that are using the [Qala Q-Flow](https://www.qalatech.io/).

## Features

- Easy setup and configuration
- Automates repetitive tasks
- Integrates with popular development tools

## Installation

There are several ways to install Qala Cli. Please refer to our [technical documentation](https://www.qalatech.io/docs/qala-cli), to see what works best for you.

## Usage

For more information on the Qala CLI, please visity our [technical documentation](https://www.qalatech.io/docs/qala-cli-docs).

## Contributing

We welcome contributions! Please read our [contributing guidelines](CONTRIBUTING.md) for more details.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contact

For any questions or feedback, please contact us at [Discord](https://discord.gg/n7RkKVKdC9).
npm package: @qala/qala-macos-cli
Description: Qala CLI is a command-line interface tool for macOS, designed to simplify and automate various tasks for developers that are using the Qala Q-Flow.
Author: Qala Technologies
Latest version: 1.1.0

# Qala CLI

Qala CLI is a command-line interface tool designed to simplify and automate various tasks for developers that are using the [Qala Q-Flow](https://www.qalatech.io/).

## Features

- Easy setup and configuration
- Automates repetitive tasks
- Integrates with popular development tools

## Installation

There are several ways to install Qala Cli. Please refer to our [technical documentation](https://www.qalatech.io/docs/qala-cli), to see what works best for you.

## Usage

For more information on the Qala CLI, please visity our [technical documentation](https://www.qalatech.io/docs/qala-cli-docs).

## Contributing

We welcome contributions! Please read our [contributing guidelines](CONTRIBUTING.md) for more details.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contact

For any questions or feedback, please contact us at [Discord](https://discord.gg/n7RkKVKdC9).
npm package: @qalbehabib/array-sdk
Description: 🛠 An SDK for building applications on top of Array.
Latest version: 0.0.10

# Array SDK

## 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/Array/sdk.git
```

Move into the sdk working directory

```sh
cd 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: @qalbehabib/chance-sdk
Description: 🛠 An SDK for building applications on top of Chance.
Latest version: 0.0.14

# Array SDK

## 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/Array/sdk.git
```

Move into the sdk working directory

```sh
cd 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: @qalbehabib/pooltogether-hooks
Description: Useful hooks for PoolsTogether applications
Author: PoolTogether Inc.
Latest version: 2.1.5

# PoolTogether hooks

A collection of various useful hooks used across the PoolTogether applications.

## NOTE

Make sure you keep `peerDependencies` and `devDependencies` versions in sync!

## How to use

1. `yarn add @pooltogether/utilities`
2. `import * as Hooks from '@pooltogether/hooks'` OR `import { hookYouWantToUse } from '@pooltogether/hooks'`
3. Ensure you call any required init functions early

## Local development

Local development works best with yalc
`yarn global add yalc`

In pooltogether-hooks:
`yarn start`

In the app you're importing pooltogether-hooks:
`yalc link @pooltogether/hooks`

When you save changes inside the hooks `src` folder, the package will rebuild and be pushed to all other projects that have run `yalc link @pooltogether/hooks`.

## TODO:

- jest tests
npm package: @qalbehabib/sdk
Description: 🛠 An SDK for building applications on top of Sweetswap.
Latest version: 2.3.17

# Sweetswap 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://uniswap.org/docs/v2/SDK/getting-started/).

## 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/sweetswap/sweetswap-sdk.git
```

Move into the sweetswap-sdk working directory

```sh
cd sweetswap-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: @qalisa/vike-plugin-sitemap
Description: An unofficial Vike plugin to automagically generate sitemap and robots.txt files
Author: Qalisa
Latest version: 1.7.0

# Vike Sitemap Plugin

A Vike plugin for handling `sitemap.xml` and/or `robots.txt` file generation automatically, based on your project structure.

## Features
- Automatically generates a `sitemap.xml` based on your `pages/` directory.
- Supports custom sitemap entries.
- Generates a `robots.txt` file with configurable rules.
- Updates in development mode when files change.
- Fully configurable options.

## Installation

```sh
npm install -D @qalisa/vike-plugin-sitemap
```

or

```sh
yarn add --dev @qalisa/vike-plugin-sitemap
```

or

```sh
pnpm install -D @qalisa/vike-plugin-sitemap
```

## Usage

In your Vike project root, add the plugin to your Vite configuration file:

```ts
// vite.config.ts
import sitemap from '@qalisa/vike-plugin-sitemap';

export default {
  plugins: [sitemap({
    baseUrl: 'https://yourwebsite.com' // can be omited in dev
  })]
};
```

## Configuration Options

| Option              | Type      | Default           | Description |
|---------------------|----------|-------------------|-------------|
| `pagesDir`         | `string`  | `'pages'`         | Directory containing your Vike pages. |
| `baseUrl`          | `string`  | `'http://localhost:3000'` | Base URL of your website. |
| `filename`         | `string`  | `'sitemap.xml'`   | Name of the sitemap file. |
| `outputDir`        | `string`  | `'.'`            | Output directory for the sitemap and robots.txt, relative to your output bundle client files. |
| `defaultChangefreq`| `string`  | `'weekly'`        | Default change frequency for pages. |
| `defaultPriority`  | `number`  | `0.5`             | Default priority for pages. |
| `customEntries`    | `SitemapEntry[]` | `[]` | Additional custom sitemap entries. |
| `sitemapGenerator` | `function` | `(entries) => entries` | Function to modify parsed entries before custom entries are added. |
| `robots`           | `RobotsOptions` or `false` | `{ userAgent: '*', disallow: { cloudflare: true } }` | Robots.txt options. If you pass `false`, no robots.txt is generated |

## License

MIT License
npm package: @qamarq/next-view-transitions
Description: View Transitions API for Next.js App Router
Author: Kamil Marczak
Latest version: 1.0.1

# @qamarq/next-view-transitions

Original Repo: [next-view-transition](https://github.com/shuding/next-view-transitions)
My change: `useRedirect` hook allows manually push new directory to router.

Use [View Transitions API](https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API) in Next.js App Router.

[**Demo**](https://next-view-transitions.vercel.app).

## Disclaimer

This library is aimed at basic use cases of View Transitions and Next.js App Router. With more complex applications and use cases like concurrent rendering, Suspense and streaming, new primitives and APIs still need to be developed into the core of React and Next.js in the future ([more](https://twitter.com/shuding_/status/1779583281920344448)).

## Installation

Use your favorite package manager to install the `next-view-transitions` package. For example:

```bash
pnpm install @qamarq/next-view-transitions
```

## Usage

Wrap your content with the `<ViewTransitions>` component inside the layout file:

```jsx
import { ViewTransitions } from '@qamarq/next-view-transitions'

export default function Layout({ children }) {
  return (
    <ViewTransitions>
      <html lang='en'>
        <body>
          {children}
        </body>
      </html>
    </ViewTransitions>
  )
}
```

Then, use the `<Link>` component for links that need to trigger a view transition:

```jsx
import { Link } from '@qamarq/next-view-transitions'

export default function Component() {
  return (
    <div>
      <Link href='/about'>Go to /about</Link>
    </div>
  )
}
```

## My feature

You can use `useRedirect` hook to manually trigger router push:

```jsx
import { useRedirect } from '@qamarq/next-view-transitions'

export default function Component() {
  const redirect = useRedirect()

  const handleClick = () => {
    redirect('https://example/com')
  }
  return (
    <button onClick={handleClick}>
      Click me!
    </button>
  )
}
```

`redirect` has options:

 - url: string
 - replace: boolean (optional)
 - scroll: boolean (optional)

## Thanks
Many thanks to [shuding](https://github.com/shuding). Amazing work!

## License

MIT.
npm package: @qantas-assure/logger
Description: A logger for Node
Author: Qantas Loyalty
Latest version: 1.0.1

# Logger by [<img src="/qantas-assure-logo.png" alt="Qantas Loyalty" width="250"/>](https://qantasassure.com)

A lightweight logger for node servers or client side dev.

## Why use this package?

It enables meaningful and granular logging for serverside JS

e.g.

```
[logic:fetchCmsData] cms cache miss: cmsData
[logic:fetchCmsData] successfully saved cms cache cmsData
[logic:fetchCmsData] cms cache hit: cmsData
[server] cache reset
[logic:fetchCmsData] successfully saved cms cache cmsData
```

It also has [sentry.io](https://sentry.io) logging built in. 

## Getting started

`npm install @qantas-assure/logger --save`

OR 

`yarn add @qantas-assure/logger`

## Usage

```javascript
import Logger from '@qantas-assure/logger';

const options = {
	logLevel: 'info', // one of 'log', 'info', 'warn', 'error'
    appEnv: 'development', // process.env.NODE_ENV
    sentryEnabled: false, // if you're using sentry, enable logging with raven-js - https://docs.sentry.io/clients/javascript/
};
const log = new Logger('Component Name', options);
```
npm package: @qantas94heavy/ref-union-di
Description: Create ABI-compliant "union" instances on top of Buffers
Author: Karl Cheng
Latest version: 1.0.1

ref-union-di
============
### Create ABI-compliant "[union][]" instances on top of Buffers

[![NPM Version](https://img.shields.io/npm/v/ref-union-di.svg?style=flat)](https://npmjs.org/package/ref-union-di)
[![NPM Downloads](https://img.shields.io/npm/dm/ref-union-di.svg?style=flat)](https://npmjs.org/package/ref-union-di)
[![Build Status](https://travis-ci.org/node-ffi-napi/ref-union-di.svg?style=flat&branch=latest)](https://travis-ci.org/node-ffi-napi/ref-union-di?branch=latest)
[![Coverage Status](https://coveralls.io/repos/node-ffi-napi/ref-union-di/badge.svg?branch=latest)](https://coveralls.io/r/node-ffi-napi/ref-union-di?branch=latest)
[![Dependency Status](https://david-dm.org/node-ffi-napi/ref-union-di.svg?style=flat)](https://david-dm.org/node-ffi-napi/ref-union-di)

**Note**: The only difference to `ref-union` is that this module takes its
dependency on `ref` via dependency injection, so that it is easier to use
e.g. `ref-napi` instead.

Installation
------------

Install with `npm`:

``` bash
$ npm install ref-union-di
```


Examples
--------

``` js
var ref = require('ref')
var Union = require('ref-union-di')(ref)

// a couple typedefs
var int = ref.types.int
var float = ref.types.float
var string = ref.types.CString

// define a Union type with 3 data fields
var u_tag = new Union({
    ival: int
  , fval: float
  , sval: string
})

// the size of the union matches the largest data type in the union type
u_tag.size === string.size

// and you can create new instances of the union type
var tag = new u_tag
tag.ival = 5
```


License
-------

(The MIT License)

Copyright (c) 2012 Nathan Rajlich &lt;nathan@tootallnate.net&gt;

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


[union]: http://wikipedia.org/wiki/Union_(computer_science)
npm package: @qantasairways/runway
Description: Qantas Style Guide
Latest version: 0.54.0

<p align="center">
 <img src="https://avatars2.githubusercontent.com/u/46743732?s=200&v=4" alt="Qantas Runway"></a>
</p>

<h3 align="center">Qantas Runway</h3>

<div align="center">

  [![CircleCI](https://circleci.com/gh/qantasairways/runway.svg?style=svg)](https://circleci.com/gh/qantasairways/runway)
  [![GitHub Issues](https://img.shields.io/github/issues/qantasairways/runway.svg)](https://github.com/qantasairways/runway/issues)
  [![GitHub Pull Requests](https://img.shields.io/github/issues-pr/qantasairways/runway.svg)](https://github.com/qantasairways/runway/pulls)
  [![NPM](https://img.shields.io/npm/l/@qantasairways/runway.svg)]()
  [![npm](https://img.shields.io/npm/dw/@qantasairways/runway.svg)](https://www.npmjs.com/package/@qantasairways/runway)
  [![npm (tag)](https://img.shields.io/npm/v/@qantasairways/runway/latest.svg)](https://www.npmjs.com/package/@qantasairways/runway)

</div>

---

<p align = "center">💅 Runway, Qantas' living, breathing style guide. Powered by React and Emotion built to be extendable,
flexible and accessible components.</p>

> [Demo](https://desolate-ravine-84627.herokuapp.com)

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)


## Installation <a name = "installation"></a>

This module is distributed via [npm](https://www.npmjs.com) which is bundled with [node](https://nodejs.org) and
should be installed as one of your project's `dependencies`:

```
npm install --save @qantasairways/runway
```

> This package depends on `emotion`, `react`, `prop-types`. The project supports aliasing `preact`, which
> is how we use runway at Qantas.

## Usage <a name="usage"></a>

> [Try it out in the browser](https://codesandbox.io/s/09rw5)

```jsx
import React from "react";
import { render } from "react-dom";
import { Button } from "@qantasairways/runway";

render(<Button label="Click me" />, document.getElementById("root"));
```

## Contributing <a name="contributing"></a>

Please read our contributing guidelines <a href="https://github.com/qantasairways/runway/blob/master/CONTRIBUTING.md">here</a>.

## License <a name="license"></a>

MIT
npm package: @qapm/react-native-qapm
Description: TODO
Author: elysiaEgo
Latest version: 0.1.8

# QAPM React Native SDK 集成

## 自动集成
1. 安装
```bash
yarn add @qapm/react-native-qapm --save
```

更多详情请参考[接入文档](https://cloud.tencent.com/document/product/248/87238)