# authbox.configschemacommon

> Common config schema components of AuthBox

Latest version **1.0.0** (published 2019-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install authbox.configschemacommon
pnpm add authbox.configschemacommon
yarn add authbox.configschemacommon
bun add authbox.configschemacommon
```

## 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.0.0 |
| Published | 2019-11-27 |
| First published | 2019-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 58.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | floyd_at_hampton |

## Links

- npm: https://www.npmjs.com/package/authbox.configschemacommon
- Repository: https://github.com/hampton-io/AuthBox.ConfigSchemaCommon
- Homepage: https://github.com/hampton-io/AuthBox.ConfigSchemaCommon#readme
- Issues: https://github.com/hampton-io/AuthBox.ConfigSchemaCommon/issues
- npm.io page: https://npm.io/package/authbox.configschemacommon

## Dependencies (1)

- [simpl-schema](https://npm.io/package/simpl-schema.md) ^1.5.6

## Recent versions

- 1.0.0 (latest) — 2019-11-27

## README

# AuthBox.ConfigSchemaCommon

Common config schema components of AuthBox

# Available schemas

1. agentKeepAlive - Keep alive settings for HTTP(S) connections
2. apiClient - For consumer of internal apis
3. apiServerAuth - Auth settings for api servers
4. hostingEnvironment - Environment settings for service
5. loggerSettings - Settings for logging
6. sequelizeConnection - Settings for sequelize connection

`patterns` is also exposed, which includes various common regex patterns

# Usage
```
const common = require('authbox.configschemacommon');
const SimpleSchema = require('simpl-schema').default;

const schema = new SimpleSchema({
  loggerSettings: common.schemas.loggerSettings,
  hostingEnvironment: common.schemas.hostingEnvironment,
  directories: common.schemas.apiClient,
  cache: {
    database: common.schemas.sequelizeConnection,
  },
  redirect: {
    url: common.patterns.url,
  },
});
```

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