# provider-manager

> A management tool for managing providers

Latest version **1.1.0** (published 2021-09-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install provider-manager
pnpm add provider-manager
yarn add provider-manager
bun add provider-manager
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2021-09-05 |
| First published | 2021-09-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sajjad Anghooty |
| Maintainers | anghootys |
| Keywords | provider_manager, provider, manager, providerManagement, anghootys, npm |

## Links

- npm: https://www.npmjs.com/package/provider-manager
- Repository: https://github.com/anghootys/provider-manager
- Homepage: https://github.com/anghootys/provider-manager#readme
- Issues: https://github.com/anghootys/provider-manager/issues
- npm.io page: https://npm.io/package/provider-manager

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2021-09-05
- 1.0.0 — 2021-09-04

## README

# Provider Manager
[![View Project Package On NPM](https://img.shields.io/badge/npm-package-cc3534)](https://www.npmjs.com/package/provider-manager)


A tool for managing node js module providers such as [QueueProvider](https://github.com/anghootys/queue-provider).

It is not completed yet. Many providers will be created as soon as possible, but with that, I will continue this project and add more features to it. On the other hand, I invite you to help me in this goal and send your suggestions to me, either through github or via email.

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Maintainers](#maintainers)
- [Contributing](#contributing)
- [License](#license)

## Install
for installation, you can use this command:

```sh
$ npm install provider-manager
```

## Usage

Just import this module to your application project in one of the following ways :

```js
// if using webpack
import {ProviderManager, ProviderManagerOptions} from "provider-manager";

// if using pure nodejs
var {ProviderManager, ProviderManagerOptions} = require("provider-manager");
```

Then you should create an instance of ``ProviderManager`` class :

```js
var providerManager = new ProviderManager({
    config: new ProviderManagerOptions(options)
})
```

the ``options`` property that passed to the ``ProviderManagerOptions`` class constructor is an object of configurations that shown below :

```js
var options = {
    // 'providers' is a list of providers that you want to load
    // in your application project.
    providers: {
        provider_a: ProviderAClass,
        provider_b: ProviderBClass,
        ...
    },
    ignoreErrors: true // no error is displayed when it is true
}
```

That's it :)

## Maintainers
[@anghootys](https://github.com/anghootys)

## Contributing

Feel free to improve it! [Open an issue](https://github.com/anghootys/provider-manager/issues/new) or submit PRs.

## License
ISC © Sajjad Anghooty

---
_Source: https://npm.io/package/provider-manager · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
