open-index/open-npm huggingface dataset:
npm package: @fjsolutions/adonis-mongoose
Description: A Mongoose provider for AdonisJS 5
Author: Francis Judge
Latest version: 2.0.1
Deprecated: This package is no longer supported. If you want to use it of fix bugs please fork it, or offer to take over the project.

# adonis-mongoose

An `AdonisJS` 5 provider for `Mongoose`.

* [AdonisJS](https://github.com/adonisjs)
* [Mongoose](https://github.com/Automattic/mongoose)

```sh
npm install @fjsolutions/adonis-mongoose --save
```

After installation completes run the following to setup the package in the project:

```sh
node ace invoke @fjsolutions/adonis-mongoose
```

## Configuration file

 A skeleton configuration file is created by the package. It contains a configuration array with a single bare-bones configuration instance.

 Each configuration has a name attribute. If there is a single configuration and the name is not supplied then it is set to 'Default'. But if there are multiple configurations in the array one must be named 'Default' and is set as the initial connection instance.

 The provider initializes each of the connections with its configuration as part of its boot sequence, so if any of the configurations contain errors or the host cannot be reached it will be detected early.

 ### The AdonisMongoose instance

 The `AdonisMongoose` instance returned from importing `@ioc:Providers/Mongoose` is a singleton, and has two methods:

 * `model()` for creating `Mongoose` models.
 * `use()` which returns the named `Mongoose` connection.

All other interaction with `MongoDB` is done through the Model.

## Features

The module provides `Mongoose` based models. It contains:

* A provider to boot `Mongoose` and add it to the IOC container (`@ioc:Providers/Mongoose`).
* A `mongoose:model` command for generating `Mongoose` models in `Adonis`.
* `exists` and `unique` validation rules.
* A strongly typed configuration system that can configure multiple Mongoose connections.
* Contracts for intellisense with `@ioc:Providers/Mongoose` and `@ioc:Adonis/Core/Validator`.

## Classes

* `src/Providers/MongooseProvider.ts` - The mongoose provider for AdonisJS 5
* `src/validation/index.ts` - The file that contains the database validators: `exists` and `unique` (they are registered by the provider).
* `templates/validator.ts.mustache` - (Template) The interface for the extended database validators.
* `templates/mongoose.ts.mustache` - (Template) The interface for the MongooseProvider returned from the `ioc` container.
* `templates/database.ts.mustache` - (Template) The MongoDB database configuration file.
* `commands/MongooseModel.ts` - The `ace` command for creating Mongoose models.
    + `commands/templates/model-template.mustache` - The `mustache` template files.

## TODO Still:

* `src/commands/Seeder.ts` - Create a `mongoose` seeder class to populate the database.
* `src/commands/Seed.ts` - Create a class that runs the seeders from the seeder folder.
npm package: @fjtjg/koa-router
Description: Router middleware for koa. Provides RESTful resource routing.
Author: Alex Mingoia
Latest version: 10.1.1

# [@koa/router](https://github.com/koajs/router)

> Router middleware for [Koa](https://github.com/koajs/koa).

[![NPM version](https://img.shields.io/npm/v/@koa/router.svg?style=flat)](https://npmjs.org/package/@koa/router) 
[![NPM Downloads](https://img.shields.io/npm/dm/@koa/router.svg?style=flat)](https://npmjs.org/package/@koa/router) 
[![Node.js Version](https://img.shields.io/node/v/@koa/router.svg?style=flat)](http://nodejs.org/download/)
[![Build Status](https://img.shields.io/travis/koajs/router.svg?style=flat)](http://travis-ci.org/koajs/router)
[![gitter](https://img.shields.io/gitter/room/koajs/koa.svg?style=flat)](https://gitter.im/koajs/koa)

* Express-style routing (`app.get`, `app.put`, `app.post`, etc.)
* Named URL parameters
* Named routes with URL generation
* Responds to `OPTIONS` requests with allowed methods
* Support for `405 Method Not Allowed` and `501 Not Implemented`
* Multiple route middleware
* Multiple and nestable routers
* `async/await` support

## Migrating to 7 / Koa 2

- The API has changed to match the new promise-based middleware
  signature of koa 2. See the [koa 2.x readme](https://github.com/koajs/koa/tree/2.0.0-alpha.3) for more
  information.
- Middleware is now always run in the order declared by `.use()` (or `.get()`,
  etc.), which matches Express 4 API.

## Installation

```bash
# npm .. 
npm i @koa/router
# yarn .. 
yarn add @koa/router
```

To install types:

```bash
# npm .. 
npm i @types/koa__router
# yarn .. 
yarn add @types/koa__router
```

## [API Reference](./API.md)

## Contributing

Please submit all issues and pull requests to the [koajs/router](http://github.com/koajs/router) repository!

## Support

If you have any problem or suggestion please open an issue [here](https://github.com/koajs/router/issues).

## Call for Maintainers

This module is forked from the original [koa-router](https://github.com/ZijianHe/koa-router) due to its lack of activity. `koa-router` is the most widely used router module in the Koa community and we need maintainers. If you're interested in fixing bugs or implementing new features feel free to open a pull request. We'll be adding active contributors as collaborators.

Thanks to the original authors @alexmingoia and the original team for their great work.

### License

[MIT](LICENSE)
npm package: @fjukic/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 1.0.14

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @fjw/audiovisualizer
Description: a small tool to render spectograms (waterfall graphs) or waveforms from audio in your browser
Author: Frederic Worm
Latest version: 1.0.1

# audiovisualizer

a small tool to render spectrograms (waterfall graphs) or waveforms from audio in your browser

![audio visuals](examples/screenshot.png "audio visuals")

[Demo 1 (standard config using microphone)](https://toolset.io/audiovisualizer/examples/waveandwater.html)

[Demo 2 (showing different config possibilities with audio tracks)](https://toolset.io/audiovisualizer/examples/customized.html)

### npm

```npm install @fjw/audiovisualizer```

### Getting started

Initialise the AudioVisualizer object:

```new AudioVisualizer({options});```

### Example
```js
new AudioVisualizer({ // no src, uses the microphone
    v: [
        {
            type: "spectrum",
            container: "#myspectrum"
        },

        {
            type: "waveform",
            container: "#mywaveform"
        }
    ]
});
```

### required options

- ```v``` an array of visualizations, each with individual options
- ```v.type``` the type of the visualization, possible values are ```waveform``` and ```spectrum```
- ```v.container``` the css selector of the container (HTMLElement) where the canvas gets rendered in,
if the container is resized, the canvas will be resized, too.

### optional options

- ```src``` URL of audio file/stream. skip to use microphone as source
- ```muted``` start muted or with hearable audio (default: true)
- ```analyser``` object with additional options for the analyser (see [AnalyserNode (Mozilla Docs)](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/AnalyserNode))
for example ```analyser.fftSize: 4096``` increases the resolution (standard is 2048) 

- ```v.background``` background color

#### waveform only
- ```v.lineWidth``` width of the line
- ```v.strokeStyle``` strokeStyle (color) of the line

#### spectrum only
- ```v.rowsPerSec``` speed of the waterfall
- ```v.colortheme``` array of colors for the gradients (see [examples](./examples/customized.js))

### methods

- ```mute()``` mutes the audio
- ```unmute()``` unmutes the audio
- ```setSource(url)``` sets a new audiosource (false/null/undefined = microphone)
npm package: @fka/prettier-config
Description: The prettier configuration of the FKA team.
Author: hurole
Latest version: 1.0.2

# @fka/prettier-config

> FKA team's prettier configuration

## Usage

**install:**

```bash
npm install @fka/prettier-config -D
```

```bash
pnpm install @fka/prettier-config -D
```

```bash
yarn add @fka/prettier-config -D
```

**Edit `package.json`:**

```json
{
  // ...
  "prettier": "@fka/prettier-config"
}
```

**Extend `@fka/prettier-config`**

```js
// Edit .prettierrc.js
module.exports = {
  ...require('@fka/prettier-config'),
  // Your config
  semi: false,
};
```
npm package: @fka/react-native-size
Description: A tool that can convert design draft dimensions into DP (density-independent pixels) units used in React Native.
Latest version: 0.1.2

# react-native-size

A tool that can convert design draft dimensions into DP (density-independent pixels) units used in React Native.

## Installation

```bash
npm install @fka/react-native-size
```

## Usage

Import and instantiate the object

```js
import RNSize from '@fka/react-native-size';

// 375 is the device width of the design draft
export const rnSize = new RNSize(375);

...

const styles = StyleSheet.create({
  container: {
    width: rnSize.scaleSize(200),
    height: rnSize.scaleSize(200),
    justifyContent: 'center',
    alignItems: 'center',
  },
  title: {
    fontWeight: 'bold',
    color: 'red',
    // font size use scaleFont
    fontSize: rnSize.scaleFont(20),
  }
});
```
npm package: @fka/react-native-video-player
Description: A <VideoPlayer /> component for React Native with controls
Author: Kamil
Latest version: 0.16.4

# react-native-video-player

🎥 `<VideoPlayer />` component for React Native with a few controls. This player uses [react-native-video](https://github.com/TheWidlarzGroup/react-native-video) under the hood

<div align="center">
  <video src="https://github.com/user-attachments/assets/e7e45760-54d0-403e-94bf-2a02ee49a9ee">
    Demo video
  </video>
</div>

## Documentation
documentation is available at [docs.thewidlarzgroup.com/react-native-video-player/](https://docs.thewidlarzgroup.com/react-native-video-player/)

## Installation

```
yarn add react-native-video-player react-native-video
```

or
```
npm install --save react-native-video-player react-native-video
```

Then, install pods
```
cd ios
pod install
```

## Example

```tsx
  import VideoPlayer, { type VideoPlayerRef } from 'react-native-video-player';

  const playerRef = useRef<VideoPlayerRef>(null);

  <VideoPlayer
    ref={playerRef}
    endWithThumbnail
    thumbnail={{
      uri: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg',
    }}
    source={{
      uri: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
    }}
    onError={(e) => console.log(e)}
    showDuration={true}
  />
```

## Future features

Check out our [Roadmap](https://github.com/TheWidlarzGroup/react-native-video-player/discussions/186) for what's coming up next! We're always working on new features and improvements, so stay tuned!

## Community support
We have a discord server where you can ask questions and get help. [Join the discord server](https://discord.gg/WXuM4Tgb9X)

## Enterprise Support
<p>
  📱 <i>react-native-video-player</i> is provided <i>as it is</i>. For enterprise support or other business inquiries, <a href="https://www.thewidlarzgroup.com/?utm_source=rnvp&utm_medium=readme#Contact">please contact us 🤝</a>. We can help you with the integration, customization and maintenance. We are providing both free and commercial support for this project. let's build something awesome together! 🚀
</p>
<a href="https://www.thewidlarzgroup.com/?utm_source=rnvp&utm_medium=readme">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="./docs/static/img/banners/twg-dark.png" />
    <source media="(prefers-color-scheme: light)" srcset="./docs/static/img/banners/twg-light.png" />
    <img alt="TheWidlarzGroup" src="./docs/static/img/banners/twg-light.png" />
  </picture>
</a>